函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloc_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

函数原型:struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)

返回类型:struct vm_struct

参数:

类型参数名称
size_tsize
pte_t **ptes
3163  area等于get_vm_area_caller(size, remap() and friends , __builtin_return_address(0))
3165  如果(area == NULL)则返回:NULL
3172  如果Scan a region of virtual memory, filling in page tables as necessary* and calling a provided function on each leaf page table.
3174  free_vm_area(area)
3175  返回:NULL
3178  返回:area