函数逻辑报告 |
Source Code:fs\dax.c |
Create Date:2022-07-29 10:56:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct page *dax_layout_busy_page(struct address_space *mapping)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct address_space * | mapping |
580 | scanned等于0 |
586 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_FS_DAX_LIMITED)则返回:NULL |
589 | 如果非dax_mapping(mapping)或非Might pages of this file be mapped into userspace?则返回:NULL |
606 | xas_lock_irq( & xas) |
608 | 如果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.)则继续下一循环 |
612 | 如果entry则page等于dax_busy_page(entry) |
614 | put_unlocked_entry( & xas, entry) |
617 | 如果scanned先自加取模XA_CHECK_SCHED则继续下一循环 |
621 | xas_unlock_irq( & xas) |
622 | cond_resched() |
623 | xas_lock_irq( & xas) |
625 | xas_unlock_irq( & xas) |
626 | 返回:page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |