函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bio.h Create Date:2022-07-27 06:46:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Increment chain count for the bio. Make sure the CHAIN flag update* is visible before the raised count.

函数原型:static inline void bio_inc_remaining(struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bio *bio
690  bio_set_flag(bio, BIO_CHAIN)
691  smp_mb__before_atomic()
692  atomic_inc( & __bi_remaining)
调用者
名称描述
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