Home
last modified time | relevance | path

Searched refs:lebs (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/ubifs/
Dbudget.c308 int lebs, rsvd_idx_lebs, min_idx_lebs; in do_budget_space() local
341 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in do_budget_space()
343 if (unlikely(rsvd_idx_lebs > lebs)) { in do_budget_space()
679 int rsvd_idx_lebs, lebs; in ubifs_get_free_space_nolock() local
701 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_get_free_space_nolock()
703 lebs -= rsvd_idx_lebs; in ubifs_get_free_space_nolock()
704 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
Dfind.c243 int lebs, rsvd_idx_lebs = 0; in ubifs_find_dirty_leb() local
246 lebs = c->lst.empty_lebs + c->idx_gc_cnt; in ubifs_find_dirty_leb()
247 lebs += c->freeable_cnt - c->lst.taken_empty_lebs; in ubifs_find_dirty_leb()
262 if (rsvd_idx_lebs < lebs) { in ubifs_find_dirty_leb()
497 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local
508 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_find_free_space()
510 if (rsvd_idx_lebs < lebs) in ubifs_find_free_space()