函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Decide whether we really walk over the current vma on [@start, @end)* or skip it via the returned value. Return 0 if we do walk over the* current vma, and return 1 if we skip the vma. Negative values means* error, where we abort the current walk.

函数原型:static int walk_page_test(unsigned long start, unsigned long end, struct mm_walk *walk)

返回类型:int

参数:

类型参数名称
unsigned longstart
unsigned longend
struct mm_walk *walk
229  vma等于vma
230  ops等于ops
232  如果test_walk则返回:test_walk(start, end, walk)
243  如果Flags, see mm.h. 按位与Page-ranges managed without "struct page", just pure PFN
244  err等于1
245  如果pte_holeerr等于pte_hole(start, end, walk)
247  返回:如果errerr否则1
249  返回:0
调用者
名称描述
walk_page_rangewalk_page_range - walk page table with caller specific callbacks*@mm: mm_struct representing the target process of page table walk*@start: start address of the virtual address range*@end: end address of the virtual address range*@ops: operation to call
walk_page_vma
walk_page_mappingwalk_page_mapping - walk all memory areas mapped into a struct address_space