函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:page_anon_vma

函数原型:struct anon_vma *page_anon_vma(struct page *page)

返回类型:struct anon_vma

参数:

类型参数名称
struct page *page
651  page等于compound_head(page)
652  mapping等于 See page-flags.h for PAGE_MAPPING_FLAGS
653  如果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则返回:NULL
655  返回:__page_rmapping(page)
调用者
名称描述
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