Function report |
Source Code:fs\dax.c |
Create Date:2022-07-28 20:23:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dax_layout_busy_page - find first pinned page in @mapping*@mapping: address space to scan for a page with ref count > 1* DAX requires ZONE_DEVICE mapped pages. These pages are never* 'onlined' to the page allocator so they are considered idle when
Proto:struct page *dax_layout_busy_page(struct address_space *mapping)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct address_space * | mapping |
| 580 | scanned = 0 |
| 586 | If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_FS_DAX_LIMITED) Then Return NULL |
| 589 | If Not dax_mapping(mapping) || Not Might pages of this file be mapped into userspace? Then Return NULL |
| 606 | xas_lock_irq( & xas) |
| 608 | If WARN_ON_ONCE(!xa_is_value() - Determine if an entry is a value.*@entry: XArray entry.* Context: Any context.* Return: True if the entry is a value, false if it is a pointer.) Then Continue |
| 612 | If entry Then page = dax_busy_page(entry) |
| 614 | put_unlocked_entry( & xas, entry) |
| 615 | If page Then Break |
| 617 | If ++scanned % XA_CHECK_SCHED Then Continue |
| 621 | xas_unlock_irq( & xas) |
| 622 | cond_resched() |
| 623 | xas_lock_irq( & xas) |
| 625 | xas_unlock_irq( & xas) |
| 626 | Return page |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |