Lines Matching refs:eqe_cnt
553 int eqe_cnt, i;
573 eqe_cnt = 0;
576 eqe_cache[eqe_cnt].eqe = ehca_poll_eq(shca, eq);
577 if (!eqe_cache[eqe_cnt].eqe)
579 eqe_value = eqe_cache[eqe_cnt].eqe->entry;
583 eqe_cache[eqe_cnt].cq = idr_find(&ehca_cq_idr, token);
584 if (eqe_cache[eqe_cnt].cq)
585 atomic_inc(&eqe_cache[eqe_cnt].cq->nr_events);
587 if (!eqe_cache[eqe_cnt].cq) {
594 eqe_cache[eqe_cnt].cq = NULL;
595 eqe_cnt++;
596 } while (eqe_cnt < EHCA_EQE_CACHE_SIZE);
597 if (!eqe_cnt) {
607 ehca_dbg(&shca->ib_device, "deadman found %x eqe", eqe_cnt);
609 if (unlikely(eqe_cnt == EHCA_EQE_CACHE_SIZE))
612 for (i = 0; i < eqe_cnt; i++) {
621 for (i = 0; i < eqe_cnt; i++)