Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-28 05:45:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Increment chain count for the bio. Make sure the CHAIN flag update* is visible before the raised count.

Proto:static inline void bio_inc_remaining(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
690  bio_set_flag(bio, BIO_CHAIN)
691  smp_mb__before_atomic()
692  atomic_inc( & __bi_remaining)
Caller
NameDescribe
bio_chain_chain - chain bio completions*@bio: the target bio*@parent: the @bio's parent bio* The caller won't have a bi_end_io called when @bio completes - instead,*@parent's bi_end_io won't be called until both @parent and @bio have