函数逻辑报告 |
Source Code:fs\dax.c |
Create Date:2022-07-29 10:56:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:TODO: for reflink+dax we need a way to associate a single page with* multiple address_space instances at different linear_page_index()* offsets.
函数原型:static void dax_associate_entry(void *entry, struct address_space *mapping, struct vm_area_struct *vma, unsigned long address)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | entry | |
struct address_space * | mapping | |
struct vm_area_struct * | vma | |
unsigned long | address |
334 | size等于dax_entry_size(entry) |
335 | i等于0 |
337 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_FS_DAX_LIMITED)则返回 |
340 | index等于linear_page_index(vma, address & ~(size - 1)) |
342 | page等于pfn_to_page(pfn) |
346 | Our offset within mapping. 等于index加i自加 |
名称 | 描述 |
---|---|
dax_insert_entry | By this point grab_mapping_entry() has ensured that we have a locked entry* of the appropriate size so we don't have to worry about downgrading PMDs to* PTEs |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |