函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:add rq to rbtree and fifo

函数原型:static void dd_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq, bool at_head)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct request *rq
boolat_head
486  q等于@queue: Pointer to the request queue that owns this hardware context.
487  dd等于elevator_data
488  data_dir等于rq_data_dir(rq)
494  blk_req_zone_write_unlock(rq)
496  如果blk_mq_sched_try_insert_merge(q, rq)则返回
499  blk_mq_sched_request_inserted(rq)
501  如果at_headblk_rq_is_passthrough(rq)则
502  如果at_head添加链表项
504  否则添加链表项
506  否则
507  deadline_add_rq_rb(dd, rq)
509  如果rq_mergeable(rq)则
510  elv_rqhash_add(q, rq)
511  如果非last_mergelast_merge等于rq
518  fifo_time等于jiffies* settings that change how the i/o scheduler behaves[data_dir]
519  添加链表项
调用者
名称描述
dd_insert_requests