Searched refs:max_leb_cnt (Results 1 – 5 of 5) sorted by relevance
148 c->max_leb_cnt = c->leb_cnt; in create_default_filesystem()176 sup->max_leb_cnt = cpu_to_le32(c->max_leb_cnt); in create_default_filesystem()408 if (c->max_leb_cnt < c->leb_cnt) { in validate_sb()410 c->max_leb_cnt, c->leb_cnt); in validate_sb()447 c->lsave_cnt > c->max_leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS - in validate_sb()621 c->max_leb_cnt = le32_to_cpu(sup->max_leb_cnt); in ubifs_read_superblock()661 if (c->leb_cnt < c->vi.size && c->leb_cnt < c->max_leb_cnt) { in ubifs_read_superblock()662 c->leb_cnt = min_t(int, c->max_leb_cnt, c->vi.size); in ubifs_read_superblock()
646 __le32 max_leb_cnt; member
63 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom()87 n = DIV_ROUND_UP(c->max_leb_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()90 c->lnum_bits = fls(c->max_leb_cnt - 1); in do_calc_lpt_geom()
1328 int max_leb_cnt; member
347 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); in ubifs_dump_node()