函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-27 18:29:56
Last Modify:2020-03-17 23:13:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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

函数原型:void bio_reset(struct bio *bio)

返回类型:void

参数:

类型参数名称
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)