Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\pfn_t.h Create Date:2022-07-28 14:38:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__pfn_to_pfn_t

Proto:static inline pfn_t __pfn_to_pfn_t(unsigned long pfn, u64 flags)

Type:pfn_t

Parameter:

TypeParameterName
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  Return pfn_t
Caller
NameDescribe
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