Lines Matching refs:fcpim
108 &ioim->fcpim->ioim_comp_q);
137 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
188 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
197 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
220 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
228 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
236 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
270 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
305 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
313 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
334 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
389 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
425 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
442 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
478 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
487 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
496 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
547 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
598 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_resfree_q);
1004 bfa_fcpim_stats(ioim->fcpim, qresumes);
1013 * Move IO from itnim queue to fcpim global queue since itnim will be
1017 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
1020 if (ioim->fcpim->delay_comp && ioim->itnim->iotov_active) {
1051 * Move IO to fcpim global queue since itnim will be
1055 list_add_tail(&ioim->qe, &ioim->fcpim->ioim_comp_q);
1068 bfa_ioim_attach(struct bfa_fcpim_mod_s *fcpim, struct bfa_meminfo_s *minfo)
1080 fcpim->ioim_arr = ioim;
1081 bfa_meminfo_kva(minfo) = (u8 *) (ioim + fcpim->num_ioim_reqs);
1084 fcpim->ioim_sp_arr = iosp;
1085 bfa_meminfo_kva(minfo) = (u8 *) (iosp + fcpim->num_ioim_reqs);
1090 snsbufsz = fcpim->num_ioim_reqs * BFI_IOIM_SNSLEN;
1091 fcpim->snsbase.pa = bfa_meminfo_dma_phys(minfo);
1094 fcpim->snsbase.kva = bfa_meminfo_dma_virt(minfo);
1096 snsinfo = fcpim->snsbase.kva;
1097 bfa_iocfc_set_snsbase(fcpim->bfa, fcpim->snsbase.pa);
1102 INIT_LIST_HEAD(&fcpim->ioim_free_q);
1103 INIT_LIST_HEAD(&fcpim->ioim_resfree_q);
1104 INIT_LIST_HEAD(&fcpim->ioim_comp_q);
1106 for (i = 0; i < fcpim->num_ioim_reqs;
1113 ioim->bfa = fcpim->bfa;
1114 ioim->fcpim = fcpim;
1124 list_add_tail(&ioim->qe, &fcpim->ioim_free_q);
1132 bfa_ioim_detach(struct bfa_fcpim_mod_s *fcpim)
1139 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
1147 ioim = BFA_IOIM_FROM_TAG(fcpim, iotag);
1159 bfa_fcpim_stats(fcpim, iocomp_ok);
1169 bfa_fcpim_stats(fcpim, iocomp_aborted);
1177 bfa_fcpim_stats(fcpim, iocom_proto_err);
1183 bfa_fcpim_stats(fcpim, iocom_sqer_needed);
1189 bfa_fcpim_stats(fcpim, iocom_res_free);
1194 bfa_fcpim_stats(fcpim, iocom_hostabrts);
1208 bfa_fcpim_stats(fcpim, iocom_utags);
1222 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
1229 ioim = BFA_IOIM_FROM_TAG(fcpim, iotag);
1243 bfa_fcpim_stats(ioim->fcpim, io_cleanups);
1253 bfa_fcpim_stats(ioim->fcpim, io_tmaborts);
1290 struct bfa_fcpim_mod_s *fcpim = BFA_FCPIM_MOD(bfa);
1296 bfa_q_deq(&fcpim->ioim_free_q, &ioim);
1298 bfa_fcpim_stats(fcpim, no_iotags);
1307 bfa_stats(fcpim, total_ios);
1309 fcpim->ios_active++;
1320 struct bfa_fcpim_mod_s *fcpim = ioim->fcpim;
1332 fcpim->ios_active--;
1335 list_add_tail(&ioim->qe, &fcpim->ioim_free_q);
1360 bfa_fcpim_stats(ioim->fcpim, io_aborts);