函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bio_remaining_done

函数原型:static inline bool bio_remaining_done(struct bio *bio)

返回类型:bool

参数:

类型参数名称
struct bio *bio
1811  如果非bio_flagged(bio, BIO_CHAIN)则返回:true
1814  BUG_ON(atomic_read( & __bi_remaining) <= 0)
1816  如果atomic_dec_and_test( & __bi_remaining)则
1817  bio_clear_flag(bio, BIO_CHAIN)
1818  返回:true
1821  返回:false
调用者
名称描述
bio_endio_endio - end I/O on a bio*@bio: bio* Description:* bio_endio() will end I/O on the whole bio. bio_endio() is the preferred* way to end I/O on a bio. No one should call bi_end_io() directly on a