函数逻辑报告 |
Source Code:mm\slub.c |
Create Date:2022-07-27 17:22:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:new_slab_objects
函数原型:static inline void *new_slab_objects(struct kmem_cache *s, gfp_t flags, int node, struct kmem_cache_cpu **pc)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kmem_cache * | s | |
gfp_t | flags | |
int | node | |
struct kmem_cache_cpu ** | pc |
2451 | WARN_ON_ONCE(ctor && (flags & __GFP_ZERO)) |
2459 | 如果page则 |
2460 | c等于raw_cpu_ptr(cpu_slab) |
2461 | 如果 The slab from which we are allocating 则flush_slab(s, c) |
2468 | freelist等于 first free object |
2469 | first free object = NULL |
2476 | 返回:freelist |
名称 | 描述 |
---|---|
___slab_alloc | Slow path. The lockless freelist is empty or we need to perform* debugging duties.* Processing is still very fast if new objects have been freed to the* regular freelist. In that case we simply take over the regular freelist |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |