Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alled right before the request is given to the request_queue user

Proto:static void bsg_initialize_rq(struct request *req)

Type:void

Parameter:

TypeParameterName
struct request *req
304  job = lk_mq_rq_to_pdu - cast a request to a PDU*@rq: the request to be casted* Return: pointer to the PDU* Driver command data is immediately after the request. So add request to get* the PDU.
305  reply = reply
307  memset(job, 0, size of job )
308  reply = reply
309  reply_len = SCSI_SENSE_BUFFERSIZE
310  Used for driver-specific storage = job + 1