Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bio_free

Proto:static void bio_free(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
244  bs = bi_pool
247  bio_uninit(bio)
249  If bs Then
250  bvec_free( & bvec_pool, the actual vec list , BVEC_POOL_IDX(bio))
255  p = bio
256  p -= front_pad
258  mempool_free - return an element to the pool.*@element: pool element pointer.*@pool: pointer to the memory pool which was allocated via* mempool_create().* this function only sleeps if the free_fn() function sleeps.
259  Else
261  kfree(bio)
Caller
NameDescribe
bio_put_put - release a reference to a bio*@bio: bio to release reference to* Description:* Put a reference to a &struct bio, either one you have gotten with* bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.