• Home
  • Raw
  • Download

Lines Matching refs:scsim

259 	struct csio_scsim *scsim = csio_hw_to_scsim(hw);  in csio_scsi_cmd()  local
260 uint32_t size = CSIO_SCSI_CMD_WR_SZ_16(scsim->proto_cmd_len); in csio_scsi_cmd()
484 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_read() local
486 CSIO_SCSI_DATA_WRSZ(req, read, size, scsim->proto_cmd_len); in csio_scsi_read()
521 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsi_write() local
523 CSIO_SCSI_DATA_WRSZ(req, write, size, scsim->proto_cmd_len); in csio_scsi_write()
553 csio_setup_ddp(struct csio_scsim *scsim, struct csio_ioreq *req) in csio_setup_ddp() argument
599 CSIO_INC_STATS(scsim, n_unaligned); in csio_setup_ddp()
613 dma_buf = csio_get_scsi_ddp(scsim); in csio_setup_ddp()
614 if (dma_buf == NULL || i > scsim->max_sge) { in csio_setup_ddp()
633 csio_put_scsi_ddp_list(scsim, &req->gen_list, i); in csio_setup_ddp()
706 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_scsis_uninit() local
716 csio_setup_ddp(scsim, req); in csio_scsis_uninit()
724 list_add_tail(&req->sm.sm_list, &scsim->active_q); in csio_scsis_uninit()
726 CSIO_INC_STATS(scsim, n_active); in csio_scsis_uninit()
744 list_add_tail(&req->sm.sm_list, &scsim->active_q); in csio_scsis_uninit()
746 CSIO_INC_STATS(scsim, n_tm_active); in csio_scsis_uninit()
1197 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_abrt_cls() local
1201 CSIO_INC_STATS(scsim, n_abrt_race_comp); in csio_abrt_cls()
1210 CSIO_INC_STATS(scsim, n_abrt_busy_error); in csio_abrt_cls()
1212 CSIO_INC_STATS(scsim, n_cls_busy_error); in csio_abrt_cls()
1783 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_queuecommand() local
1798 CSIO_INC_STATS(scsim, n_rn_nr_error); in csio_queuecommand()
1804 CSIO_INC_STATS(scsim, n_hw_nr_error); in csio_queuecommand()
1811 CSIO_INC_STATS(scsim, n_dmamap_error); in csio_queuecommand()
1816 if (unlikely(nsge > scsim->max_sge)) { in csio_queuecommand()
1819 " SGEs: %d, Max SGEs: %d\n", nsge, scsim->max_sge); in csio_queuecommand()
1820 CSIO_INC_STATS(scsim, n_unsupp_sge_error); in csio_queuecommand()
1825 ioreq = csio_get_scsi_ioreq_lock(hw, scsim); in csio_queuecommand()
1828 scsim->stats.n_active); in csio_queuecommand()
1829 CSIO_INC_STATS(scsim, n_no_req_error); in csio_queuecommand()
1868 CSIO_INC_STATS(scsim, n_busy_error); in csio_queuecommand()
1875 csio_put_scsi_ioreq_lock(hw, scsim, ioreq); in csio_queuecommand()
1918 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_eh_abort_handler() local
1942 CSIO_INC_STATS(scsim, n_abrt_race_comp); in csio_eh_abort_handler()
1962 CSIO_INC_STATS(scsim, n_abrt_busy_error); in csio_eh_abort_handler()
1964 CSIO_INC_STATS(scsim, n_cls_busy_error); in csio_eh_abort_handler()
1975 CSIO_INC_STATS(scsim, n_abrt_timedout); in csio_eh_abort_handler()
2066 struct csio_scsim *scsim = csio_hw_to_scsim(hw); in csio_eh_lun_reset_handler() local
2111 ioreq = csio_get_scsi_ioreq_lock(hw, scsim); in csio_eh_lun_reset_handler()
2115 scsim->stats.n_active); in csio_eh_lun_reset_handler()
2195 csio_scsi_gather_active_ios(scsim, &sld, &local_q); in csio_eh_lun_reset_handler()
2197 retval = csio_scsi_abort_io_q(scsim, &local_q, 30000); in csio_eh_lun_reset_handler()
2207 list_splice_tail_init(&local_q, &scsim->active_q); in csio_eh_lun_reset_handler()
2220 csio_put_scsi_ioreq_lock(hw, scsim, ioreq); in csio_eh_lun_reset_handler()