/linux-master/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, 70 void bsg_job_put(struct bsg_job *job); 71 int __must_check bsg_job_get(struct bsg_job *job);
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_bsg.c | 25 struct bsg_job *bsg_job = sp->u.bsg_job; local 26 struct fc_bsg_reply *bsg_reply = bsg_job->reply; 30 __func__, sp->handle, res, bsg_job); 36 bsg_job_done(bsg_job, bsg_reply->result, 43 struct bsg_job *bsg_job = sp->u.bsg_job; local 44 struct fc_bsg_request *bsg_request = bsg_job 141 qla24xx_proc_fcp_prio_cfg_cmd(struct bsg_job *bsg_job) argument 269 qla2x00_process_els(struct bsg_job *bsg_job) argument 461 qla2x00_process_ct(struct bsg_job *bsg_job) argument 739 qla2x00_process_loopback(struct bsg_job *bsg_job) argument 982 qla84xx_reset(struct bsg_job *bsg_job) argument 1018 qla84xx_updatefw(struct bsg_job *bsg_job) argument 1128 qla84xx_mgmt_cmd(struct bsg_job *bsg_job) argument 1324 qla24xx_iidma(struct bsg_job *bsg_job) argument 1413 qla2x00_optrom_setup(struct bsg_job *bsg_job, scsi_qla_host_t *vha, uint8_t is_update) argument 1483 qla2x00_read_optrom(struct bsg_job *bsg_job) argument 1520 qla2x00_update_optrom(struct bsg_job *bsg_job) argument 1561 qla2x00_update_fru_versions(struct bsg_job *bsg_job) argument 1614 qla2x00_read_fru_status(struct bsg_job *bsg_job) argument 1665 qla2x00_write_fru_status(struct bsg_job *bsg_job) argument 1712 qla2x00_write_i2c(struct bsg_job *bsg_job) argument 1758 qla2x00_read_i2c(struct bsg_job *bsg_job) argument 1808 qla24xx_process_bidir_cmd(struct bsg_job *bsg_job) argument 1986 qlafx00_mgmt_cmd(struct bsg_job *bsg_job) argument 2109 qla26xx_serdes_op(struct bsg_job *bsg_job) argument 2151 qla8044_serdes_op(struct bsg_job *bsg_job) argument 2193 qla27xx_get_flash_upd_cap(struct bsg_job *bsg_job) argument 2225 qla27xx_set_flash_upd_cap(struct bsg_job *bsg_job) argument 2271 qla27xx_get_bbcr_data(struct bsg_job *bsg_job) argument 2330 qla2x00_get_priv_stats(struct bsg_job *bsg_job) argument 2389 qla2x00_do_dport_diagnostics(struct bsg_job *bsg_job) argument 2433 qla2x00_do_dport_diagnostics_v2(struct bsg_job *bsg_job) argument 2516 qla2x00_get_flash_image_status(struct bsg_job *bsg_job) argument 2559 qla2x00_manage_host_stats(struct bsg_job *bsg_job) argument 2628 qla2x00_get_host_stats(struct bsg_job *bsg_job) argument 2733 qla2x00_get_tgt_stats(struct bsg_job *bsg_job) argument 2822 qla2x00_manage_host_port(struct bsg_job *bsg_job) argument 2880 qla2x00_process_vendor_specific(struct scsi_qla_host *vha, struct bsg_job *bsg_job) argument 2985 qla24xx_bsg_request(struct bsg_job *bsg_job) argument 3063 qla24xx_bsg_timeout(struct bsg_job *bsg_job) argument 3127 qla2x00_mailbox_passthru(struct bsg_job *bsg_job) argument [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, argument 237 struct fc_bsg_reply *bsg_reply = bsg_job->reply; 239 (struct qla_bsg_auth_els_request *)bsg_job->request; 257 (struct qla_bsg_auth_els_reply *)bsg_job->reply; 259 qla_pur_get_pending(vha, fcport, bsg_job); 265 rpl->r.reply_payload_rcv_len, bsg_job); 273 bsg_job_done(bsg_job, bsg_reply->result, 528 * @bsg_job 534 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 671 qla_edif_app_stop(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 754 qla_edif_app_authok(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 867 qla_edif_app_authfail(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 940 qla_edif_app_getfcinfo(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 1068 qla_edif_app_getstats(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 1135 qla_edif_ack(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 1168 qla_edif_consume_dbell(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 1234 __qla_edif_dbell_bsg_done(scsi_qla_host_t *vha, struct bsg_job *bsg_job, u32 delay) argument 1265 qla_edif_dbell_bsg(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument 1293 qla_edif_app_mgmt(struct bsg_job *bsg_job) argument 1472 qla24xx_check_sadb_avail_slot(struct bsg_job *bsg_job, fc_port_t *fcport, struct qla_sa_update_frame *sa_frame) argument 1543 qla24xx_sadb_update(struct bsg_job *bsg_job) argument 2024 qla_pur_get_pending(scsi_qla_host_t *vha, fc_port_t *fcport, struct bsg_job *bsg_job) argument 3514 struct bsg_job *bsg_job = sp->u.bsg_cmd.bsg_job; local 3538 qla_edif_process_els(scsi_qla_host_t *vha, struct bsg_job *bsg_job) argument [all...] |
H A D | qla_edif.h | 29 struct bsg_job *bsg_job; member in struct:edif_sa_ctl 54 struct bsg_job *dbell_bsg_job;
|
H A D | qla_gbl.h | 139 int qla_edif_process_els(scsi_qla_host_t *vha, struct bsg_job *bsgjob); 672 extern int qla2x00_mailbox_passthru(struct bsg_job *bsg_job); 673 int qla2x00_sys_ld_info(struct bsg_job *bsg_job); 892 extern int qla24xx_bsg_request(struct bsg_job *); 893 extern int qla24xx_bsg_timeout(struct bsg_job *); 899 extern int qla24xx_sadb_update(struct bsg_job *bsg_job); 982 int32_t qla_edif_app_mgmt(struct bsg_job *bsg_jo [all...] |
H A D | qla_iocb.c | 3181 struct bsg_job *bsg_job = sp->u.bsg_job; local 3182 struct fc_bsg_request *bsg_request = bsg_job->request; 3190 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); 3193 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); 3204 cpu_to_le32(bsg_job->reply_payload.payload_len); 3206 cpu_to_le32(bsg_job->request_payload.payload_len); 3208 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), 3211 (bsg_job 3231 struct bsg_job *bsg_job = sp->u.bsg_job; local 3298 struct bsg_job *bsg_job = sp->u.bsg_job; local 4061 struct bsg_job *bsg_job = sp->u.bsg_job; local [all...] |
H A D | qla_isr.c | 2221 struct bsg_job *bsg_job; local 2232 bsg_job = sp->u.bsg_job; 2233 bsg_reply = bsg_job->reply; 2244 bsg_job->reply_len = sizeof(struct fc_bsg_reply); 2268 bsg_job->reply_payload.payload_len; 2269 bsg_job->reply_len = 0; 2294 struct bsg_job *bsg_job; local 3152 struct bsg_job *bsg_job = NULL; local [all...] |
H A D | qla_mr.c | 2186 struct bsg_job *bsg_job; local 2206 bsg_job = sp->u.bsg_job; 2207 bsg_reply = bsg_job->reply; 2223 fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); 2226 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + 2238 bsg_job->reply_payload.payload_len; 3223 struct bsg_job *bsg_job; local [all...] |
/linux-master/drivers/scsi/qla4xxx/ |
H A D | ql4_bsg.c | 12 qla4xxx_read_flash(struct bsg_job *bsg_job) argument 14 struct Scsi_Host *host = iscsi_job_to_shost(bsg_job); 16 struct iscsi_bsg_reply *bsg_reply = bsg_job->reply; 17 struct iscsi_bsg_request *bsg_req = bsg_job->request; 44 length = bsg_job->reply_payload.payload_len; 62 sg_copy_from_buffer(bsg_job->reply_payload.sg_list, 63 bsg_job->reply_payload.sg_cnt, 68 bsg_job_done(bsg_job, bsg_reply->result, 77 qla4xxx_update_flash(struct bsg_job *bsg_jo argument 142 qla4xxx_get_acb_state(struct bsg_job *bsg_job) argument 199 qla4xxx_read_nvram(struct bsg_job *bsg_job) argument 271 qla4xxx_update_nvram(struct bsg_job *bsg_job) argument 340 qla4xxx_restore_defaults(struct bsg_job *bsg_job) argument 384 qla4xxx_bsg_get_acb(struct bsg_job *bsg_job) argument 448 ql4xxx_execute_diag_cmd(struct bsg_job *bsg_job) argument 652 qla4xxx_execute_diag_loopback_cmd(struct bsg_job *bsg_job) argument 752 qla4xxx_execute_diag_test(struct bsg_job *bsg_job) argument 809 qla4xxx_process_vendor_specific(struct bsg_job *bsg_job) argument 856 qla4xxx_bsg_request(struct bsg_job *bsg_job) argument [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-master/block/ |
H A D | bsg-lib.c | 31 struct bsg_job *job; 154 * @kref: kref inside bsg_job that is to be torn down 158 struct bsg_job *job = container_of(kref, struct bsg_job, kref); 169 void bsg_job_put(struct bsg_job *job) 175 int bsg_job_get(struct bsg_job *job) 183 * @job: bsg_job that is complete 189 void bsg_job_done(struct bsg_job *job, int result, 207 struct bsg_job *job = blk_mq_rq_to_pdu(rq); 228 * bsg_prepare_job - create the bsg_job structur [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_im.h | 198 int bfad_im_bsg_request(struct bsg_job *job); 199 int bfad_im_bsg_timeout(struct bsg_job *job);
|
/linux-master/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, 67 static int ufs_bsg_exec_advanced_rpmb_req(struct ufs_hba *hba, struct bsg_job *job) 132 static int ufs_bsg_request(struct bsg_job *job)
|
/linux-master/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,
|
H A D | sas_host_smp.c | 225 void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost)
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 96 struct bsg_job *set_job; /* job waiting for this iocb to finish */ 295 struct bsg_job *job; 379 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) 554 struct bsg_job *job; 642 lpfc_bsg_rport_els(struct bsg_job *job) 906 struct bsg_job *job = NULL; 1166 lpfc_bsg_hba_set_event(struct bsg_job *job) 1249 lpfc_bsg_hba_get_event(struct bsg_job *job) 1361 struct bsg_job *job; 1444 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *jo [all...] |
/linux-master/drivers/s390/scsi/ |
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 *);
|
H A D | zfcp_fc.c | 977 struct bsg_job *job = data; 987 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) 1020 struct bsg_job *job = data; 1029 static int zfcp_fc_exec_els_job(struct bsg_job *job, 1052 static int zfcp_fc_exec_ct_job(struct bsg_job *job, 1075 int zfcp_fc_exec_bsg_job(struct bsg_job *job) 1105 int zfcp_fc_timeout_bsg_job(struct bsg_job *job)
|
/linux-master/drivers/scsi/smartpqi/ |
H A D | smartpqi_sas_transport.c | 458 struct bsg_job *job) 502 struct bmic_csmi_smp_passthru_buffer *smp_buf, struct bsg_job *job, 517 void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost,
|
/linux-master/include/scsi/ |
H A D | scsi_transport_fc.h | 712 int (*bsg_request)(struct bsg_job *); 713 int (*bsg_timeout)(struct bsg_job *); 870 static inline struct Scsi_Host *fc_bsg_to_shost(struct bsg_job *job) 877 static inline struct fc_rport *fc_bsg_to_rport(struct bsg_job *job)
|
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 *,
|
/linux-master/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 140 struct bsg_job *job) 178 struct bsg_job *job) 212 struct bsg_job *job) 310 struct bsg_job *job) 387 struct bsg_job *job) 414 struct bsg_job *job) 466 struct bsg_job *job) 515 static long mpi3mr_bsg_process_drv_cmds(struct bsg_job *job) 1210 static long mpi3mr_bsg_process_mpt_cmds(struct bsg_job *job) 1768 static int mpi3mr_bsg_request(struct bsg_job *jo [all...] |
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be_mgmt.h | 36 struct bsg_job *job,
|
/linux-master/drivers/scsi/libfc/ |
H A D | fc_lport.c | 143 struct bsg_job *job; 1958 struct bsg_job *job = info->job; 2019 static int fc_lport_els_request(struct bsg_job *job, 2079 static int fc_lport_ct_request(struct bsg_job *job, 2137 int fc_lport_bsg_request(struct bsg_job *job)
|