Lines Matching refs:ubifs_assert

174 	ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt);  in scan_for_dirty()
179 ubifs_assert(c, lprops->lnum == data.lnum); in scan_for_dirty()
180 ubifs_assert(c, lprops->free + lprops->dirty >= min_space); in scan_for_dirty()
181 ubifs_assert(c, lprops->dirty >= c->dead_wm || in scan_for_dirty()
184 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in scan_for_dirty()
185 ubifs_assert(c, !exclude_index || !(lprops->flags & LPROPS_INDEX)); in scan_for_dirty()
306 ubifs_assert(c, lp->free + lp->dirty >= c->dead_wm); in ubifs_find_dirty_leb()
317 ubifs_assert(c, lp->dirty >= c->dead_wm || in ubifs_find_dirty_leb()
453 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in do_find_free_space()
458 ubifs_assert(c, lprops->lnum == data.lnum); in do_find_free_space()
459 ubifs_assert(c, lprops->free >= min_space); in do_find_free_space()
460 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in do_find_free_space()
461 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in do_find_free_space()
565 ubifs_assert(c, *offs <= c->leb_size - min_space); in ubifs_find_free_space()
633 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_leb_for_idx()
638 ubifs_assert(c, lprops->lnum == data.lnum); in scan_for_leb_for_idx()
639 ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size); in scan_for_leb_for_idx()
640 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in scan_for_leb_for_idx()
641 ubifs_assert(c, !(lprops->flags & LPROPS_INDEX)); in scan_for_leb_for_idx()
681 ubifs_assert(c, c->freeable_cnt == 0); in ubifs_find_free_leb_for_idx()
851 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in find_dirty_idx_leb()
856 ubifs_assert(c, lprops->lnum == data.lnum); in find_dirty_idx_leb()
857 ubifs_assert(c, lprops->free + lprops->dirty >= c->min_idx_node_sz); in find_dirty_idx_leb()
858 ubifs_assert(c, !(lprops->flags & LPROPS_TAKEN)); in find_dirty_idx_leb()
859 ubifs_assert(c, (lprops->flags & LPROPS_INDEX)); in find_dirty_idx_leb()
928 ubifs_assert(c, lp->flags & LPROPS_TAKEN); in find_dirtiest_idx_leb()
929 ubifs_assert(c, lp->flags & LPROPS_INDEX); in find_dirtiest_idx_leb()