/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 19 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_job_done() local 20 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() 23 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done() 33 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local 34 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free() 43 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 44 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 48 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free() 49 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() 51 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() [all …]
|
D | qla_iocb.c | 2766 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local 2767 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb() 2775 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 2778 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 2789 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb() 2791 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 2794 (bsg_job->request_payload.sg_list))); in qla24xx_els_iocb() 2796 (bsg_job->request_payload.sg_list))); in qla24xx_els_iocb() 2798 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() 2801 (bsg_job->reply_payload.sg_list))); in qla24xx_els_iocb() [all …]
|
D | qla_isr.c | 1475 struct bsg_job *bsg_job; in qla2x00_ct_entry() local 1486 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry() 1487 bsg_reply = bsg_job->reply; in qla2x00_ct_entry() 1498 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry() 1522 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry() 1523 bsg_job->reply_len = 0; in qla2x00_ct_entry() 1547 struct bsg_job *bsg_job; in qla24xx_els_ct_entry() local 1626 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry() 1627 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry() 1629 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); in qla24xx_els_ct_entry() [all …]
|
D | qla_mr.c | 2212 struct bsg_job *bsg_job; in qlafx00_ioctl_iosb_entry() local 2232 bsg_job = sp->u.bsg_job; in qlafx00_ioctl_iosb_entry() 2233 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry() 2249 fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); in qlafx00_ioctl_iosb_entry() 2253 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qlafx00_ioctl_iosb_entry() 2266 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry() 3265 struct bsg_job *bsg_job; in qlafx00_fxdisc_iocb() local 3314 bsg_job = sp->u.bsg_job; in qlafx00_fxdisc_iocb() 3315 bsg_request = bsg_job->request; in qlafx00_fxdisc_iocb() 3337 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb() [all …]
|
D | qla_gbl.h | 835 extern int qla24xx_bsg_request(struct bsg_job *); 836 extern int qla24xx_bsg_timeout(struct bsg_job *);
|
/Linux-v4.19/drivers/scsi/qla4xxx/ |
D | ql4_bsg.c | 13 qla4xxx_read_flash(struct bsg_job *bsg_job) in qla4xxx_read_flash() argument 15 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); in qla4xxx_read_flash() 17 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_flash() 18 struct iscsi_bsg_request *bsg_req = bsg_job->request; in qla4xxx_read_flash() 45 length = bsg_job->reply_payload.payload_len; in qla4xxx_read_flash() 63 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla4xxx_read_flash() 64 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_flash() 69 bsg_job_done(bsg_job, bsg_reply->result, in qla4xxx_read_flash() 78 qla4xxx_update_flash(struct bsg_job *bsg_job) in qla4xxx_update_flash() argument 80 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); in qla4xxx_update_flash() [all …]
|
D | ql4_glbl.h | 200 int qla4xxx_bsg_request(struct bsg_job *bsg_job); 201 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job);
|
/Linux-v4.19/block/ |
D | bsg-lib.c | 47 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_transport_fill_hdr() 57 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_transport_complete_rq() 106 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_transport_free_rq() 124 struct bsg_job *job = container_of(kref, struct bsg_job, kref); in bsg_teardown_job() 135 void bsg_job_put(struct bsg_job *job) in bsg_job_put() 141 int bsg_job_get(struct bsg_job *job) in bsg_job_get() 155 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done() 170 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_softirq_done() 198 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_prepare_job() 272 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_init_rq() [all …]
|
/Linux-v4.19/include/linux/ |
D | bsg-lib.h | 40 struct bsg_job { struct 72 void bsg_job_done(struct bsg_job *job, int result, argument 76 void bsg_job_put(struct bsg_job *job); 77 int __must_check bsg_job_get(struct bsg_job *job);
|
D | blkdev.h | 39 struct bsg_job; 324 typedef int (bsg_job_fn) (struct bsg_job *);
|
/Linux-v4.19/drivers/scsi/libsas/ |
D | sas_internal.h | 87 void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, 110 extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost); 112 static inline void sas_smp_host_handler(struct bsg_job *job, in sas_smp_host_handler()
|
D | sas_host_smp.c | 228 void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost) in sas_smp_host_handler()
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 103 struct bsg_job *set_job; /* job waiting for this iocb to finish */ 303 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp() 387 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) in lpfc_bsg_send_mgmt_cmd() 580 struct bsg_job *job; in lpfc_bsg_rport_els_cmp() 661 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els() 932 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event() 1205 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event() 1290 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event() 1402 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp() 1482 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp() [all …]
|
D | lpfc_crtn.h | 477 int lpfc_bsg_request(struct bsg_job *); 478 int lpfc_bsg_timeout(struct bsg_job *);
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfad_im.h | 190 int bfad_im_bsg_request(struct bsg_job *job); 191 int bfad_im_bsg_timeout(struct bsg_job *job);
|
D | bfad_bsg.c | 3131 bfad_im_bsg_vendor_request(struct bsg_job *job) in bfad_im_bsg_vendor_request() 3310 bfad_fcxp_bsg_send(struct bsg_job *job, struct bfad_fcxp *drv_fcxp, in bfad_fcxp_bsg_send() 3350 bfad_im_bsg_els_ct_request(struct bsg_job *job) in bfad_im_bsg_els_ct_request() 3559 bfad_im_bsg_request(struct bsg_job *job) in bfad_im_bsg_request() 3587 bfad_im_bsg_timeout(struct bsg_job *job) in bfad_im_bsg_timeout()
|
/Linux-v4.19/drivers/s390/scsi/ |
D | zfcp_ext.h | 99 extern int zfcp_fc_exec_bsg_job(struct bsg_job *); 100 extern int zfcp_fc_timeout_bsg_job(struct bsg_job *);
|
D | zfcp_fc.c | 893 struct bsg_job *job = data; in zfcp_fc_ct_els_job_handler() 903 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) in zfcp_fc_job_wka_port() 936 struct bsg_job *job = data; in zfcp_fc_ct_job_handler() 945 static int zfcp_fc_exec_els_job(struct bsg_job *job, in zfcp_fc_exec_els_job() 968 static int zfcp_fc_exec_ct_job(struct bsg_job *job, in zfcp_fc_exec_ct_job() 991 int zfcp_fc_exec_bsg_job(struct bsg_job *job) in zfcp_fc_exec_bsg_job() 1021 int zfcp_fc_timeout_bsg_job(struct bsg_job *job) in zfcp_fc_timeout_bsg_job()
|
/Linux-v4.19/include/scsi/ |
D | scsi_transport_fc.h | 664 int (*bsg_request)(struct bsg_job *); 665 int (*bsg_timeout)(struct bsg_job *); 813 static inline struct Scsi_Host *fc_bsg_to_shost(struct bsg_job *job) in fc_bsg_to_shost() 820 static inline struct fc_rport *fc_bsg_to_rport(struct bsg_job *job) in fc_bsg_to_rport()
|
D | scsi_transport_iscsi.h | 41 struct bsg_job; 148 int (*bsg_request)(struct bsg_job *job);
|
D | scsi_transport_sas.h | 182 void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,
|
D | libfc.h | 916 int fc_lport_bsg_request(struct bsg_job *);
|
/Linux-v4.19/drivers/scsi/be2iscsi/ |
D | be_mgmt.h | 41 struct bsg_job *job,
|
/Linux-v4.19/drivers/scsi/libfc/ |
D | fc_lport.c | 152 struct bsg_job *job; 1888 struct bsg_job *job = info->job; in fc_lport_bsg_resp() 1948 static int fc_lport_els_request(struct bsg_job *job, in fc_lport_els_request() 2008 static int fc_lport_ct_request(struct bsg_job *job, in fc_lport_ct_request() 2066 int fc_lport_bsg_request(struct bsg_job *job) in fc_lport_bsg_request()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_transport_fc.c | 3571 struct bsg_job *job = blk_mq_rq_to_pdu(req); in fc_bsg_job_timeout() 3604 static int fc_bsg_host_dispatch(struct Scsi_Host *shost, struct bsg_job *job) in fc_bsg_host_dispatch() 3702 static int fc_bsg_rport_dispatch(struct Scsi_Host *shost, struct bsg_job *job) in fc_bsg_rport_dispatch() 3752 static int fc_bsg_dispatch(struct bsg_job *job) in fc_bsg_dispatch()
|