Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rmap_walk_anon_lock

Proto:static struct anon_vma *rmap_walk_anon_lock(struct page *page, struct rmap_walk_control *rwc)

Type:struct anon_vma

Parameter:

TypeParameterName
struct page *page
struct rmap_walk_control *rwc
1806  If for getting anon_lock by optimized way rather than default Then Return for getting anon_lock by optimized way rather than default(page)
1815  anon_vma = page_anon_vma(page)
1816  If Not anon_vma Then Return NULL
1819  anon_vma_lock_read(anon_vma)
1820  Return anon_vma
Caller
NameDescribe
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