| Function report | 
| 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 activity | Download SCCT | Chinese | 
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:
| Type | Parameter | Name | 
|---|---|---|
| struct request * | rq | 
| 548 | Return rq + 1 | 
| Name | Describe | 
|---|---|
| bsg_transport_fill_hdr | |
| bsg_transport_complete_rq | |
| bsg_transport_free_rq | |
| bsg_complete | sg_complete - softirq done routine for destroying the bsg requests*@rq: BSG request that holds the job to be destroyed | 
| bsg_prepare_job | sg_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_rq | sg_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_rq | alled right after the request is allocated for the request_queue | 
| bsg_initialize_rq | alled right before the request is given to the request_queue user | 
| bsg_exit_rq | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |