Function report |
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 activity | Download SCCT | Chinese |
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:
| Type | Parameter | Name |
|---|---|---|
| size_t | size | |
| pte_t ** | ptes |
| 3163 | area = get_vm_area_caller(size, remap() and friends , __builtin_return_address(0)) |
| 3165 | If (area == NULL) Then Return NULL |
| 3174 | free_vm_area(area) |
| 3175 | Return NULL |
| 3178 | Return area |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |