Searched refs:pq_tail (Results 1 – 1 of 1) sorted by relevance
341 int pq_tail = ubi->pq_head - 1; in prot_queue_add() local343 if (pq_tail < 0) in prot_queue_add()344 pq_tail = UBI_PROT_QUEUE_LEN - 1; in prot_queue_add()345 ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); in prot_queue_add()346 list_add_tail(&e->u.list, &ubi->pq[pq_tail]); in prot_queue_add()