函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_execute_rq_nowait - insert a request into queue for execution*@q: queue to insert the request in*@bd_disk: matching gendisk*@rq: request to insert*@at_head: insert request at head or tail of queue*@done: I/O completion handler* Description:* Insert a

函数原型:void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk, struct request *rq, int at_head, rq_end_io_fn *done)

返回类型:void

参数:

类型参数名称
struct request_queue *q
struct gendisk *bd_disk
struct request *rq
intat_head
rq_end_io_fn *done
52  WARN_ON(已禁止中断())
53  WARN_ON(!blk_rq_is_passthrough(rq))
55  rq_disk等于bd_disk
56  * completion callback.等于done
58  blk_account_io_start(rq, true)
64  blk_mq_sched_insert_request(rq, at_head, true, false)
调用者
名称描述
blk_execute_rq将请求插入队列执行