Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\genalloc.c Create Date:2022-07-28 06:56:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:chunk_size

Proto:static inline size_t chunk_size(const struct gen_pool_chunk *chunk)

Type:size_t

Parameter:

TypeParameterName
const struct gen_pool_chunk *chunk
40  Return d address of memory chunk (inclusive) - start address of memory chunk + 1
Caller
NameDescribe
gen_pool_destroygen_pool_destroy - destroy a special memory pool*@pool: pool to destroy* Destroy the specified special memory pool. Verifies that there are no* outstanding allocations.
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_sizegen_pool_size - get size in bytes of memory managed by the pool*@pool: pool to get size* Return size in bytes of memory managed by the pool.