Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/fnic/
Dfnic_scsi.c526 CMD_SP(sc) = (char *)io_req; in fnic_queuecommand_lck()
541 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_queuecommand_lck()
542 CMD_SP(sc) = NULL; in fnic_queuecommand_lck()
834 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_fcpio_icmnd_cmpl_handler()
957 CMD_SP(sc) = NULL; in fnic_fcpio_icmnd_cmpl_handler()
1041 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_fcpio_itmf_cmpl_handler()
1127 CMD_SP(sc) = NULL; in fnic_fcpio_itmf_cmpl_handler()
1299 io_req = (struct fnic_io_req *)CMD_SP(sc); in fnic_cleanup_io()
1322 CMD_SP(sc) = NULL; in fnic_cleanup_io()
1387 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-4.1.27/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()
4040 sp = (struct srb *)CMD_SP(cmd); in __qla1280_print_scsi_cmd()
4060 printk(" SP=0x%p\n", CMD_SP(cmd)); in __qla1280_print_scsi_cmd()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_os.c647 CMD_SP(cmd) = NULL; in qla2x00_sp_free_dma()
757 CMD_SP(cmd) = (void *)sp; in qla2xxx_queuecommand()
813 while (CMD_SP(cmd) && wait_iter--) { in qla2x00_eh_wait_on_command()
816 if (CMD_SP(cmd)) in qla2x00_eh_wait_on_command()
948 if (!CMD_SP(cmd)) in qla2xxx_eh_abort()
960 sp = (srb_t *) CMD_SP(cmd); in qla2xxx_eh_abort()
1005 if (ret == FAILED && !CMD_SP(cmd)) in qla2xxx_eh_abort()
Dqla_def.h3712 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_def.h217 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) macro
Dql4_os.c4017 CMD_SP(cmd) = (void *)srb; in qla4xxx_get_new_srb()
4030 CMD_SP(cmd) = NULL; in qla4xxx_srb_free_dma()
4611 if (cmd != NULL && CMD_SP(cmd)) in qla4xxx_cmd_wait()
9083 srb = (struct srb *)CMD_SP(cmd); in qla4xxx_del_from_active_array()
9125 rp = (struct srb *) CMD_SP(cmd); in qla4xxx_eh_wait_on_command()
9212 srb = (struct srb *) CMD_SP(cmd); in qla4xxx_eh_abort()
/linux-4.1.27/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()