Lines Matching refs:lst
58 n = c->lst.empty_lebs + c->freeable_cnt - in valuable()
59 c->lst.taken_empty_lebs; in valuable()
234 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()
243 if (c->bi.min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb()
244 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_dirty_leb()
267 exclude_index = (c->bi.min_idx_lebs >= c->lst.idx_lebs); in ubifs_find_dirty_leb()
492 if (c->bi.min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space()
493 rsvd_idx_lebs = c->bi.min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space()
496 lebs = c->lst.empty_lebs + c->freeable_cnt + c->idx_gc_cnt - in ubifs_find_free_space()
497 c->lst.taken_empty_lebs; in ubifs_find_free_space()
503 if (c->lst.empty_lebs - c->lst.taken_empty_lebs > 0) { in ubifs_find_free_space()
524 c->lst.taken_empty_lebs += 1; in ubifs_find_free_space()
545 c->lst.taken_empty_lebs -= 1; in ubifs_find_free_space()
571 c->lst.taken_empty_lebs -= 1; in ubifs_find_free_space()
680 c->lst.empty_lebs - c->lst.taken_empty_lebs > 0) { in ubifs_find_free_leb_for_idx()