Searched refs:UBI_PROT_QUEUE_LEN (Results 1 – 2 of 2) sorted by relevance
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()599 if (ubi->pq_head == UBI_PROT_QUEUE_LEN) in serve_prot_queue()601 ubi_assert(ubi->pq_head >= 0 && ubi->pq_head < UBI_PROT_QUEUE_LEN); in serve_prot_queue()1454 for (i = 0; i < UBI_PROT_QUEUE_LEN; i++) in ubi_wl_init_scan()1547 for (i = 0; i < UBI_PROT_QUEUE_LEN; ++i) { in protection_queue_destroy()1659 for (i = 0; i < UBI_PROT_QUEUE_LEN; ++i) in paranoid_check_in_pq()
83 #define UBI_PROT_QUEUE_LEN 10 macro434 struct list_head pq[UBI_PROT_QUEUE_LEN];