Lines Matching refs:ubi_assert
160 ubi_assert(e->pnum != e1->pnum); in wl_tree_add()
217 ubi_assert(ubi->works_count >= 0); in do_work()
252 ubi_assert(e == e1); in in_wl_tree()
261 ubi_assert(e->pnum != e1->pnum); in in_wl_tree()
288 ubi_assert(pq_tail >= 0 && pq_tail < UBI_PROT_QUEUE_LEN); in prot_queue_add()
522 ubi_assert(ubi->pq_head >= 0 && ubi->pq_head < UBI_PROT_QUEUE_LEN); in serve_prot_queue()
565 ubi_assert(ubi->works_count >= 0); in __schedule_ubi_work()
608 ubi_assert(e); in schedule_erase()
691 ubi_assert(!ubi->move_from && !ubi->move_to);
692 ubi_assert(!ubi->move_to_put);
865 ubi_assert(0);
928 ubi_assert(!ubi->move_to_put);
960 ubi_assert(err != 0);
1205 ubi_assert(pnum >= 0);
1206 ubi_assert(pnum < ubi->peb_count);
1237 ubi_assert(!ubi->move_to_put);
1253 ubi_assert(ubi->erroneous_peb_count >= 0);
1378 ubi_assert(ubi->works_count >= 0);
1515 ubi_assert(ubi->works_count >= 0);
1581 ubi_assert(e->ec >= 0);
1620 ubi_assert(ubi->good_peb_count ==
1629 ubi_assert(ubi->good_peb_count == found_pebs);
1798 ubi_assert(ubi->free_count >= 0);
1850 ubi_assert(list_empty(&ubi->works));