函数逻辑报告 |
Source Code:fs\dax.c |
Create Date:2022-07-29 10:56:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Look up entry in page cache, wait for it to become unlocked if it* is a DAX entry and return it. The caller must subsequently call* put_unlocked_entry() if it did not lock the entry or dax_unlock_entry()* if it did
函数原型:static void *get_unlocked_entry(struct xa_state *xas, unsigned int order)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xa_state * | xas | |
unsigned int | order |
221 | 循环 |
223 | 如果非entry或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.)则返回:entry |
225 | 如果dax_entry_order(entry)小于order则返回:XA_RETRY_ENTRY |
227 | 如果非dax_is_locked(entry)则返回:entry |
230 | wq等于dax_entry_waitqueue(xas, entry, & key) |
231 | prepare_to_wait_exclusive(wq, & wait, 深度睡眠态) |
233 | xas_unlock_irq(xas) |
235 | 进程调度 |
237 | xas_lock_irq(xas) |
名称 | 描述 |
---|---|
grab_mapping_entry | Find page cache entry at given index. If it is a DAX entry, return it* with the entry locked. If the page cache doesn't contain an entry at* that index, add a locked empty entry.* When requesting an entry with size DAX_PMD, grab_mapping_entry() will |
dax_layout_busy_page | 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 |
__dax_invalidate_entry | |
dax_writeback_one | |
dax_insert_pfn_mkwrite | dax_insert_pfn_mkwrite - insert PTE or PMD entry into page tables*@vmf: The description of the fault*@pfn: PFN to insert*@order: Order of entry to insert.* This function inserts a writeable PTE or PMD entry into the page tables* for an mmaped DAX file |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |