Function report |
Source Code:mm\sparse-vmemmap.c |
Create Date:2022-07-28 15:35:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vmemmap_alloc_block
Proto:void *__meminit vmemmap_alloc_block(unsigned long size, int node)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | size | |
int | node |
52 | If slab_is_available() Then |
54 | order = get_order - Determine the allocation order of a memory size*@size: The size for which to get the order* Determine the allocation order of a particular sized block of memory |
58 | page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
59 | If page Then Return page_address(page) |
62 | If Not warned Then |
65 | warned = true |
67 | Return NULL |
Name | Describe |
---|---|
vmemmap_alloc_block_buf | d to make sure size is all the same during early stage |
vmemmap_alloc_block_zero |
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 |