Searched refs:lsave_cnt (Results 1 – 6 of 6) sorted by relevance
142 c->lsave_cnt = DEFAULT_LSAVE_CNT; in create_default_filesystem()177 sup->lsave_cnt = cpu_to_le32(c->lsave_cnt); in create_default_filesystem()437 if (c->lsave_cnt < 0 || (c->lsave_cnt > DEFAULT_LSAVE_CNT && in validate_sb()438 c->lsave_cnt > c->max_leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS - in validate_sb()614 c->lsave_cnt = le32_to_cpu(sup->lsave_cnt); in ubifs_read_superblock()
821 if (cnt >= c->lsave_cnt) in populate_lsave()826 if (cnt >= c->lsave_cnt) in populate_lsave()831 if (cnt >= c->lsave_cnt) in populate_lsave()837 if (cnt >= c->lsave_cnt) in populate_lsave()843 if (cnt >= c->lsave_cnt) in populate_lsave()849 if (cnt >= c->lsave_cnt) in populate_lsave()853 while (cnt < c->lsave_cnt) in populate_lsave()2019 for (i = 0; i < c->lsave_cnt; i++) in dbg_populate_lsave()2023 c->lsave[prandom_u32() % c->lsave_cnt] = lprops->lnum; in dbg_populate_lsave()2025 c->lsave[prandom_u32() % c->lsave_cnt] = lprops->lnum; in dbg_populate_lsave()[all …]
102 c->lnum_bits * c->lsave_cnt; in do_calc_lpt_geom()442 for (i = 0; i < c->lsave_cnt; i++) in ubifs_pack_lsave()626 lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_KERNEL); in ubifs_create_dflt_lpt()786 for (i = 0; i < c->lsave_cnt && i < *main_lebs; i++) in ubifs_create_dflt_lpt()788 for (; i < c->lsave_cnt; i++) in ubifs_create_dflt_lpt()838 dbg_lp("lsave_cnt %d", c->lsave_cnt); in ubifs_create_dflt_lpt()1070 for (i = 0; i < c->lsave_cnt; i++) { in unpack_lsave()1362 for (i = 0; i < c->lsave_cnt; i++) { in read_lsave()1668 dbg_lp("lsave_cnt %d", c->lsave_cnt); in lpt_init_rd()1702 c->lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_NOFS); in lpt_init_wr()
630 __le32 lsave_cnt; member
2036 int lsave_cnt; member
353 pr_err("\tlsave_cnt %u\n", le32_to_cpu(sup->lsave_cnt)); in ubifs_dump_node()782 pr_err("\tlsave_cnt: %d\n", c->lsave_cnt); in ubifs_dump_lpt_info()