Function report |
Source Code:mm\slob.c |
Create Date:2022-07-28 15:36:24 |
Last Modify:2022-05-20 09:26:42 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:slob_alloc_node
Proto:static void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | c | |
gfp_t | flags | |
int | node |
596 | flags &= gfp_allowed_mask |
598 | fs_reclaim_acquire(flags) |
599 | fs_reclaim_release(flags) |
601 | If The size of an object including metadata < PAGE_SIZE Then |
606 | Else |
614 | WARN_ON_ONCE(flags & __GFP_ZERO) |
618 | kmemleak_alloc_recursive(b, The size of an object including metadata , 1, Used for retrieving partial slabs, etc. , flags) |
619 | Return b |
Name | Describe |
---|---|
kmem_cache_alloc | |
kmem_cache_alloc_node |
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 |