Home
last modified time | relevance | path

Searched refs:CMD_SP (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/scsi/snic/
Dsnic_scsi.c278 CMD_SP(sc) = (char *) rqi; in snic_issue_scsi_req()
292 rqi = (struct snic_req_info *) CMD_SP(sc); in snic_issue_scsi_req()
293 CMD_SP(sc) = NULL; in snic_issue_scsi_req()
596 rqi = (struct snic_req_info *) CMD_SP(sc); in snic_icmnd_cmpl_handler()
665 CMD_SP(sc) = NULL; in snic_icmnd_cmpl_handler()
693 struct snic_req_info *rqi = (struct snic_req_info *) CMD_SP(sc); in snic_proc_dr_cmpl_locked()
794 rqi = (struct snic_req_info *) CMD_SP(sc); in snic_process_itmf_cmpl()
849 CMD_SP(sc) = NULL; in snic_process_itmf_cmpl()
1073 rqi = (struct snic_req_info *) CMD_SP(sc); in snic_hba_reset_cmpl_handler()
1443 rqi = (struct snic_req_info *) CMD_SP(sc); in snic_abort_finish()
[all …]
Dsnic.h109 #define CMD_SP(Cmnd) \ macro
/Linux-v4.19/drivers/scsi/fnic/
Dfnic_scsi.c564 CMD_SP(sc) = (char *)io_req; in fnic_queuecommand_lck()
579 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_queuecommand_lck()
580 CMD_SP(sc) = NULL; in fnic_queuecommand_lck()
874 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_fcpio_icmnd_cmpl_handler()
989 CMD_SP(sc) = NULL; in fnic_fcpio_icmnd_cmpl_handler()
1101 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_fcpio_itmf_cmpl_handler()
1191 CMD_SP(sc) = NULL; in fnic_fcpio_itmf_cmpl_handler()
1368 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_cleanup_io()
1391 CMD_SP(sc) = NULL; in fnic_cleanup_io()
1456 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_wq_copy_cleanup_handler()
[all …]
Dfnic.h95 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
/Linux-v4.19/drivers/scsi/
Dqla1280.c514 #define CMD_SP(Cmnd) &Cmnd->SCp macro
726 struct srb *sp = (struct srb *)CMD_SP(cmd); in qla1280_queuecommand_lck()
862 sp = (struct srb *)CMD_SP(cmd); in qla1280_error_action()
4036 sp = (struct srb *)CMD_SP(cmd); in __qla1280_print_scsi_cmd()
4056 printk(" SP=0x%p\n", CMD_SP(cmd)); in __qla1280_print_scsi_cmd()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_os.c733 CMD_SP(cmd) = NULL; in qla2x00_sp_free_dma()
806 CMD_SP(cmd) = NULL; in qla2xxx_qpair_sp_free_dma()
936 CMD_SP(cmd) = (void *)sp; in qla2xxx_queuecommand()
1022 CMD_SP(cmd) = (void *)sp; in qla2xxx_mqueuecommand()
1081 while (CMD_SP(cmd) && wait_iter--) { in qla2x00_eh_wait_on_command()
1084 if (CMD_SP(cmd)) in qla2x00_eh_wait_on_command()
1282 if (!CMD_SP(cmd)) in qla2xxx_eh_abort()
1294 sp = (srb_t *) CMD_SP(cmd); in qla2xxx_eh_abort()
1328 if (ret == FAILED && !CMD_SP(cmd)) in qla2xxx_eh_abort()
Dqla_def.h4547 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_def.h220 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
Dql4_os.c4030 CMD_SP(cmd) = (void *)srb; in qla4xxx_get_new_srb()
4043 CMD_SP(cmd) = NULL; in qla4xxx_srb_free_dma()
4624 if (cmd != NULL && CMD_SP(cmd)) in qla4xxx_cmd_wait()
9081 srb = (struct srb *)CMD_SP(cmd); in qla4xxx_del_from_active_array()
9123 rp = (struct srb *) CMD_SP(cmd); in qla4xxx_eh_wait_on_command()
9217 srb = (struct srb *) CMD_SP(cmd); in qla4xxx_eh_abort()
/Linux-v4.19/drivers/scsi/libfc/
Dfc_fcp.c63 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) macro
2136 fsp = CMD_SP(sc_cmd); in fc_eh_abort()