Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk-mq.h Create Date:2022-07-28 12:15:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lk_mq_rq_from_pdu - cast a PDU to a request*@pdu: the PDU (Protocol Data Unit) to be casted* Return: request* Driver command data is immediately after the request. So subtract request* size to get back to the original request.

Proto:static inline struct request *blk_mq_rq_from_pdu(void *pdu)

Type:struct request

Parameter:

TypeParameterName
void *pdu
534  Return pdu - sizeof(structrequest)
Caller
NameDescribe
bsg_teardown_jobsg_teardown_job - routine to teardown a bsg job*@kref: kref inside bsg_job that is to be torn down
bsg_job_donesg_job_done - completion routine for bsg requests*@job: bsg_job that is complete*@result: job reply result*@reply_payload_rcv_len: length of payload recvd* The LLD should call this when the bsg job has completed.