Searched refs:pq_tail (Results 1 – 1 of 1) sorted by relevance
306 int pq_tail = ubi->pq_head - 1; in prot_queue_add() local308 if (pq_tail < 0) in prot_queue_add()309 pq_tail = UBI_PROT_QUEUE_LEN - 1; in prot_queue_add()310 ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); in prot_queue_add()311 list_add_tail(&e->u.list, &ubi->pq[pq_tail]); in prot_queue_add()