函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline void *blk_mq_rq_to_pdu(struct request *rq)

返回类型:void

参数:

类型参数名称
struct request *rq
548  返回:rq加1
调用者
名称描述
bsg_transport_fill_hdr
bsg_transport_complete_rq
bsg_transport_free_rq
bsg_completesg_complete - softirq done routine for destroying the bsg requests*@rq: BSG request that holds the job to be destroyed
bsg_prepare_jobsg_prepare_job - create the bsg_job structure for the bsg request*@dev: device that is being sent the bsg request*@req: BSG request that needs a job structure
bsg_queue_rqsg_queue_rq - generic handler for bsg requests*@hctx: hardware queue*@bd: queue data* On error the create_bsg_job function should return a -Exyz error value* that will be set to ->result.* Drivers/subsys should pass this to the queue init function.
bsg_init_rqalled right after the request is allocated for the request_queue
bsg_initialize_rqalled right before the request is given to the request_queue user
bsg_exit_rq
scsi_req