函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hmm.c Create Date:2022-07-27 18:12:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pmd_to_hmm_pfn_flags

函数原型:static inline uint64_t pmd_to_hmm_pfn_flags(struct hmm_range *range, pmd_t pmd)

返回类型:uint64_t

参数:

类型参数名称
struct hmm_range *range
pmd_tpmd
207  如果pmd_protnone(pmd)则返回:0
209  返回:如果pmd_write(pmd)则flags[ pfn is valid. It has, at least, read permission.]按位或flags[ CPU page table has write permission set]否则flags[ pfn is valid. It has, at least, read permission.]
调用者
名称描述
hmm_vma_handle_pmd