函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_mq_plug() - Get caller context plug*@q: request queue*@bio : the bio being submitted by the caller context* Plugging, by design, may delay the insertion of BIOs into the elevator in* order to increase BIO merging opportunities

函数原型:static inline struct blk_plug *blk_mq_plug(struct request_queue *q, struct bio *bio)

返回类型:struct blk_plug

参数:

类型参数名称
struct request_queue *q
struct bio *bio
252  如果非blk_queue_is_zoned(q)或非op_is_write(bio_op(bio))则返回:plug
256  返回:NULL
调用者
名称描述
blk_attempt_plug_mergelk_attempt_plug_merge - try to merge with %current's plugged list*@q: request_queue new bio is being queued at*@bio: new bio being queued*@nr_segs: number of segments in @bio*@same_queue_rq: pointer to &struct request that gets filled in when* another
blk_mq_make_request