Function report |
Source Code:mm\vmalloc.c |
Create Date:2022-07-28 14:59:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__get_vm_area_node
Proto:static struct vm_struct *__get_vm_area_node(unsigned long size, unsigned long align, unsigned long flags, unsigned long start, unsigned long end, int node, gfp_t gfp_mask, const void *caller)
Type:struct vm_struct
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | size | |
unsigned long | align | |
unsigned long | flags | |
unsigned long | start | |
unsigned long | end | |
int | node | |
gfp_t | gfp_mask | |
const void * | caller |
2091 | requested_size = size |
2093 | BUG_ON(in_interrupt()) |
2095 | If Value for the false possibility is greater at compile time(!size) Then Return NULL |
2103 | If Value for the false possibility is greater at compile time(!area) Then Return NULL |
2106 | If Not (flags & don't add guard page ) Then size += PAGE_SIZE |
2109 | va = Allocate a region of KVA of the specified size and alignment, within the* vstart and vend. |
2115 | kasan_unpoison_vmalloc((void * )va_start, requested_size) |
2117 | setup_vmalloc_vm(area, va, flags, caller) |
2119 | Return area |
Name | Describe |
---|---|
__get_vm_area | |
__get_vm_area_caller | |
get_vm_area | get_vm_area - reserve a contiguous kernel virtual area*@size: size of the area*@flags: %VM_IOREMAP for I/O mappings or VM_ALLOC* Search an area of @size in the kernel virtual mapping area,* and reserved it for out purposes. Returns the area descriptor |
get_vm_area_caller | |
__vmalloc_node_range | __vmalloc_node_range - allocate virtually contiguous memory*@size: allocation size*@align: desired alignment*@start: vm area range start*@end: vm area range end*@gfp_mask: flags for the page level allocator*@prot: protection mask for the allocated pages |
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 |