函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Scan a region of virtual memory, filling in page tables as necessary* and calling a provided function on each leaf page table.

函数原型:int apply_to_page_range(struct mm_struct *mm, unsigned long addr, unsigned long size, pte_fn_t fn, void *data)

返回类型:int

参数:

类型参数名称
struct mm_struct *mm
unsigned longaddr
unsigned longsize
pte_fn_tfn
void *data
2176  返回:__apply_to_page_range(mm, addr, size, fn, data, true)
调用者
名称描述
alloc_vm_areaalloc_vm_area - allocate a range of kernel address space*@size: size of the area*@ptes: returns the PTEs for the address space* Returns: NULL on failure, vm_struct on success* This function reserves a range of kernel address space, and