函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-27 18:31:45
Last Modify:2020-03-17 23:13:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:reate memory pools for biovec's in a bio_set.* use the global biovec slabs created for general use.

函数原型:int biovec_init_pool(mempool_t *pool, int pool_entries)

返回类型:int

参数:

类型参数名称
mempool_t *pool
intpool_entries
1947  bp等于bvec_slabsBVEC_POOL_MAX
1949  返回:mempool_init_slab_pool(pool, pool_entries, slab)
调用者
名称描述
bioset_initset_init - Initialize a bio_set*@bs: pool to initialize*@pool_size: Number of bio and bio_vecs to cache in the mempool*@front_pad: Number of bytes to allocate in front of the returned bio*@flags: Flags to modify behavior, currently %BIOSET_NEED_BVECS* and
bioset_integrity_create