函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:chunk_size

函数原型:static inline size_t chunk_size(const struct gen_pool_chunk *chunk)

返回类型:size_t

参数:

类型参数名称
const struct gen_pool_chunk *chunk
40  返回:d address of memory chunk (inclusive) start address of memory chunk 加1
调用者
名称描述
gen_pool_destroy销毁内存池
gen_pool_alloc_algo_ownergen_pool_alloc_algo_owner - allocate special memory from the pool*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@algo: algorithm passed from caller*@data: data passed to algorithm*@owner: optionally retrieve the chunk owner
gen_pool_size获得内存池的管理空间