函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:21:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Slab allocation and freeing
函数原型:static inline struct page *alloc_slab_page(struct kmem_cache *s, gfp_t flags, int node, struct kmem_cache_order_objects oo)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s | |
gfp_t | flags | |
int | node | |
struct kmem_cache_order_objects | oo |
1495 | 如果node恒等于NUMA_NO_NODE则page等于alloc_pages(flags, order) |
1497 | 否则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 | 返回:page |
名称 | 描述 |
---|---|
allocate_slab |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |