Lines Matching refs:ubifs_assert

186 	ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt);  in scan_for_dirty()
191 ubifs_assert(c, lprops->lnum == data.lnum); in scan_for_dirty()
192 ubifs_assert(c, lprops->free + lprops->dirty >= min_space); in scan_for_dirty()
193 ubifs_assert(c, lprops->dirty >= c->dead_wm || in scan_for_dirty()
196 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in scan_for_dirty()
197 ubifs_assert(c, !exclude_index || !(lprops->flags & LPROPS_INDEX)); in scan_for_dirty()
318 ubifs_assert(c, lp->free + lp->dirty >= c->dead_wm); in ubifs_find_dirty_leb()
329 ubifs_assert(c, lp->dirty >= c->dead_wm || in ubifs_find_dirty_leb()
465 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in do_find_free_space()
470 ubifs_assert(c, lprops->lnum == data.lnum); in do_find_free_space()
471 ubifs_assert(c, lprops->free >= min_space); in do_find_free_space()
472 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in do_find_free_space()
473 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in do_find_free_space()
577 ubifs_assert(c, *offs <= c->leb_size - min_space); in ubifs_find_free_space()
645 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_leb_for_idx()
650 ubifs_assert(c, lprops->lnum == data.lnum); in scan_for_leb_for_idx()
651 ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size); in scan_for_leb_for_idx()
652 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in scan_for_leb_for_idx()
653 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in scan_for_leb_for_idx()
693 ubifs_assert(c, c->freeable_cnt == 0); in ubifs_find_free_leb_for_idx()
870 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in find_dirty_idx_leb()
875 ubifs_assert(c, lprops->lnum == data.lnum); in find_dirty_idx_leb()
876 ubifs_assert(c, lprops->free + lprops->dirty >= c->min_idx_node_sz); in find_dirty_idx_leb()
877 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in find_dirty_idx_leb()
878 ubifs_assert(c, (lprops->flags & LPROPS_INDEX)); in find_dirty_idx_leb()
947 ubifs_assert(c, lp->flags & LPROPS_TAKEN); in find_dirtiest_idx_leb()
948 ubifs_assert(c, lp->flags & LPROPS_INDEX); in find_dirtiest_idx_leb()