Home
last modified time | relevance | path

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

12

/Linux-v5.15/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()
35 bsg_job_done(bsg_job, bsg_reply->result, in qla2x00_bsg_job_done()
42 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local
43 struct fc_bsg_request *bsg_request = bsg_job->request; in qla2x00_bsg_sp_free()
52 bsg_job->request_payload.sg_list, in qla2x00_bsg_sp_free()
53 bsg_job->request_payload.sg_cnt, DMA_TO_DEVICE); in qla2x00_bsg_sp_free()
57 bsg_job->reply_payload.sg_list, in qla2x00_bsg_sp_free()
58 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 *);
208 static int qla_bsg_check(scsi_qla_host_t *vha, struct bsg_job *bsg_job, in qla_bsg_check() argument
212 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_bsg_check()
214 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla_bsg_check()
232 (struct qla_bsg_auth_els_reply *)bsg_job->reply; in qla_bsg_check()
234 qla_pur_get_pending(vha, fcport, bsg_job); in qla_bsg_check()
240 rpl->r.reply_payload_rcv_len, bsg_job); in qla_bsg_check()
248 bsg_job_done(bsg_job, bsg_reply->result, in qla_bsg_check()
524 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start() argument
527 struct fc_bsg_reply *bsg_reply = bsg_job->reply; in qla_edif_app_start()
[all …]
Dqla_edif.h29 struct bsg_job *bsg_job; member
Dqla_iocb.c3117 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local
3118 struct fc_bsg_request *bsg_request = bsg_job->request; in qla24xx_els_iocb()
3126 els_iocb->tx_dsd_count = cpu_to_le16(bsg_job->request_payload.sg_cnt); in qla24xx_els_iocb()
3129 els_iocb->rx_dsd_count = cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qla24xx_els_iocb()
3140 cpu_to_le32(bsg_job->reply_payload.payload_len); in qla24xx_els_iocb()
3142 cpu_to_le32(bsg_job->request_payload.payload_len); in qla24xx_els_iocb()
3144 put_unaligned_le64(sg_dma_address(bsg_job->request_payload.sg_list), in qla24xx_els_iocb()
3147 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb()
3149 put_unaligned_le64(sg_dma_address(bsg_job->reply_payload.sg_list), in qla24xx_els_iocb()
3152 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb()
[all …]
Dqla_isr.c2054 struct bsg_job *bsg_job; in qla2x00_ct_entry() local
2065 bsg_job = sp->u.bsg_job; in qla2x00_ct_entry()
2066 bsg_reply = bsg_job->reply; in qla2x00_ct_entry()
2077 bsg_job->reply_len = sizeof(struct fc_bsg_reply); in qla2x00_ct_entry()
2101 bsg_job->reply_payload.payload_len; in qla2x00_ct_entry()
2102 bsg_job->reply_len = 0; in qla2x00_ct_entry()
2127 struct bsg_job *bsg_job; in qla24xx_els_ct_entry() local
2140 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry()
2159 (struct qla_bsg_auth_els_request *)bsg_job->request; in qla24xx_els_ct_entry()
2165 comp_status, p->e.extra_rx_xchg_address, bsg_job); in qla24xx_els_ct_entry()
[all …]
Dqla_gbl.h143 int qla_edif_process_els(scsi_qla_host_t *vha, struct bsg_job *bsgjob);
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);
988 int32_t qla_edif_app_mgmt(struct bsg_job *bsg_job);
Dqla_mr.c2208 struct bsg_job *bsg_job; in qlafx00_ioctl_iosb_entry() local
2228 bsg_job = sp->u.bsg_job; in qlafx00_ioctl_iosb_entry()
2229 bsg_reply = bsg_job->reply; in qlafx00_ioctl_iosb_entry()
2245 fw_sts_ptr = bsg_job->reply + sizeof(struct fc_bsg_reply); in qlafx00_ioctl_iosb_entry()
2248 bsg_job->reply_len = sizeof(struct fc_bsg_reply) + in qlafx00_ioctl_iosb_entry()
2260 bsg_job->reply_payload.payload_len; in qlafx00_ioctl_iosb_entry()
3245 struct bsg_job *bsg_job; in qlafx00_fxdisc_iocb() local
3291 bsg_job = sp->u.bsg_job; in qlafx00_fxdisc_iocb()
3292 bsg_request = bsg_job->request; in qlafx00_fxdisc_iocb()
3314 cpu_to_le16(bsg_job->request_payload.sg_cnt); in qlafx00_fxdisc_iocb()
[all …]
/Linux-v5.15/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-v5.15/include/linux/
Dbsg-lib.h15 struct bsg_job;
21 typedef int (bsg_job_fn) (struct bsg_job *);
30 struct bsg_job { struct
66 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-v5.15/block/
Dbsg-lib.c31 struct bsg_job *job; in bsg_transport_sg_io_fn()
151 struct bsg_job *job = container_of(kref, struct bsg_job, kref); in bsg_teardown_job()
162 void bsg_job_put(struct bsg_job *job) in bsg_job_put()
168 int bsg_job_get(struct bsg_job *job) in bsg_job_get()
182 void bsg_job_done(struct bsg_job *job, int result, in bsg_job_done()
200 struct bsg_job *job = blk_mq_rq_to_pdu(rq); in bsg_complete()
227 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_prepare_job()
297 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_init_rq()
308 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_initialize_rq()
320 struct bsg_job *job = blk_mq_rq_to_pdu(req); in bsg_exit_rq()
[all …]
/Linux-v5.15/drivers/scsi/libsas/
Dsas_internal.h73 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()
/Linux-v5.15/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()
576 struct bsg_job *job; in lpfc_bsg_rport_els_cmp()
658 lpfc_bsg_rport_els(struct bsg_job *job) in lpfc_bsg_rport_els()
928 struct bsg_job *job = NULL; in lpfc_bsg_ct_unsol_event()
1182 lpfc_bsg_hba_set_event(struct bsg_job *job) in lpfc_bsg_hba_set_event()
1265 lpfc_bsg_hba_get_event(struct bsg_job *job) in lpfc_bsg_hba_get_event()
1377 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 …]
Dlpfc_crtn.h500 int lpfc_bsg_request(struct bsg_job *);
501 int lpfc_bsg_timeout(struct bsg_job *);
/Linux-v5.15/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);
/Linux-v5.15/drivers/scsi/ufs/
Dufs_bsg.c42 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer()
80 static int ufs_bsg_request(struct bsg_job *job) in ufs_bsg_request()
/Linux-v5.15/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.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()
/Linux-v5.15/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.h182 void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,
/Linux-v5.15/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-v5.15/drivers/scsi/be2iscsi/
Dbe_mgmt.h36 struct bsg_job *job,
/Linux-v5.15/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