Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\cacheflush.h Create Date:2022-07-28 05:44:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:flush_cache_page

Proto:static inline void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longvmaddr
unsigned longpfn

NULL

Caller
NameDescribe
__replace_page__replace_page - replace page in vma by new page
wp_page_reuseHandle write page faults for pages that can be reused in the current vma* This can happen either due to the mapping being with the VM_SHARED flag,* or due to us being the last reference standing to the page
wp_page_copyHandle the case of a page which we actually need to copy to a new page.* Called with mmap_sem locked and the old page referenced, but* without the ptl held.* High level logic flow:* - Allocate a page, copy the content of the old page to the new one.
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
flush_arg_page
dax_entry_mkcleanWalk all mappings of a given index of a file and writeprotect them