函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:21:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:new_slab
函数原型:static struct page *new_slab(struct kmem_cache *s, gfp_t flags, int node)
返回类型:struct page
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s | |
gfp_t | flags | |
int | node |
1701 | flags与等于Do not use these with a slab allocator 的反 |
1702 | 打印警告信息("Unexpected gfp: %#x (%pGg). Fixing up to gfp: %#x (%pGg). Fix your code!\n", invalid_mask, & invalid_mask, flags, & flags) |
1704 | dump_stack() |
名称 | 描述 |
---|---|
new_slab_objects | |
early_kmem_cache_node_alloc | No kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |