Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:struct vm_struct *alloc_vm_area(size_t size, pte_t **ptes)

Type:struct vm_struct

Parameter:

TypeParameterName
size_tsize
pte_t **ptes
3163  area = get_vm_area_caller(size, remap() and friends , __builtin_return_address(0))
3165  If (area == NULL) Then Return NULL
3172  If Scan a region of virtual memory, filling in page tables as necessary* and calling a provided function on each leaf page table. Then
3174  free_vm_area(area)
3175  Return NULL
3178  Return area