函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pfn_t.h Create Date:2022-07-27 16:05:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__pfn_to_pfn_t

函数原型:static inline pfn_t __pfn_to_pfn_t(unsigned long pfn, u64 flags)

返回类型:pfn_t

参数:

类型参数名称
unsigned longpfn
u64flags
31  pfn_t pfn_t = {val = pfn | (flags & PFN_FLAGS_MASK - mask of all the possible valid pfn_t flags* PFN_SG_CHAIN - pfn is a pointer to the next scatterlist entry* PFN_SG_LAST - pfn references a page and is the last scatterlist entry* PFN_DEV - pfn is not covered by system memmap by default* ), }
33  返回:pfn_t
调用者
名称描述
vmf_insert_pfn_protvmf_insert_pfn_prot - insert single pfn into user vma with specified pgprot*@vma: user vma to map to*@addr: target user address of this page*@pfn: source kernel pfn*@pgprot: pgprot flags for the inserted page* This is exactly like vmf_insert_pfn(), except
pfn_to_pfn_ta default pfn to pfn_t conversion assumes that @pfn is pfn_valid()
phys_to_pfn_t