Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:dax_disassociate_entry

Proto:static void dax_disassociate_entry(void *entry, struct address_space *mapping, bool trunc)

Type:void

Parameter:

TypeParameterName
void *entry
struct address_space *mapping
booltrunc
355  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
359  page = pfn_to_page(pfn)
361  WARN_ON_ONCE(trunc && page_ref_count(page) > 1)
362  WARN_ON_ONCE( See page-flags.h for PAGE_MAPPING_FLAGS && See page-flags.h for PAGE_MAPPING_FLAGS != mapping)
363  See page-flags.h for PAGE_MAPPING_FLAGS = NULL
364  Our offset within mapping. = 0
Caller
NameDescribe
grab_mapping_entryFind 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_invalidate_entry
dax_insert_entryBy 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