Home
last modified time | relevance | path

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

/linux/fs/ubifs/
A Dsb.c148 main_lebs -= orph_lebs; in create_default_filesystem()
161 main_first = c->leb_cnt - main_lebs; in create_default_filesystem()
216 main_bytes = (long long)main_lebs * c->leb_size; in create_default_filesystem()
248 mst->empty_lebs = cpu_to_le32(main_lebs - 2); in create_default_filesystem()
267 tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); in create_default_filesystem()
409 c->main_lebs < UBIFS_MIN_MAIN_LEBS) { in validate_sb()
434 if (c->main_lebs < UBIFS_MIN_MAIN_LEBS) { in validate_sb()
436 c->main_lebs, UBIFS_MIN_MAIN_LEBS); in validate_sb()
447 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
474 c->orph_lebs + c->main_lebs != c->leb_cnt) { in validate_sb()
[all …]
A Dlpt.c51 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom()
61 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
162 static int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, in calc_dflt_lpt_geom() argument
170 c->main_lebs = *main_lebs - c->lpt_lebs; in calc_dflt_lpt_geom()
171 if (c->main_lebs <= 0) in calc_dflt_lpt_geom()
197 c->main_lebs = *main_lebs - c->lpt_lebs; in calc_dflt_lpt_geom()
198 if (c->main_lebs <= 0) in calc_dflt_lpt_geom()
207 *main_lebs = c->main_lebs; in calc_dflt_lpt_geom()
611 err = calc_dflt_lpt_geom(c, main_lebs, big_lpt); in ubifs_create_dflt_lpt()
621 c->main_first = c->leb_cnt - *main_lebs; in ubifs_create_dflt_lpt()
[all …]
A Dmaster.c223 main_sz = (long long)c->main_lebs * c->leb_size; in validate_master()
261 if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { in validate_master()
266 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { in validate_master()
A Dmisc.h258 c->lst.empty_lebs <= c->main_lebs); in ubifs_release_lprops()
A Dsuper.c682 c->main_bytes = (long long)c->main_lebs * c->leb_size; in init_constants_sb()
783 tmp64 = c->main_lebs - 1 - 1 - MIN_INDEX_LEBS - c->jhead_cnt + 1; in init_constants_master()
1551 x = (long long)c->main_lebs * c->leb_size; in mount_ubifs()
1557 x, x >> 20, c->main_lebs, c->max_leb_cnt, in mount_ubifs()
1576 c->main_lebs, c->main_first, c->leb_cnt - 1); in mount_ubifs()
1598 x = (long long)c->main_lebs * c->dark_wm; in mount_ubifs()
A Dlprops.c293 ubifs_assert(c, c->in_a_category_cnt <= c->main_lebs); in ubifs_add_to_cat()
536 c->lst.empty_lebs <= c->main_lebs); in ubifs_change_lp()
538 ubifs_assert(c, c->freeable_cnt <= c->main_lebs); in ubifs_change_lp()
A Dbudget.c555 ubifs_assert(c, c->bi.min_idx_lebs < c->main_lebs); in ubifs_release_budget()
A Dubifs.h1336 int main_lebs; member
1931 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first,
A Dfind.c679 if (c->in_a_category_cnt != c->main_lebs || in ubifs_find_free_leb_for_idx()
A Dlpt_commit.c1515 cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in dbg_is_pnode_dirty()
1669 cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in dbg_check_ltab()

Completed in 28 milliseconds