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