函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rmap_walk_anon_lock

函数原型:static struct anon_vma *rmap_walk_anon_lock(struct page *page, struct rmap_walk_control *rwc)

返回类型:struct anon_vma

参数:

类型参数名称
struct page *page
struct rmap_walk_control *rwc
1806  如果 for getting anon_lock by optimized way rather than default则返回: for getting anon_lock by optimized way rather than default(page)
1815  anon_vma等于page_anon_vma(page)
1816  如果非anon_vma则返回:NULL
1819  anon_vma_lock_read(anon_vma)
1820  返回:anon_vma
调用者
名称描述
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