Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_exit - exit a bioset initialized with bioset_init()* May be called on a zeroed but uninitialized bioset (i.e. allocated with* kzalloc()).

Proto:void bioset_exit(struct bio_set *bs)

Type:void

Parameter:

TypeParameterName
struct bio_set *bs
1960  If rescue_workqueue Then destroy_workqueue - safely terminate a workqueue*@wq: target workqueue* Safely destroy a workqueue. All work currently pending will be done first.
1962  rescue_workqueue = NULL
1964  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.
1965  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.
1967  bioset_integrity_free(bs)
1968  If bio_slab Then bio_put_slab(bs)
1970  bio_slab = NULL
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
blk_alloc_queue_nodelk_alloc_queue_node - allocate a request queue*@gfp_mask: memory allocation flags*@node_id: NUMA node to allocate memory from
__blk_release_queue__blk_release_queue - release a request queue*@work: pointer to the release_work member of the request queue to be released* Description:* This function is called when a block device is being unregistered