Lines Matching refs:ubi_assert
155 ubi_assert(e->pnum != e1->pnum); in wl_tree_add()
218 ubi_assert(ubi->works_count >= 0); in do_work()
253 ubi_assert(e == e1); in in_wl_tree()
262 ubi_assert(e->pnum != e1->pnum); in in_wl_tree()
310 ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); in prot_queue_add()
542 ubi_assert(ubi->pq_head >= 0 && ubi->pq_head < UBI_PROT_QUEUE_LEN); in serve_prot_queue()
558 ubi_assert(ubi->works_count >= 0); in __schedule_ubi_work()
600 ubi_assert(e); in schedule_erase()
682 ubi_assert(!ubi->move_from && !ubi->move_to);
683 ubi_assert(!ubi->move_to_put);
885 ubi_assert(0);
957 ubi_assert(!ubi->move_to_put);
1001 ubi_assert(err != 0);
1267 ubi_assert(pnum >= 0);
1268 ubi_assert(pnum < ubi->peb_count);
1311 ubi_assert(!ubi->move_to_put);
1327 ubi_assert(ubi->erroneous_peb_count >= 0);
1452 ubi_assert(ubi->works_count >= 0);
1740 ubi_assert(ubi->works_count >= 0);
1840 ubi_assert(e->ec >= 0);
1884 ubi_assert(!ubi->lookuptbl[e->pnum]);
1920 ubi_assert(ubi->good_peb_count == found_pebs);
2089 ubi_assert(ubi->free_count >= 0);
2141 ubi_assert(list_empty(&ubi->works));