函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk-mq.h Create Date:2022-07-27 13:22:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline struct request *blk_mq_rq_from_pdu(void *pdu)

返回类型:struct request

参数:

类型参数名称
void *pdu
534  返回:pdusizeof(structrequest)
调用者
名称描述
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.