Lines Matching refs:lst
199 available = c->main_bytes - c->lst.total_used; in ubifs_calc_available()
223 available -= c->lst.total_dead; in ubifs_calc_available()
231 available -= c->lst.total_dark; in ubifs_calc_available()
239 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
240 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
299 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
300 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
326 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space()
327 c->lst.taken_empty_lebs; in do_budget_space()
682 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_get_free_space_nolock()
683 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_get_free_space_nolock()
686 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_get_free_space_nolock()
687 c->lst.taken_empty_lebs; in ubifs_get_free_space_nolock()