函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempool.c Create Date:2022-07-27 15:27:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mempool_create - create a memory pool*@min_nr: the minimum number of elements guaranteed to be* allocated for this pool.*@alloc_fn: user-defined element-allocation function.*@free_fn: user-defined element-freeing function.

函数原型:mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, mempool_free_t *free_fn, void *pool_data)

返回类型:mempool_t

参数:

类型参数名称
intmin_nr
mempool_alloc_t *alloc_fn
mempool_free_t *free_fn
void *pool_data
256  返回:mempool_create_node(min_nr, alloc_fn, free_fn, pool_data, GFP_KERNEL, NUMA_NO_NODE)
调用者
名称描述
btree_init初始化btree