Searched refs:max_leb_cnt (Results 1 – 5 of 5) sorted by relevance
143 c->max_leb_cnt = c->leb_cnt; in create_default_filesystem()170 sup->max_leb_cnt = cpu_to_le32(c->max_leb_cnt); in create_default_filesystem()399 if (c->max_leb_cnt < c->leb_cnt) { in validate_sb()401 c->max_leb_cnt, c->leb_cnt); in validate_sb()438 c->lsave_cnt > c->max_leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS - in validate_sb()607 c->max_leb_cnt = le32_to_cpu(sup->max_leb_cnt); in ubifs_read_superblock()634 if (c->leb_cnt < c->vi.size && c->leb_cnt < c->max_leb_cnt) { in ubifs_read_superblock()635 c->leb_cnt = min_t(int, c->max_leb_cnt, c->vi.size); in ubifs_read_superblock()
623 __le32 max_leb_cnt; member
58 n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; in do_calc_lpt_geom()82 n = DIV_ROUND_UP(c->max_leb_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()85 c->lnum_bits = fls(c->max_leb_cnt - 1); in do_calc_lpt_geom()
1931 int max_leb_cnt; member
345 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); in ubifs_dump_node()