Home
last modified time | relevance | path

Searched refs:min_idx_lebs (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/fs/ubifs/
Dbudget.c209 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()
[all …]
Dfind.c255 if (c->min_idx_lebs >= c->lst.idx_lebs) { in ubifs_find_dirty_leb()
256 rsvd_idx_lebs = c->min_idx_lebs - c->lst.idx_lebs; in ubifs_find_dirty_leb()
279 exclude_index = (c->min_idx_lebs >= c->lst.idx_lebs); in ubifs_find_dirty_leb()
504 if (c->min_idx_lebs > c->lst.idx_lebs) in ubifs_find_free_space()
505 rsvd_idx_lebs = c->min_idx_lebs - c->lst.idx_lebs; in ubifs_find_free_space()
Dtnc_commit.c805 ubifs_assert(c->min_idx_lebs == ubifs_calc_min_idx_lebs(c)); in ubifs_tnc_start_commit()
808 c->min_idx_lebs = ubifs_calc_min_idx_lebs(c); in ubifs_tnc_start_commit()
Dubifs.h1316 int min_idx_lebs; member
1546 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs);
Dsuper.c745 c->min_idx_lebs = ubifs_calc_min_idx_lebs(c); in init_constants_master()
1316 c->min_idx_lebs = ubifs_calc_min_idx_lebs(c); in mount_ubifs()
Ddebug.c623 "calc_idx_sz %lld, idx_gc_cnt %d\n", c->min_idx_lebs, in dbg_dump_budg()
651 available = ubifs_calc_available(c, c->min_idx_lebs); in dbg_dump_budg()