函数逻辑报告 |
Source Code:mm\mempool.c |
Create Date:2022-07-27 15:27:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:remove_element
函数原型:static void *remove_element(mempool_t *pool)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
mempool_t * | pool |
134 | BUG_ON( Current nr of elements at *elements < 0) |
136 | check_element(pool, element) |
137 | 返回:element |
名称 | 描述 |
---|---|
mempool_exit | mempool_exit - exit a mempool initialized with mempool_init()*@pool: pointer to the memory pool which was initialized with* mempool_init().* Free all reserved elements in @pool and @pool itself. This function* only sleeps if the free_fn() function sleeps. |
mempool_resize | mempool_resize - resize an existing memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().*@new_min_nr: the new minimum number of elements guaranteed to be* allocated for this pool.* This function shrinks/grows the pool |
mempool_alloc | mempool_alloc - allocate an element from a specific memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().*@gfp_mask: the usual allocation bitmask.* this function only sleeps if the alloc_fn() function sleeps or |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |