Home
last modified time | relevance | path

Searched refs:lsave_cnt (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/ubifs/
Dsb.c151 c->lsave_cnt = DEFAULT_LSAVE_CNT; in create_default_filesystem()
206 sup->lsave_cnt = cpu_to_le32(c->lsave_cnt); in create_default_filesystem()
466 if (c->lsave_cnt < 0 || (c->lsave_cnt > DEFAULT_LSAVE_CNT && in validate_sb()
467 c->lsave_cnt > c->max_leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS - in validate_sb()
723 c->lsave_cnt = le32_to_cpu(sup->lsave_cnt); in ubifs_read_superblock()
Dlpt_commit.c778 if (cnt >= c->lsave_cnt) in populate_lsave()
783 if (cnt >= c->lsave_cnt) in populate_lsave()
788 if (cnt >= c->lsave_cnt) in populate_lsave()
794 if (cnt >= c->lsave_cnt) in populate_lsave()
800 if (cnt >= c->lsave_cnt) in populate_lsave()
806 if (cnt >= c->lsave_cnt) in populate_lsave()
810 while (cnt < c->lsave_cnt) in populate_lsave()
1976 for (i = 0; i < c->lsave_cnt; i++) in dbg_populate_lsave()
1980 c->lsave[get_random_u32_below(c->lsave_cnt)] = lprops->lnum; in dbg_populate_lsave()
1982 c->lsave[get_random_u32_below(c->lsave_cnt)] = lprops->lnum; in dbg_populate_lsave()
[all …]
Dlpt.c95 c->lnum_bits * c->lsave_cnt; in do_calc_lpt_geom()
437 for (i = 0; i < c->lsave_cnt; i++) in ubifs_pack_lsave()
627 lsave = kmalloc_array(c->lsave_cnt, sizeof(int), GFP_KERNEL); in ubifs_create_dflt_lpt()
796 for (i = 0; i < c->lsave_cnt && i < *main_lebs; i++) in ubifs_create_dflt_lpt()
798 for (; i < c->lsave_cnt; i++) in ubifs_create_dflt_lpt()
852 dbg_lp("lsave_cnt %d", c->lsave_cnt); in ubifs_create_dflt_lpt()
1084 for (i = 0; i < c->lsave_cnt; i++) { in unpack_lsave()
1374 for (i = 0; i < c->lsave_cnt; i++) { in read_lsave()
1825 dbg_lp("lsave_cnt %d", c->lsave_cnt); in lpt_init_rd()
1859 c->lsave = kmalloc_array(c->lsave_cnt, sizeof(int), GFP_NOFS); in lpt_init_wr()
Dubifs-media.h668 __le32 lsave_cnt; member
Dfind.c60 if (n < c->lsave_cnt) in valuable()
Dubifs.h1488 int lsave_cnt; member
Ddebug.c375 pr_err("\tlsave_cnt %u\n", le32_to_cpu(sup->lsave_cnt)); in ubifs_dump_node()
810 pr_err("\tlsave_cnt: %d\n", c->lsave_cnt); in ubifs_dump_lpt_info()