函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ptep_clear_flush

函数原型:pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, pte_t *ptep)

返回类型:pte_t

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longaddress
pte_t *ptep
93  mm等于The address space we belong to.
95  pte等于ptep_get_and_clear(mm, address, ptep)
96  如果pte_accessible(mm, pte)则flush_tlb_page(vma, address)
98  返回:pte
调用者
名称描述
page_mkclean_one
try_to_unmap_one@arg: enum ttu_flags will be passed to this argument
write_protect_page
replace_pageplace_page - replace page in vma by new ksm page*@vma: vma that holds the pte pointing to page*@page: the page we are replacing by kpage*@kpage: the ksm page we replace page by*@orig_pte: the original value of the pte
huge_ptep_clear_flush
dax_entry_mkcleanWalk all mappings of a given index of a file and writeprotect them