Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:49:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmalloc_large_node
Proto:static void *kmalloc_large_node(size_t size, gfp_t flags, int node)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
size_t | size | |
gfp_t | flags | |
int | node |
3813 | void * ptr = NULL |
3814 | 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 |
3816 | flags |= __GFP_COMP |
3817 | 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. |
3818 | If page Then |
3819 | ptr = page_address(page) |
3820 | mod_node_page_state(page_pgdat(page), NR_SLAB_UNRECLAIMABLE, 1 << order) |
Name | Describe |
---|---|
__kmalloc_node | |
__kmalloc_node_track_caller |
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 |