Home
last modified time | relevance | path

Searched refs:pq_head (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dwl.c284 int pq_tail = ubi->pq_head - 1; in prot_queue_add()
502 list_for_each_entry_safe(e, tmp, &ubi->pq[ubi->pq_head], u.list) { in serve_prot_queue()
519 ubi->pq_head += 1; in serve_prot_queue()
520 if (ubi->pq_head == UBI_PROT_QUEUE_LEN) in serve_prot_queue()
521 ubi->pq_head = 0; in serve_prot_queue()
522 ubi_assert(ubi->pq_head >= 0 && ubi->pq_head < UBI_PROT_QUEUE_LEN); in serve_prot_queue()
1551 ubi->pq_head = 0;
H A Dubi.h583 int pq_head; member
/openbmc/linux/drivers/mtd/ubi/
H A Dwl.c300 int pq_tail = ubi->pq_head - 1; in prot_queue_add()
510 list_for_each_entry_safe(e, tmp, &ubi->pq[ubi->pq_head], u.list) { in serve_prot_queue()
527 ubi->pq_head += 1; in serve_prot_queue()
528 if (ubi->pq_head == UBI_PROT_QUEUE_LEN) in serve_prot_queue()
529 ubi->pq_head = 0; in serve_prot_queue()
530 ubi_assert(ubi->pq_head >= 0 && ubi->pq_head < UBI_PROT_QUEUE_LEN); in serve_prot_queue()
1804 ubi->pq_head = 0;
H A Dubi.h612 int pq_head; member