Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/ubifs/
H A Dbudget.c216 subtract_lebs = min_idx_lebs; in ubifs_calc_available()
250 if (c->lst.idx_lebs > min_idx_lebs) { in ubifs_calc_available()
251 subtract_lebs = c->lst.idx_lebs - min_idx_lebs; in ubifs_calc_available()
304 int lebs, rsvd_idx_lebs, min_idx_lebs; in do_budget_space() local
307 min_idx_lebs = ubifs_calc_min_idx_lebs(c); in do_budget_space()
310 if (min_idx_lebs > c->lst.idx_lebs) in do_budget_space()
311 rsvd_idx_lebs = min_idx_lebs - c->lst.idx_lebs; in do_budget_space()
341 min_idx_lebs, c->bi.min_idx_lebs, rsvd_idx_lebs); in do_budget_space()
357 c->bi.min_idx_lebs = min_idx_lebs; in do_budget_space()
557 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in ubifs_release_budget()
[all …]
H A Dubifs.h1576 int min_idx_lebs; member
2174 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs);
H A Dsuper.c927 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in init_constants_master()
1517 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in mount_ubifs()
H A Ddebug.c595 bi->min_idx_lebs, bi->old_idx_sz, bi->uncommitted_idx); in ubifs_dump_budg()
636 available = ubifs_calc_available(c, c->bi.min_idx_lebs); in ubifs_dump_budg()
/openbmc/linux/fs/ubifs/
H A Dbudget.c206 subtract_lebs = min_idx_lebs; 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()
293 int lebs, rsvd_idx_lebs, min_idx_lebs; in do_budget_space() local
296 min_idx_lebs = ubifs_calc_min_idx_lebs(c); in do_budget_space()
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()
330 min_idx_lebs, c->bi.min_idx_lebs, rsvd_idx_lebs); in do_budget_space()
346 c->bi.min_idx_lebs = min_idx_lebs; in do_budget_space()
546 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in ubifs_release_budget()
[all …]
H A Dfind.c243 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()
H A Dtnc_commit.c799 ubifs_assert(c, c->bi.min_idx_lebs == ubifs_calc_min_idx_lebs(c)); in ubifs_tnc_start_commit()
802 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in ubifs_tnc_start_commit()
H A Dubifs.h994 int min_idx_lebs; member
1843 long long ubifs_calc_available(const struct ubifs_info *c, int min_idx_lebs);
H A Dsuper.c771 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in init_constants_master()
1460 c->bi.min_idx_lebs = ubifs_calc_min_idx_lebs(c); in mount_ubifs()
H A Ddebug.c628 bi->min_idx_lebs, bi->old_idx_sz, bi->uncommitted_idx); in ubifs_dump_budg()
669 available = ubifs_calc_available(c, c->bi.min_idx_lebs); in ubifs_dump_budg()