函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_bio_to_request

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

返回类型:void

参数:

类型参数名称
struct request *rq
struct bio *bio
unsigned intnr_segs
1741  如果 bottom bits req flags, * top bits REQ_OP. Use * accessors.按位与REQ_RAHEAD op and common flags 或等于REQ_FAILFAST_MASK
1744  sector cursor 等于 device address in 512 byte sectors
1745  write_hint等于bi_write_hint
1746  blk_rq_bio_prep(rq, bio, nr_segs)
1748  blk_account_io_start(rq, true)
调用者
名称描述
blk_mq_make_request