Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:56:32
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:reate memory pools for biovec's in a bio_set.* use the global biovec slabs created for general use.

Proto:int biovec_init_pool(mempool_t *pool, int pool_entries)

Type:int

Parameter:

TypeParameterName
mempool_t *pool
intpool_entries
1947  bp = bvec_slabs + BVEC_POOL_MAX
1949  Return mempool_init_slab_pool(pool, pool_entries, slab)
Caller
NameDescribe
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