函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:void bio_chain(struct bio *bio, struct bio *parent)

返回类型:void

参数:

类型参数名称
struct bio *bio
struct bio *parent
332  BUG_ON(bi_private || bi_end_io)
334  bi_private等于parent
335  bi_end_io等于bio_chain_endio
336  Increment chain count for the bio. Make sure the CHAIN flag update* is visible before the raised count.
调用者
名称描述
__blk_queue_split__blk_queue_split - split a bio and submit the second half*@q: [in] request queue pointer*@bio: [in, out] bio to be split*@nr_segs: [out] number of segments in the first bio* Split a bio into two bios, chain the two bios, submit the second half and
blk_next_bio
__blk_queue_bounce