Home
last modified time | relevance | path

Searched refs:pq_tail (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dwl.c284 int pq_tail = ubi->pq_head - 1; in prot_queue_add() local
286 if (pq_tail < 0) in prot_queue_add()
287 pq_tail = UBI_PROT_QUEUE_LEN - 1; in prot_queue_add()
288 ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); in prot_queue_add()
289 list_add_tail(&e->u.list, &ubi->pq[pq_tail]); in prot_queue_add()
/openbmc/linux/drivers/mtd/ubi/
H A Dwl.c300 int pq_tail = ubi->pq_head - 1; in prot_queue_add() local
302 if (pq_tail < 0) in prot_queue_add()
303 pq_tail = UBI_PROT_QUEUE_LEN - 1; in prot_queue_add()
304 ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); in prot_queue_add()
305 list_add_tail(&e->u.list, &ubi->pq[pq_tail]); in prot_queue_add()