函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__walk_page_range

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

返回类型:int

参数:

类型参数名称
unsigned longstart
unsigned longend
struct mm_walk *walk
255  err等于0
256  vma等于vma
257  ops等于ops
259  如果vmapre_vma
260  err等于pre_vma(start, end, walk)
261  如果err则返回:err
265  如果vmais_vm_hugetlb_page(vma)则
266  如果hugetlb_entryerr等于walk_hugetlb_range(start, end, walk)
268  否则err等于walk_pgd_range(start, end, walk)
271  如果vmapost_vmapost_vma(walk)
274  返回:err
调用者
名称描述
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