Lines Matching refs:cq_head
556 * below, but before we can reset cq_head to zero at 2. Also cope with
563 if (qpair->cq_head == qpair->num_entries) {
565 * Here we know that we need to zero cq_head and then negate
566 * the phase, which hasn't been assigned if cq_head isn't
569 qpair->cq_head = 0;
571 } else if (qpair->cq_head == 0) {
586 cpl = qpair->cpl[qpair->cq_head];
605 * qpair->cq_head at 1 below. Later, we re-enter this
610 * won't have updated cq_head. Rather than panic again,
616 nvme_dump_completion(&qpair->cpl[qpair->cq_head]);
626 if (++qpair->cq_head == qpair->num_entries) { /* 1 */
627 atomic_store_rel_int(&qpair->cq_head, 0); /* 2 */
632 qpair->cq_hdbl_off, qpair->cq_head);
1155 qpair->sq_head = qpair->sq_tail = qpair->cq_head = 0;