Searched refs:pq_head (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | wl.c | 300 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() 1794 ubi->pq_head = 0;
|
H A D | ubi.h | 504 * @pq_head: protection queue head 505 * @wl_lock: protects the @used, @free, @pq, @pq_head, @lookuptbl, @move_from, 614 int pq_head; member
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | wl.c | 300 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 D | ubi.h | 502 * @pq_head: protection queue head 503 * @wl_lock: protects the @used, @free, @pq, @pq_head, @lookuptbl, @move_from, 612 int pq_head; member
|
Completed in 10 milliseconds