Searched refs:lebs (Results 1 – 2 of 2) sorted by relevance
296 int lebs, rsvd_idx_lebs, min_idx_lebs; in do_budget_space() local329 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space()331 if (unlikely(rsvd_idx_lebs > lebs)) { in do_budget_space()667 int rsvd_idx_lebs, lebs; in ubifs_get_free_space_nolock() local689 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_get_free_space_nolock()691 lebs -= rsvd_idx_lebs; in ubifs_get_free_space_nolock()692 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
231 int lebs, rsvd_idx_lebs = 0; in ubifs_find_dirty_leb() local234 lebs = c->lst.empty_lebs + c->idx_gc_cnt; in ubifs_find_dirty_leb()235 lebs += c->freeable_cnt - c->lst.taken_empty_lebs; in ubifs_find_dirty_leb()250 if (rsvd_idx_lebs < lebs) { in ubifs_find_dirty_leb()485 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local496 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_find_free_space()498 if (rsvd_idx_lebs < lebs) in ubifs_find_free_space()