Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dax.c Create Date:2022-07-28 20:23:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:The user has performed a load from a hole in the file

Proto:static vm_fault_t dax_load_hole(struct xa_state *xas, struct address_space *mapping, void **entry, struct vm_fault *vmf)

Type:vm_fault_t

Parameter:

TypeParameterName
struct xa_state *xas
struct address_space *mapping
void **entry
struct vm_fault *vmf
1034  inode = host
1035  vaddr = address
1036  pfn = a default pfn to pfn_t conversion assumes that @pfn is pfn_valid()
1039  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
1042  ret = vmf_insert_mixed(vma, vaddr, pfn)
1043  trace_dax_load_hole(inode, vmf, ret)
1044  Return ret
Caller
NameDescribe
dax_iomap_pte_fault