函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_rq_bio_prep

函数原型:static inline void blk_rq_bio_prep(struct request *rq, struct bio *bio, unsigned int nr_segs)

返回类型:void

参数:

类型参数名称
struct request *rq
struct bio *bio
unsigned intnr_segs
113  * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.等于nr_segs
114  total data len 等于 residual I/O count
115  bio等于biotail等于bio
116  ioprio等于bio_prio(bio)
118  如果bi_diskrq_disk等于bi_disk
调用者
名称描述
blk_rq_append_bioAppend a bio to a passthrough request. Only works if the bio can be merged* into the request based on the driver constraints.
blk_mq_bio_to_request