函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\dax.c Create Date:2022-07-29 10:56:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pgoff_address

函数原型:static inline unsigned long pgoff_address(unsigned long pgoff, struct vm_area_struct *vma)

返回类型:unsigned long

参数:

类型参数名称
unsigned longpgoff
struct vm_area_struct *vma
770  address等于Our start address within vm_mm. pgoffOffset (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  返回:address
调用者
名称描述
dax_entry_mkcleanWalk all mappings of a given index of a file and writeprotect them