Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c25 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_job_done() local
43 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_bsg_sp_free() local
269 qla2x00_process_els(struct bsg_job *bsg_job) in qla2x00_process_els() argument
412 sp->u.bsg_job = bsg_job; in qla2x00_process_els()
461 qla2x00_process_ct(struct bsg_job *bsg_job) in qla2x00_process_ct() argument
559 sp->u.bsg_job = bsg_job; in qla2x00_process_ct()
982 qla84xx_reset(struct bsg_job *bsg_job) in qla84xx_reset() argument
1324 qla24xx_iidma(struct bsg_job *bsg_job) in qla24xx_iidma() argument
1946 sp->u.bsg_job = bsg_job; in qla24xx_process_bidir_cmd()
2072 sp->u.bsg_job = bsg_job; in qlafx00_mgmt_cmd()
[all …]
H A Dqla_edif.c534 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start() argument
671 qla_edif_app_stop(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_stop() argument
754 qla_edif_app_authok(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_authok() argument
1135 qla_edif_ack(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_ack() argument
1265 qla_edif_dbell_bsg(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_dbell_bsg() argument
1293 qla_edif_app_mgmt(struct bsg_job *bsg_job) in qla_edif_app_mgmt() argument
1543 qla24xx_sadb_update(struct bsg_job *bsg_job) in qla24xx_sadb_update() argument
1788 sp->u.bsg_job = bsg_job; in qla24xx_sadb_update()
2025 struct bsg_job *bsg_job) in qla_pur_get_pending() argument
3514 struct bsg_job *bsg_job = sp->u.bsg_cmd.bsg_job; in qla_parse_auth_els_ctl() local
[all …]
H A Dqla_edif.h29 struct bsg_job *bsg_job; member
54 struct bsg_job *dbell_bsg_job;
H A Dqla_gbl.h139 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_job);
H A Dqla_iocb.c3181 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_els_iocb() local
3211 (bsg_job->request_payload.sg_list)); in qla24xx_els_iocb()
3216 (bsg_job->reply_payload.sg_list)); in qla24xx_els_iocb()
3231 struct bsg_job *bsg_job = sp->u.bsg_job; in qla2x00_ct_iocb() local
3262 tot_dsds = bsg_job->reply_payload.sg_cnt; in qla2x00_ct_iocb()
3298 struct bsg_job *bsg_job = sp->u.bsg_job; in qla24xx_ct_iocb() local
3311 cmd_dsds = bsg_job->request_payload.sg_cnt; in qla24xx_ct_iocb()
3312 rsp_dsds = bsg_job->reply_payload.sg_cnt; in qla24xx_ct_iocb()
4061 struct bsg_job *bsg_job = sp->u.bsg_job; in qla25xx_build_bidir_iocb() local
4095 bsg_job->request_payload.sg_cnt, index) { in qla25xx_build_bidir_iocb()
[all …]
H A Dqla_isr.c2221 struct bsg_job *bsg_job; in qla2x00_ct_entry() local
2232 bsg_job = sp->u.bsg_job; 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()
2455 bsg_job = sp->u.bsg_job; in qla24xx_els_ct_entry()
2456 bsg_reply = bsg_job->reply; in qla24xx_els_ct_entry()
2489 bsg_job->reply_len = 0; in qla24xx_els_ct_entry()
3152 struct bsg_job *bsg_job = NULL; in qla25xx_process_bidir_status_iocb() local
3178 bsg_job = sp->u.bsg_job; in qla25xx_process_bidir_status_iocb()
[all …]
H A 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()
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()
3294 bsg_job->request_payload.sg_cnt; in qlafx00_fxdisc_iocb()
3348 cpu_to_le16(bsg_job->reply_payload.sg_cnt); in qlafx00_fxdisc_iocb()
3349 tot_dsds = bsg_job->reply_payload.sg_cnt; in qlafx00_fxdisc_iocb()
[all …]
/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_bsg.c12 qla4xxx_read_flash(struct bsg_job *bsg_job) in qla4xxx_read_flash() argument
77 qla4xxx_update_flash(struct bsg_job *bsg_job) in qla4xxx_update_flash() argument
142 qla4xxx_get_acb_state(struct bsg_job *bsg_job) in qla4xxx_get_acb_state() argument
199 qla4xxx_read_nvram(struct bsg_job *bsg_job) in qla4xxx_read_nvram() argument
271 qla4xxx_update_nvram(struct bsg_job *bsg_job) in qla4xxx_update_nvram() argument
340 qla4xxx_restore_defaults(struct bsg_job *bsg_job) in qla4xxx_restore_defaults() argument
384 qla4xxx_bsg_get_acb(struct bsg_job *bsg_job) in qla4xxx_bsg_get_acb() argument
448 static void ql4xxx_execute_diag_cmd(struct bsg_job *bsg_job) in ql4xxx_execute_diag_cmd() argument
752 static int qla4xxx_execute_diag_test(struct bsg_job *bsg_job) in qla4xxx_execute_diag_test() argument
809 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job) in qla4xxx_process_vendor_specific() argument
[all …]
H A Dql4_glbl.h198 int qla4xxx_bsg_request(struct bsg_job *bsg_job);
199 int qla4xxx_process_vendor_specific(struct bsg_job *bsg_job);
/openbmc/linux/include/linux/
H A 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);
/openbmc/linux/block/
H A 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()
381 set->cmd_size = sizeof(struct bsg_job) + dd_job_size; in bsg_setup_queue()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_internal.h73 void sas_smp_handler(struct bsg_job *job, struct Scsi_Host *shost,
102 extern void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost);
104 static inline void sas_smp_host_handler(struct bsg_job *job, in sas_smp_host_handler()
H A Dsas_host_smp.c225 void sas_smp_host_handler(struct bsg_job *job, struct Scsi_Host *shost) in sas_smp_host_handler()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.c295 struct bsg_job *job; in lpfc_bsg_send_mgmt_cmd_cmp()
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()
1361 struct bsg_job *job; in lpfc_issue_ct_rsp_cmp()
3374 struct bsg_job *job; in lpfc_bsg_issue_mbox_cmpl()
3542 static struct bsg_job *
3546 struct bsg_job *job; in lpfc_bsg_issue_mbox_ext_handle_job()
3637 struct bsg_job *job; in lpfc_bsg_issue_read_mbox_ext_cmpl()
3677 struct bsg_job *job; in lpfc_bsg_issue_write_mbox_ext_cmpl()
[all …]
/openbmc/linux/drivers/ufs/core/
H A Dufs_bsg.c29 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()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfad_im.h198 int bfad_im_bsg_request(struct bsg_job *job);
199 int bfad_im_bsg_timeout(struct bsg_job *job);
/openbmc/linux/drivers/scsi/mpi3mr/
H A 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()
310 struct bsg_job *job) in mpi3mr_get_all_tgt_info()
387 struct bsg_job *job) in mpi3mr_get_change_count()
414 struct bsg_job *job) in mpi3mr_bsg_adp_reset()
466 struct bsg_job *job) in mpi3mr_bsg_populate_adpinfo()
515 static long mpi3mr_bsg_process_drv_cmds(struct bsg_job *job) in mpi3mr_bsg_process_drv_cmds()
957 static long mpi3mr_bsg_process_mpt_cmds(struct bsg_job *job, unsigned int *reply_payload_rcv_len) in mpi3mr_bsg_process_mpt_cmds()
1464 static int mpi3mr_bsg_request(struct bsg_job *job) in mpi3mr_bsg_request()
/openbmc/linux/drivers/s390/scsi/
H A Dzfcp_ext.h107 extern int zfcp_fc_exec_bsg_job(struct bsg_job *);
108 extern int zfcp_fc_timeout_bsg_job(struct bsg_job *);
H A Dzfcp_fc.c966 struct bsg_job *job = data; in zfcp_fc_ct_els_job_handler()
976 static struct zfcp_fc_wka_port *zfcp_fc_job_wka_port(struct bsg_job *job) in zfcp_fc_job_wka_port()
1009 struct bsg_job *job = data; in zfcp_fc_ct_job_handler()
1018 static int zfcp_fc_exec_els_job(struct bsg_job *job, in zfcp_fc_exec_els_job()
1041 static int zfcp_fc_exec_ct_job(struct bsg_job *job, in zfcp_fc_exec_ct_job()
1064 int zfcp_fc_exec_bsg_job(struct bsg_job *job) in zfcp_fc_exec_bsg_job()
1094 int zfcp_fc_timeout_bsg_job(struct bsg_job *job) in zfcp_fc_timeout_bsg_job()
/openbmc/linux/include/scsi/
H A Dscsi_transport_fc.h712 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) in fc_bsg_to_shost()
877 static inline struct fc_rport *fc_bsg_to_rport(struct bsg_job *job) in fc_bsg_to_rport()
H A Dscsi_transport_iscsi.h28 struct bsg_job;
136 int (*bsg_request)(struct bsg_job *job);
H A Dscsi_transport_sas.h183 void (*smp_handler)(struct bsg_job *, struct Scsi_Host *,
/openbmc/linux/drivers/scsi/smartpqi/
H A 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()
/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.h36 struct bsg_job *job,
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_lport.c143 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()

12