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_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.

Proto:static inline void *blk_mq_rq_to_pdu(struct request *rq)

Type:void

Parameter:

TypeParameterName
struct request *rq
548  Return rq + 1
Caller
NameDescribe
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