| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_bsg.c | 14 static int qla28xx_validate_flash_image(struct bsg_job *bsg_job); 27 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_job_done() local 28 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla2x00_bsg_job_done() 33 __func__, sp->handle, res, bsg_job); in qla2x00_bsg_job_done() 39 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done() 49 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local 50 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free() 59 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free() 60 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free() 64 bsg_job->reply_payload.sg_list, 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 *); 234 static int qla_bsg_check(scsi_qla_host_t *vha, struct bsg_job *bsg_job, in qla_bsg_check() argument 238 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check() 240 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla_bsg_check() 258 (struct qla_bsg_auth_els_reply *)bsg_job->reply; in qla_bsg_check() 260 qla_pur_get_pending(vha, fcport, bsg_job); in qla_bsg_check() 266 rpl->r.reply_payload_rcv_len, bsg_job); in qla_bsg_check() 274 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check() 535 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start() argument 538 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_iocb.c | 3179 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local 3180 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb() 3188 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb() 3191 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb() 3202 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb() 3204 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb() 3206 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb() 3209 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb() 3211 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla24xx_els_iocb() 3214 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb() [all …]
|
| H A D | qla_isr.c | 2243 struct bsg_job *bsg_job; in qla2x00_ct_entry() local 2254 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry() 2255 bsg_reply = bsg_job->reply; in qla2x00_ct_entry() 2266 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry() 2290 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry() 2291 bsg_job->reply_len = 0; in qla2x00_ct_entry() 2316 struct bsg_job *bsg_job; in qla24xx_els_ct_entry() local 2329 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry() 2348 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla24xx_els_ct_entry() 2354 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/block/ |
| H A D | bsg-lib.c | 31 struct bsg_job *job; in bsg_transport_sg_io_fn() 158 struct bsg_job *job = container_of(kref, struct bsg_job, kref); in bsg_teardown_job() 169 void bsg_job_put(struct bsg_job *job) in bsg_job_put() 175 int bsg_job_get(struct bsg_job *job) in bsg_job_get() 189 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done() 207 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_complete() 234 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_prepare_job() 304 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_init_rq() 315 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_exit_rq() 383 set->cmd_size = sizeof(struct bsg_job) + dd_job_size; in bsg_setup_queue()
|
| /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/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/libsas/ |
| H A D | sas_internal.h | 86 void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost, 115 extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost); 117 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/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);
|
| H A D | bfad_bsg.c | 3149 bfad_im_bsg_vendor_request(struct bsg_job *job) in bfad_im_bsg_vendor_request() 3328 bfad_fcxp_bsg_send(struct bsg_job *job, struct bfad_fcxp *drv_fcxp, in bfad_fcxp_bsg_send() 3368 bfad_im_bsg_els_ct_request(struct bsg_job *job) in bfad_im_bsg_els_ct_request() 3577 bfad_im_bsg_request(struct bsg_job *job) in bfad_im_bsg_request() 3605 bfad_im_bsg_timeout(struct bsg_job *job) in bfad_im_bsg_timeout()
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_fc.c | 981 struct bsg_job *job = data; in zfcp_fc_ct_els_job_handler() 991 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) in zfcp_fc_job_wka_port() 1024 struct bsg_job *job = data; in zfcp_fc_ct_job_handler() 1033 static int zfcp_fc_exec_els_job(struct bsg_job *job, in zfcp_fc_exec_els_job() 1056 static int zfcp_fc_exec_ct_job(struct bsg_job *job, in zfcp_fc_exec_ct_job() 1079 int zfcp_fc_exec_bsg_job(struct bsg_job *job) in zfcp_fc_exec_bsg_job() 1109 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/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()
|
| H A D | smartpqi.h | 1701 void pqi_sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost,
|
| /linux/include/scsi/ |
| 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/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()
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_fc.c | 4101 struct bsg_job *job = blk_mq_rq_to_pdu(req); in fc_bsg_job_timeout() 4134 static int fc_bsg_host_dispatch(struct Scsi_Host *shost, struct bsg_job *job) in fc_bsg_host_dispatch() 4227 static int fc_bsg_rport_dispatch(struct Scsi_Host *shost, struct bsg_job *job) in fc_bsg_rport_dispatch() 4277 static int fc_bsg_dispatch(struct bsg_job *job) in fc_bsg_dispatch() 4301 static int fc_bsg_dispatch_prep(struct bsg_job *job) in fc_bsg_dispatch_prep()
|