/linux/drivers/scsi/qla2xxx/ |
H A D | qla_bsg.c | 25 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_job_done() local 26 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() 31 __func__, sp->handle, res, bsg_job); in qla2x00_bsg_job_done() 37 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done() 47 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local 48 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free() 57 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 58 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 62 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free() 63 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free() [all …]
|
H A D | qla_edif.c | 20 static int qla_pur_get_pending(scsi_qla_host_t *, fc_port_t *, struct bsg_job *); 233 static int qla_bsg_check(scsi_qla_host_t *vha, struct bsg_job *bsg_job, in qla_bsg_check() argument 237 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check() 239 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla_bsg_check() 257 (struct qla_bsg_auth_els_reply *)bsg_job->reply; in qla_bsg_check() 259 qla_pur_get_pending(vha, fcport, bsg_job); in qla_bsg_check() 265 rpl->r.reply_payload_rcv_len, bsg_job); in qla_bsg_check() 273 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check() 534 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start() argument 537 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start() [all …]
|
H A D | qla_edif.h | 29 struct bsg_job *bsg_job; member 54 struct bsg_job *dbell_bsg_job;
|
H A D | qla_gbl.h | 142 int qla_edif_process_els(scsi_qla_host_t *vha, struct bsg_job *bsgjob); 675 extern int qla2x00_mailbox_passthru(struct bsg_job *bsg_job); 676 int qla2x00_sys_ld_info(struct bsg_job *bsg_job); 895 extern int qla24xx_bsg_request(struct bsg_job *); 896 extern int qla24xx_bsg_timeout(struct bsg_job *); 902 extern int qla24xx_sadb_update(struct bsg_job *bsg_job); 985 int32_t qla_edif_app_mgmt(struct bsg_job *bsg_job);
|
H A D | qla_iocb.c | 3181 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local 3182 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb() 3190 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 3193 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 3204 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb() 3206 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 3208 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb() 3211 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() 3213 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla24xx_els_iocb() 3216 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb() [all …]
|
H A D | qla_isr.c | 2221 struct bsg_job *bsg_job; in qla2x00_ct_entry() local 2232 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry() 2233 bsg_reply = bsg_job->reply; in qla2x00_ct_entry() 2244 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry() 2268 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry() 2269 bsg_job->reply_len = 0; in qla2x00_ct_entry() 2294 struct bsg_job *bsg_job; in qla24xx_els_ct_entry() local 2307 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry() 2326 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla24xx_els_ct_entry() 2332 comp_status, p->e.extra_rx_xchg_address, bsg_job); in qla24xx_els_ct_entry() [all …]
|
H A D | qla_mr.c | 2184 struct bsg_job *bsg_job; in qlafx00_ioctl_iosb_entry() local 2204 bsg_job = sp->u.bsg_job; in qlafx00_ioctl_iosb_entry() 2205 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry() 2221 fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); in qlafx00_ioctl_iosb_entry() 2224 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qlafx00_ioctl_iosb_entry() 2236 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry() 3221 struct bsg_job *bsg_job; in qlafx00_fxdisc_iocb() local 3267 bsg_job = sp->u.bsg_job; in qlafx00_fxdisc_iocb() 3268 bsg_request = bsg_job->request; in qlafx00_fxdisc_iocb() 3290 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb() [all …]
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 12 qla4xxx_read_flash(struct bsg_job *bsg_job) in qla4xxx_read_flash() argument 14 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); in qla4xxx_read_flash() 16 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; in qla4xxx_read_flash() 17 struct iscsi_bsg_request *bsg_req = bsg_job->request; in qla4xxx_read_flash() 44 length = bsg_job->reply_payload.payload_len; in qla4xxx_read_flash() 62 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, in qla4xxx_read_flash() 63 bsg_job->reply_payload.sg_cnt, in qla4xxx_read_flash() 68 bsg_job_done(bsg_job, bsg_reply->result, in qla4xxx_read_flash() 77 qla4xxx_update_flash(struct bsg_job *bsg_job) in qla4xxx_update_flash() argument 79 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); in qla4xxx_update_flash() [all …]
|
H A D | ql4_glbl.h | 198 int qla4xxx_bsg_request(struct bsg_job *bsg_job); 199 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job);
|
/linux/include/linux/ |
H A D | bsg-lib.h | 14 struct bsg_job; 20 typedef int (bsg_job_fn) (struct bsg_job *); 29 struct bsg_job { struct 65 void bsg_job_done(struct bsg_job *job, int result, argument 71 void bsg_job_put(struct bsg_job *job); 72 int __must_check bsg_job_get(struct bsg_job *job);
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 96 struct bsg_job *set_job; /* job waiting for this iocb to finish */ 305 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp() 389 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) in lpfc_bsg_send_mgmt_cmd() 568 struct bsg_job *job; in lpfc_bsg_rport_els_cmp() 656 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els() 920 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event() 1180 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event() 1263 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event() 1375 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp() 1458 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp() [all …]
|
/linux/drivers/scsi/libsas/ |
H A D | sas_internal.h | 85 void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, 114 extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost); 116 static inline void sas_smp_host_handler(struct bsg_job *job, in sas_smp_host_handler()
|
H A D | sas_host_smp.c | 225 void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost) in sas_smp_host_handler()
|
/linux/drivers/ufs/core/ |
H A D | ufs_bsg.c | 29 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer() 67 static int ufs_bsg_exec_advanced_rpmb_req(struct ufs_hba *hba, struct bsg_job *job) in ufs_bsg_exec_advanced_rpmb_req() 132 static int ufs_bsg_request(struct bsg_job *job) in ufs_bsg_request()
|
/linux/drivers/scsi/bfa/ |
H A D | bfad_im.h | 197 int bfad_im_bsg_request(struct bsg_job *job); 198 int bfad_im_bsg_timeout(struct bsg_job *job);
|
/linux/include/scsi/ |
H A D | scsi_transport_fc.h | 707 int (*bsg_request)(struct bsg_job *); 708 int (*bsg_timeout)(struct bsg_job *); 864 static inline struct Scsi_Host *fc_bsg_to_shost(struct bsg_job *job) in fc_bsg_to_shost() 871 static inline struct fc_rport *fc_bsg_to_rport(struct bsg_job *job) in fc_bsg_to_rport()
|
H A D | scsi_transport_iscsi.h | 28 struct bsg_job; 136 int (*bsg_request)(struct bsg_job *job);
|
H A D | scsi_transport_sas.h | 183 void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,
|
H A D | libfc.h | 925 int fc_lport_bsg_request(struct bsg_job *);
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_fc.c | 982 struct bsg_job *job = data; in zfcp_fc_ct_els_job_handler() 992 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) in zfcp_fc_job_wka_port() 1025 struct bsg_job *job = data; in zfcp_fc_ct_job_handler() 1034 static int zfcp_fc_exec_els_job(struct bsg_job *job, in zfcp_fc_exec_els_job() 1057 static int zfcp_fc_exec_ct_job(struct bsg_job *job, in zfcp_fc_exec_ct_job() 1080 int zfcp_fc_exec_bsg_job(struct bsg_job *job) in zfcp_fc_exec_bsg_job() 1110 int zfcp_fc_timeout_bsg_job(struct bsg_job *job) in zfcp_fc_timeout_bsg_job()
|
H A D | zfcp_ext.h | 107 extern int zfcp_fc_exec_bsg_job(struct bsg_job *); 108 extern int zfcp_fc_timeout_bsg_job(struct bsg_job *);
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 962 struct bsg_job *job) in mpi3mr_bsg_refresh_hdb_triggers() 1020 struct bsg_job *job) in mpi3mr_bsg_upload_hdb() 1086 struct bsg_job *job) in mpi3mr_bsg_repost_hdb() 1149 struct bsg_job *job) in mpi3mr_bsg_query_hdb() 1213 struct bsg_job *job) in mpi3mr_enable_logdata() 1251 struct bsg_job *job) in mpi3mr_get_logdata() 1285 struct bsg_job *job) in mpi3mr_bsg_pel_enable() 1383 struct bsg_job *job) in mpi3mr_get_all_tgt_info() 1460 struct bsg_job *job) in mpi3mr_get_change_count() 1487 struct bsg_job *job) in mpi3mr_bsg_adp_reset() [all …]
|
/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 458 struct bsg_job *job) in pqi_build_csmi_smp_passthru_buffer() 502 struct bmic_csmi_smp_passthru_buffer *smp_buf, struct bsg_job *job, in pqi_build_sas_smp_handler_reply() 517 void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, in pqi_sas_smp_handler()
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_mgmt.h | 36 struct bsg_job *job,
|
/linux/drivers/scsi/libfc/ |
H A D | fc_lport.c | 143 struct bsg_job *job; 1958 struct bsg_job *job = info->job; in fc_lport_bsg_resp() 2019 static int fc_lport_els_request(struct bsg_job *job, in fc_lport_els_request() 2079 static int fc_lport_ct_request(struct bsg_job *job, in fc_lport_ct_request() 2137 int fc_lport_bsg_request(struct bsg_job *job) in fc_lport_bsg_request()
|