Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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

Proto:void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk, struct request *rq, int at_head, rq_end_io_fn *done)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct gendisk *bd_disk
struct request *rq
intat_head
rq_end_io_fn *done
52  WARN_ON(Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.())
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)
Caller
NameDescribe
blk_execute_rqlk_execute_rq - 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* Description:* Insert a fully prepared request at the back of