Lines Matching refs:tail_idx
206 while (q->tail_idx != q->head_idx) { in ionic_adminq_flush()
207 desc = &q->adminq[q->tail_idx]; in ionic_adminq_flush()
208 desc_info = &q->admin_info[q->tail_idx]; in ionic_adminq_flush()
211 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_adminq_flush()
259 comp = &((union ionic_notifyq_comp *)cq->base)[cq->tail_idx]; in ionic_notifyq_service()
310 comp = &((struct ionic_admin_comp *)cq->base)[cq->tail_idx]; in ionic_adminq_service()
316 if (q->tail_idx == q->head_idx) in ionic_adminq_service()
320 desc_info = &q->admin_info[q->tail_idx]; in ionic_adminq_service()
321 index = q->tail_idx; in ionic_adminq_service()
322 q->tail_idx = (q->tail_idx + 1) & (q->num_descs - 1); in ionic_adminq_service()
347 if (q->tail_idx == q->head_idx) { in ionic_adminq_poke_doorbell()