Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_reset - reinitialize a bio*@bio: bio to reset* Description:* After calling bio_reset(), @bio will be in the same state as a freshly* allocated bio returned bio bio_alloc_bioset() - the only fields that are

Proto:void bio_reset(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
294  flags = status, etc and bvec pool number & ~0UL << Flags starting here get preserved by bio_reset() - this includes* only BVEC_POOL_IDX()
296  bio_uninit(bio)
298  memset(bio, 0, BIO_RESET_BYTES)
299  status, etc and bvec pool number = flags
300  atomic_set( & __bi_remaining, 1)