函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bounce.c Create Date:2022-07-27 19:08:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bounce_clone_bio

函数原型:static struct bio *bounce_clone_bio(struct bio *bio_src, gfp_t gfp_mask, struct bio_set *bs)

返回类型:struct bio

参数:

类型参数名称
struct bio *bio_src
gfp_tgfp_mask
struct bio_set *bs
246  bio等于_alloc_bioset - allocate a bio for I/O*@gfp_mask: the GFP_* mask given to the slab allocator*@nr_iovecs: number of iovecs to pre-allocate*@bs: the bio_set to allocate from
247  如果非bio则返回:NULL
249  bi_disk等于bi_disk
250  bottom bits req flags, * top bits REQ_OP. Use * accessors.等于 bottom bits req flags, * top bits REQ_OP. Use * accessors.
251  bi_ioprio等于bi_ioprio
252  bi_write_hint等于bi_write_hint
253  device address in 512 byte sectors 等于 device address in 512 byte sectors
254  residual I/O count 等于 residual I/O count
257  :bio_op(bio)恒等于REQ_OP_DISCARD
258  :bio_op(bio)恒等于REQ_OP_SECURE_ERASE
259  :bio_op(bio)恒等于REQ_OP_WRITE_ZEROES
260  退出
261  :bio_op(bio)恒等于REQ_OP_WRITE_SAME
262  the actual vec list [ how many bio_vec's ++]等于 the actual vec list [0]
263  退出
264  默认
265  bio_for_each_segment(bv, bio_src, iter)
266  the actual vec list [ how many bio_vec's ++]等于bv
267  退出
270  如果bio_integrity(bio_src)则
273  ret等于bio_integrity_clone(bio, bio_src, gfp_mask)
274  如果ret小于0则
276  返回:NULL
280  _clone_blkg_association - clone blkg association from src to dst bio*@dst: destination bio*@src: source bio
281  blkcg_bio_issue_init(bio)
283  返回:bio
调用者
名称描述
__blk_queue_bounce