Home
last modified time | relevance | path

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

/drivers/scsi/fnic/
Dfnic_scsi.c512 CMD_SP(sc) = (char *)io_req; in fnic_queuecommand_lck()
529 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_queuecommand_lck()
530 CMD_SP(sc) = NULL; in fnic_queuecommand_lck()
813 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_fcpio_icmnd_cmpl_handler()
936 CMD_SP(sc) = NULL; in fnic_fcpio_icmnd_cmpl_handler()
1020 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_fcpio_itmf_cmpl_handler()
1106 CMD_SP(sc) = NULL; in fnic_fcpio_itmf_cmpl_handler()
1278 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_cleanup_io()
1301 CMD_SP(sc) = NULL; in fnic_cleanup_io()
1366 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
/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()
4041 sp = (struct srb *)CMD_SP(cmd); in __qla1280_print_scsi_cmd()
4061 printk(" SP=0x%p\n", CMD_SP(cmd)); in __qla1280_print_scsi_cmd()
/drivers/scsi/qla2xxx/
Dqla_os.c648 CMD_SP(cmd) = NULL; in qla2x00_sp_free_dma()
758 CMD_SP(cmd) = (void *)sp; in qla2xxx_queuecommand()
814 while (CMD_SP(cmd) && wait_iter--) { in qla2x00_eh_wait_on_command()
817 if (CMD_SP(cmd)) in qla2x00_eh_wait_on_command()
949 if (!CMD_SP(cmd)) in qla2xxx_eh_abort()
961 sp = (srb_t *) CMD_SP(cmd); in qla2xxx_eh_abort()
1006 if (ret == FAILED && !CMD_SP(cmd)) in qla2xxx_eh_abort()
Dqla_def.h3708 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
/drivers/scsi/libfc/
Dfc_fcp.c63 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) macro
2055 fsp = CMD_SP(sc_cmd); in fc_eh_abort()
/drivers/scsi/qla4xxx/
Dql4_def.h217 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
Dql4_os.c4022 CMD_SP(cmd) = (void *)srb; in qla4xxx_get_new_srb()
4035 CMD_SP(cmd) = NULL; in qla4xxx_srb_free_dma()
4616 if (cmd != NULL && CMD_SP(cmd)) in qla4xxx_cmd_wait()
9109 srb = (struct srb *)CMD_SP(cmd); in qla4xxx_del_from_active_array()
9151 rp = (struct srb *) CMD_SP(cmd); in qla4xxx_eh_wait_on_command()
9238 srb = (struct srb *) CMD_SP(cmd); in qla4xxx_eh_abort()