函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__bio_clone_fast - clone a bio that shares the original bio's biovec*@bio: destination bio*@bio_src: bio to clone* Clone a &bio. Caller will own the returned bio, but not* the actual data it points to. Reference count of returned* bio will be one.

函数原型:void __bio_clone_fast(struct bio *bio, struct bio *bio_src)

返回类型:void

参数:

类型参数名称
struct bio *bio
struct bio *bio_src
627  BUG_ON(bi_pool && BVEC_POOL_IDX(bio))
633  bi_disk等于bi_disk
634  bi_partno等于bi_partno
635  bio_set_flag(bio, BIO_CLONED)
636  如果bio_flagged(bio_src, BIO_THROTTLED)则bio_set_flag(bio, BIO_THROTTLED)
638  bottom bits req flags, * top bits REQ_OP. Use * accessors.等于 bottom bits req flags, * top bits REQ_OP. Use * accessors.
639  bi_ioprio等于bi_ioprio
640  bi_write_hint等于bi_write_hint
641  bi_iter等于bi_iter
642  the actual vec list 等于 the actual vec list
644  _clone_blkg_association - clone blkg association from src to dst bio*@dst: destination bio*@src: source bio
645  blkcg_bio_issue_init(bio)
调用者
名称描述
bio_clone_fast_clone_fast - clone a bio that shares the original bio's biovec*@bio: bio to clone*@gfp_mask: allocation priority*@bs: bio_set to allocate from* Like __bio_clone_fast, only also allocates the returned bio