Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pgoff_address

Proto:static inline unsigned long pgoff_address(unsigned long pgoff, struct vm_area_struct *vma)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longpgoff
struct vm_area_struct *vma
770  address = Our start address within vm_mm. + ( pgoff - Offset (within vm_file) in PAGE_SIZEunits << PAGE_SHIFT determines the page size )
771  VM_BUG_ON_VMA(address < Our start address within vm_mm. || address >= The first byte after our end addresswithin vm_mm. , vma)
772  Return address
Caller
NameDescribe
dax_entry_mkcleanWalk all mappings of a given index of a file and writeprotect them