Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/scsi/qla2xxx/
Dqla_bsg.c25 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()
30 __func__, sp->handle, res, bsg_job); in qla2x00_bsg_job_done()
36 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
43 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local
44 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free()
53 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
54 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free()
58 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free()
59 bsg_job->reply_payload.sg_cnt, DMA_FROM_DEVICE); in qla2x00_bsg_sp_free()
[all …]
Dqla_edif.c20 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()
491 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start() argument
494 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start()
[all …]
Dqla_edif.h29 struct bsg_job *bsg_job; member
54 struct bsg_job *dbell_bsg_job;
Dqla_iocb.c3151 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local
3152 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb()
3160 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
3163 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
3174 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb()
3176 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb()
3178 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb()
3181 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb()
3183 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla24xx_els_iocb()
3186 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb()
[all …]
Dqla_gbl.h141 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);
899 extern int qla24xx_bsg_request(struct bsg_job *);
900 extern int qla24xx_bsg_timeout(struct bsg_job *);
906 extern int qla24xx_sadb_update(struct bsg_job *bsg_job);
987 int32_t qla_edif_app_mgmt(struct bsg_job *bsg_job);
Dqla_isr.c2055 struct bsg_job *bsg_job; in qla2x00_ct_entry() local
2066 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry()
2067 bsg_reply = bsg_job->reply; in qla2x00_ct_entry()
2078 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry()
2102 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry()
2103 bsg_job->reply_len = 0; in qla2x00_ct_entry()
2128 struct bsg_job *bsg_job; in qla24xx_els_ct_entry() local
2141 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry()
2160 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla24xx_els_ct_entry()
2166 comp_status, p->e.extra_rx_xchg_address, bsg_job); in qla24xx_els_ct_entry()
[all …]
Dqla_mr.c2186 struct bsg_job *bsg_job; in qlafx00_ioctl_iosb_entry() local
2206 bsg_job = sp->u.bsg_job; in qlafx00_ioctl_iosb_entry()
2207 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry()
2223 fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); in qlafx00_ioctl_iosb_entry()
2226 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qlafx00_ioctl_iosb_entry()
2238 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry()
3223 struct bsg_job *bsg_job; in qlafx00_fxdisc_iocb() local
3269 bsg_job = sp->u.bsg_job; in qlafx00_fxdisc_iocb()
3270 bsg_request = bsg_job->request; in qlafx00_fxdisc_iocb()
3292 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb()
[all …]
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_bsg.c12 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 …]
Dql4_glbl.h198 int qla4xxx_bsg_request(struct bsg_job *bsg_job);
199 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job);
/linux-6.1.9/include/linux/
Dbsg-lib.h14 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
70 void bsg_job_put(struct bsg_job *job);
71 int __must_check bsg_job_get(struct bsg_job *job);
/linux-6.1.9/block/
Dbsg-lib.c31 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()
380 set->cmd_size = sizeof(struct bsg_job) + dd_job_size; in bsg_setup_queue()
/linux-6.1.9/drivers/scsi/libsas/
Dsas_internal.h75 void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost,
103 extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost);
105 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()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_bsg.c96 struct bsg_job *set_job; /* job waiting for this iocb to finish */
295 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp()
379 lpfc_bsg_send_mgmt_cmd(struct bsg_job *job) in lpfc_bsg_send_mgmt_cmd()
554 struct bsg_job *job; in lpfc_bsg_rport_els_cmp()
642 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els()
906 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event()
1166 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event()
1249 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event()
1361 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp()
1444 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp()
[all …]
/linux-6.1.9/drivers/ufs/core/
Dufs_bsg.c48 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer()
86 static int ufs_bsg_request(struct bsg_job *job) in ufs_bsg_request()
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_im.h198 int bfad_im_bsg_request(struct bsg_job *job);
199 int bfad_im_bsg_timeout(struct bsg_job *job);
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_app.c140 struct bsg_job *job) in mpi3mr_enable_logdata()
178 struct bsg_job *job) in mpi3mr_get_logdata()
212 struct bsg_job *job) in mpi3mr_bsg_pel_enable()
294 struct bsg_job *job) in mpi3mr_get_all_tgt_info()
379 struct bsg_job *job) in mpi3mr_get_change_count()
406 struct bsg_job *job) in mpi3mr_bsg_adp_reset()
458 struct bsg_job *job) in mpi3mr_bsg_populate_adpinfo()
507 static long mpi3mr_bsg_process_drv_cmds(struct bsg_job *job) in mpi3mr_bsg_process_drv_cmds()
948 static long mpi3mr_bsg_process_mpt_cmds(struct bsg_job *job, unsigned int *reply_payload_rcv_len) in mpi3mr_bsg_process_mpt_cmds()
1455 static int mpi3mr_bsg_request(struct bsg_job *job) in mpi3mr_bsg_request()
/linux-6.1.9/drivers/s390/scsi/
Dzfcp_ext.h104 extern int zfcp_fc_exec_bsg_job(struct bsg_job *);
105 extern int zfcp_fc_timeout_bsg_job(struct bsg_job *);
Dzfcp_fc.c970 struct bsg_job *job = data; in zfcp_fc_ct_els_job_handler()
980 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) in zfcp_fc_job_wka_port()
1013 struct bsg_job *job = data; in zfcp_fc_ct_job_handler()
1022 static int zfcp_fc_exec_els_job(struct bsg_job *job, in zfcp_fc_exec_els_job()
1045 static int zfcp_fc_exec_ct_job(struct bsg_job *job, in zfcp_fc_exec_ct_job()
1068 int zfcp_fc_exec_bsg_job(struct bsg_job *job) in zfcp_fc_exec_bsg_job()
1098 int zfcp_fc_timeout_bsg_job(struct bsg_job *job) in zfcp_fc_timeout_bsg_job()
/linux-6.1.9/include/scsi/
Dscsi_transport_fc.h711 int (*bsg_request)(struct bsg_job *);
712 int (*bsg_timeout)(struct bsg_job *);
868 static inline struct Scsi_Host *fc_bsg_to_shost(struct bsg_job *job) in fc_bsg_to_shost()
875 static inline struct fc_rport *fc_bsg_to_rport(struct bsg_job *job) in fc_bsg_to_rport()
Dscsi_transport_iscsi.h28 struct bsg_job;
136 int (*bsg_request)(struct bsg_job *job);
Dscsi_transport_sas.h183 void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,
/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c458 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-6.1.9/drivers/scsi/be2iscsi/
Dbe_mgmt.h36 struct bsg_job *job,
/linux-6.1.9/drivers/scsi/libfc/
Dfc_lport.c143 struct bsg_job *job;
1952 struct bsg_job *job = info->job; in fc_lport_bsg_resp()
2013 static int fc_lport_els_request(struct bsg_job *job, in fc_lport_els_request()
2073 static int fc_lport_ct_request(struct bsg_job *job, in fc_lport_ct_request()
2131 int fc_lport_bsg_request(struct bsg_job *job) in fc_lport_bsg_request()

12