函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:is_cow_mapping

函数原型:static inline bool is_cow_mapping(vm_flags_t flags)

返回类型:bool

参数:

类型参数名称
vm_flags_tflags
260  返回:flags按位与VM_SHARED按位或VM_MAYWRITE的值的值恒等于VM_MAYWRITE
调用者
名称描述
check_vma_flags
vm_normal_pagevm_normal_page -- This function gets the "struct page" associated with a pte.* "Special" mappings do not wish to be associated with a "struct page" (either* it doesn't exist, or it exists but they don't want to touch it). In this
vm_normal_page_pmd
copy_one_ptepy one vm_area from one task to the other. Assumes the page tables* already present in the new task to be cleared in the whole range* covered by this vma.
copy_page_range
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
remap_pfn_rangemap_pfn_range - remap kernel memory to userspace*@vma: user vma to map to*@addr: target user address to start at*@pfn: physical address of kernel memory*@size: size of map area*@prot: page protection flags for this mapping
change_pte_range
vmf_insert_pfn_pmd