Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio-integrity.c Create Date:2022-07-28 18:02:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bioset_integrity_create

Proto:int bioset_integrity_create(struct bio_set *bs, int pool_size)

Type:int

Parameter:

TypeParameterName
struct bio_set *bs
intpool_size
430  If mempool_initialized( & bio_integrity_pool) Then Return 0
433  If mempool_init_slab_pool( & bio_integrity_pool, pool_size, bip_slab) Then Return -1
437  If reate memory pools for biovec's in a bio_set.* use the global biovec slabs created for general use. Then
438  mempool_exit - exit a mempool initialized with mempool_init()*@pool: pointer to the memory pool which was initialized with* mempool_init().* Free all reserved elements in @pool and @pool itself. This function* only sleeps if the free_fn() function sleeps.
439  Return -1
442  Return 0
Caller
NameDescribe
init_bounce_bioset
init_bio