Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:55:04
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__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.

Proto:void __bio_clone_fast(struct bio *bio, struct bio *bio_src)

Type:void

Parameter:

TypeParameterName
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  If bio_flagged(bio_src, BIO_THROTTLED) Then 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)
Caller
NameDescribe
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