函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pte_to_hmm_pfn_flags

函数原型:static inline uint64_t pte_to_hmm_pfn_flags(struct hmm_range *range, pte_t pte)

返回类型:uint64_t

参数:

类型参数名称
struct hmm_range *range
pte_tpte
257  如果pte_none(pte)或非pte_present(pte)或Technically a PTE can be PROTNONE even when not doing NUMA balancing but* the only case the kernel cares is for NUMA balancing and is only ever set* when the VMA is accessible. For PROT_NONE VMAs, the PTEs are not marked则返回:0
259  返回:如果pte_write(pte)则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_pte
hmm_vma_walk_hugetlb_entry