Home
last modified time | relevance | path

Searched refs:bsg_job (Results 1 – 25 of 30) sorted by relevance

12

/drivers/scsi/qla2xxx/
Dqla_bsg.c17 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_job_done() local
18 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done()
21 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
29 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local
30 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free()
39 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
40 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free()
44 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free()
45 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free()
47 dma_unmap_sg(&ha->pdev->dev, bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
[all …]
Dqla_iocb.c2887 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local
2888 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb()
2896 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
2899 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
2910 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb()
2912 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb()
2914 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb()
2917 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb()
2919 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla24xx_els_iocb()
2922 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb()
[all …]
Dqla_isr.c1482 struct bsg_job *bsg_job; in qla2x00_ct_entry() local
1493 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry()
1494 bsg_reply = bsg_job->reply; in qla2x00_ct_entry()
1505 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry()
1529 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry()
1530 bsg_job->reply_len = 0; in qla2x00_ct_entry()
1554 struct bsg_job *bsg_job; in qla24xx_els_ct_entry() local
1633 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry()
1634 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry()
1636 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + sizeof(fw_status); in qla24xx_els_ct_entry()
[all …]
Dqla_mr.c2213 struct bsg_job *bsg_job; in qlafx00_ioctl_iosb_entry() local
2233 bsg_job = sp->u.bsg_job; in qlafx00_ioctl_iosb_entry()
2234 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry()
2250 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()
2265 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry()
3251 struct bsg_job *bsg_job; in qlafx00_fxdisc_iocb() local
3297 bsg_job = sp->u.bsg_job; in qlafx00_fxdisc_iocb()
3298 bsg_request = bsg_job->request; in qlafx00_fxdisc_iocb()
3320 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb()
[all …]
Dqla_gbl.h850 extern int qla24xx_bsg_request(struct bsg_job *);
851 extern int qla24xx_bsg_timeout(struct bsg_job *);
Dqla_def.h619 struct bsg_job *bsg_job; member
/drivers/scsi/qla4xxx/
Dql4_bsg.c13 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 …]
Dql4_glbl.h200 int qla4xxx_bsg_request(struct bsg_job *bsg_job);
201 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job);
/drivers/scsi/libsas/
Dsas_internal.h74 void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost,
97 extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost);
99 static inline void sas_smp_host_handler(struct bsg_job *job, in sas_smp_host_handler()
Dsas_host_smp.c225 void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost) in sas_smp_host_handler()
/drivers/scsi/lpfc/
Dlpfc_bsg.c104 struct bsg_job *set_job; /* job waiting for this iocb to finish */
304 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp()
388 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) in lpfc_bsg_send_mgmt_cmd()
581 struct bsg_job *job; in lpfc_bsg_rport_els_cmp()
662 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els()
933 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event()
1206 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event()
1289 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event()
1401 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp()
1481 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp()
[all …]
Dlpfc_crtn.h465 int lpfc_bsg_request(struct bsg_job *);
466 int lpfc_bsg_timeout(struct bsg_job *);
/drivers/scsi/bfa/
Dbfad_im.h182 int bfad_im_bsg_request(struct bsg_job *job);
183 int bfad_im_bsg_timeout(struct bsg_job *job);
Dbfad_bsg.c3123 bfad_im_bsg_vendor_request(struct bsg_job *job) in bfad_im_bsg_vendor_request()
3302 bfad_fcxp_bsg_send(struct bsg_job *job, struct bfad_fcxp *drv_fcxp, in bfad_fcxp_bsg_send()
3342 bfad_im_bsg_els_ct_request(struct bsg_job *job) in bfad_im_bsg_els_ct_request()
3551 bfad_im_bsg_request(struct bsg_job *job) in bfad_im_bsg_request()
3579 bfad_im_bsg_timeout(struct bsg_job *job) in bfad_im_bsg_timeout()
/drivers/scsi/ufs/
Dufs_bsg.c43 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer()
81 static int ufs_bsg_request(struct bsg_job *job) in ufs_bsg_request()
/drivers/s390/scsi/
Dzfcp_ext.h103 extern int zfcp_fc_exec_bsg_job(struct bsg_job *);
104 extern int zfcp_fc_timeout_bsg_job(struct bsg_job *);
Dzfcp_fc.c948 struct bsg_job *job = data; in zfcp_fc_ct_els_job_handler()
958 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) in zfcp_fc_job_wka_port()
991 struct bsg_job *job = data; in zfcp_fc_ct_job_handler()
1000 static int zfcp_fc_exec_els_job(struct bsg_job *job, in zfcp_fc_exec_els_job()
1023 static int zfcp_fc_exec_ct_job(struct bsg_job *job, in zfcp_fc_exec_ct_job()
1046 int zfcp_fc_exec_bsg_job(struct bsg_job *job) in zfcp_fc_exec_bsg_job()
1076 int zfcp_fc_timeout_bsg_job(struct bsg_job *job) in zfcp_fc_timeout_bsg_job()
/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c451 struct bsg_job *job) in pqi_build_csmi_smp_passthru_buffer()
496 struct bmic_csmi_smp_passthru_buffer *smp_buf, struct bsg_job *job, in pqi_build_sas_smp_handler_reply()
511 void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, in pqi_sas_smp_handler()
Dsmartpqi.h1426 void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost,
/drivers/scsi/libfc/
Dfc_lport.c140 struct bsg_job *job;
1876 struct bsg_job *job = info->job; in fc_lport_bsg_resp()
1936 static int fc_lport_els_request(struct bsg_job *job, in fc_lport_els_request()
1996 static int fc_lport_ct_request(struct bsg_job *job, in fc_lport_ct_request()
2054 int fc_lport_bsg_request(struct bsg_job *job) in fc_lport_bsg_request()
/drivers/scsi/be2iscsi/
Dbe_mgmt.h36 struct bsg_job *job,
Dbe_mgmt.c35 struct bsg_job *job, in mgmt_vendor_specific_fw_cmd()
/drivers/scsi/
Dscsi_transport_fc.c3557 struct bsg_job *job = blk_mq_rq_to_pdu(req); in fc_bsg_job_timeout()
3590 static int fc_bsg_host_dispatch(struct Scsi_Host *shost, struct bsg_job *job) in fc_bsg_host_dispatch()
3683 static int fc_bsg_rport_dispatch(struct Scsi_Host *shost, struct bsg_job *job) in fc_bsg_rport_dispatch()
3733 static int fc_bsg_dispatch(struct bsg_job *job) in fc_bsg_dispatch()
3756 static int fc_bsg_dispatch_prep(struct bsg_job *job) in fc_bsg_dispatch_prep()
Dscsi_transport_sas.c172 static int sas_smp_dispatch(struct bsg_job *job) in sas_smp_dispatch()
/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1833 _transport_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, in _transport_smp_handler()

12