Function report |
Source Code:fs\dax.c |
Create Date:2022-07-28 20:23:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:TODO: for reflink+dax we need a way to associate a single page with* multiple address_space instances at different linear_page_index()* offsets.
Proto:static void dax_associate_entry(void *entry, struct address_space *mapping, struct vm_area_struct *vma, unsigned long address)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | entry | |
| struct address_space * | mapping | |
| struct vm_area_struct * | vma | |
| unsigned long | address |
| 334 | size = dax_entry_size(entry) |
| 335 | i = 0 |
| 337 | 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 |
| 340 | index = linear_page_index(vma, address & ~(size - 1)) |
| 342 | page = pfn_to_page(pfn) |
| 346 | Our offset within mapping. = index + i++ |
| Name | Describe |
|---|---|
| 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 |
| 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 |