Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk.h Create Date:2022-07-28 12:15:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_rq_bio_prep

Proto:static inline void blk_rq_bio_prep(struct request *rq, struct bio *bio, unsigned int nr_segs)

Type:void

Parameter:

TypeParameterName
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  If bi_disk Then rq_disk = bi_disk
Caller
NameDescribe
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