Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hmm.c Create Date:2022-07-28 16:37:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pmd_to_hmm_pfn_flags

Proto:static inline uint64_t pmd_to_hmm_pfn_flags(struct hmm_range *range, pmd_t pmd)

Type:uint64_t

Parameter:

TypeParameterName
struct hmm_range *range
pmd_tpmd
207  If pmd_protnone(pmd) Then Return 0
209  Return If pmd_write(pmd) Then flags[ pfn is valid. It has, at least, read permission.] | flags[ CPU page table has write permission set] Else flags[ pfn is valid. It has, at least, read permission.]
Caller
NameDescribe
hmm_vma_handle_pmd