Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\util.c Create Date:2022-07-28 14:21:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:page_anon_vma

Proto:struct anon_vma *page_anon_vma(struct page *page)

Type:struct anon_vma

Parameter:

TypeParameterName
struct page *page
651  page = compound_head(page)
652  mapping = See page-flags.h for PAGE_MAPPING_FLAGS
653  If (mapping & PAGE_MAPPING_FLAGS) != On an anonymous page mapped into a user virtual memory area,* page->mapping points to its anon_vma, not to a struct address_space;* with the PAGE_MAPPING_ANON bit set to distinguish it Then Return NULL
655  Return __page_rmapping(page)
Caller
NameDescribe
page_address_in_vmaAt what user virtual address is page expected in vma?* Caller should check the page is actually part of the vma.
__page_check_anon_rmap__page_check_anon_rmap - sanity check anonymous rmap addition*@page: the page to add the mapping to*@vma: the vm area in which the mapping is added*@address: the user virtual address mapped
rmap_walk_anon_lock
rmap_walk_anonmap_walk_anon - do something to anonymous page using the object-based* rmap method*@page: the page to be handled*@rwc: control variable according to each walk type* Find all the mappings of a page using the mapping pointer and the vma chains
ksm_might_need_to_copy