Lines Matching refs:min_idx_lebs
209 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs) in ubifs_calc_available() argument
221 subtract_lebs = min_idx_lebs; in ubifs_calc_available()
255 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
256 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
309 int lebs, rsvd_idx_lebs, min_idx_lebs; in do_budget_space() local
312 min_idx_lebs = ubifs_calc_min_idx_lebs(c); in do_budget_space()
315 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
316 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
346 "rsvd_idx_lebs %d", min_idx_lebs, c->min_idx_lebs, in do_budget_space()
351 available = ubifs_calc_available(c, min_idx_lebs); in do_budget_space()
363 c->min_idx_lebs = min_idx_lebs; in do_budget_space()
564 c->min_idx_lebs = ubifs_calc_min_idx_lebs(c); in ubifs_release_budget()
569 ubifs_assert(c->min_idx_lebs < c->main_lebs); in ubifs_release_budget()
595 c->min_idx_lebs = ubifs_calc_min_idx_lebs(c); in ubifs_convert_page_budget()
685 ubifs_assert(c->min_idx_lebs == ubifs_calc_min_idx_lebs(c)); in ubifs_get_free_space_nolock()
687 available = ubifs_calc_available(c, c->min_idx_lebs); in ubifs_get_free_space_nolock()
700 if (c->min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
701 rsvd_idx_lebs = c->min_idx_lebs - c->lst.idx_lebs; in ubifs_get_free_space_nolock()