Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

Type:void

Parameter:

TypeParameterName
struct request_queue *q
struct gendisk *bd_disk
struct request *rq
intat_head
82  Lockdep needs to run a non-constant initializer for on-stack* completions - so we use the _ONSTACK() variant for those that* are on the kernel stack:(wait)
85  end_io_data = wait
86  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
89  hang_check = Zero means infinite timeout - no checking done:
90  If hang_check Then When Not wait_for_completion_io_timeout: - waits for completion of a task (w/timeout)*@x: holds the state of this particular completion*@timeout: timeout value in jiffies* This waits for either a completion of a specific task to be signaled or for a cycle
92  Else wait_for_completion_io: - waits for completion of a task*@x: holds the state of this particular completion* This waits to be signaled for completion of a specific task. It is NOT* interruptible and there is no timeout. The caller is accounted as waiting
Caller
NameDescribe
sg_io
sg_scsi_ioctlsg_scsi_ioctl -- handle deprecated SCSI_IOCTL_SEND_COMMAND ioctl*@q: request queue to send scsi commands down*@disk: gendisk to operate on (option)*@mode: mode used to open the file through which the ioctl has been* submitted*@sic: userspace structure
__blk_send_genericSend basic block requests
bsg_sg_io