Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:47:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Slab allocation and freeing
Proto:static inline struct page *alloc_slab_page(struct kmem_cache *s, gfp_t flags, int node, struct kmem_cache_order_objects oo)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | s | |
gfp_t | flags | |
int | node | |
struct kmem_cache_order_objects | oo |
1495 | If node == NUMA_NO_NODE Then page = alloc_pages(flags, order) |
1497 | Else page = Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node(). |
1501 | __free_pages(page, order) |
1502 | page = NULL |
1505 | Return page |
Name | Describe |
---|---|
allocate_slab |
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 |