函数逻辑报告 |
Source Code:mm\slab.h |
Create Date:2022-07-27 15:27:29 |
| Last Modify:2022-05-23 16:25:42 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:slab_want_init_on_alloc
函数原型:static inline bool slab_want_init_on_alloc(gfp_t flags, struct kmem_cache *c)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| gfp_t | flags | |
| struct kmem_cache * | c |
| 722 | 如果static_branch_unlikely( & init_on_alloc)则 |
| 723 | 如果ctor则返回:false |
| 725 | 如果Used for retrieving partial slabs, etc. 按位与Defer freeing slabs to RCU 按位或DEBUG: Poison objects 的值则返回:flags按位与__GFP_ZERO |
| 727 | 返回:true |
| 729 | 返回:flags按位与__GFP_ZERO |
| 名称 | 描述 |
|---|---|
| slab_alloc_node | |
| slab_alloc | |
| kmem_cache_alloc_bulk | |
| slab_alloc_node | Inlined fastpath so that allocation functions (kmalloc, kmem_cache_alloc)* have the fastpath folded into their functions. So no function call* overhead for requests that can be satisfied on the fastpath. |
| kmem_cache_alloc_bulk | Note that interrupts must be enabled when calling this function. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |