Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dsb.c85 int lpt_lebs, lpt_first, orph_lebs, big_lpt, ino_waste, sup_flags = 0; in create_default_filesystem() local
153 err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, in create_default_filesystem()
159 lpt_first + lpt_lebs - 1); in create_default_filesystem()
202 sup->lpt_lebs = cpu_to_le32(lpt_lebs); in create_default_filesystem()
407 c->lpt_lebs < UBIFS_MIN_LPT_LEBS || in validate_sb()
420 min_leb_cnt += c->lpt_lebs + c->orph_lebs + c->jhead_cnt + 6; in validate_sb()
468 c->log_lebs - c->lpt_lebs - c->orph_lebs)) { in validate_sb()
473 if (UBIFS_SB_LEBS + UBIFS_MST_LEBS + c->log_lebs + c->lpt_lebs + in validate_sb()
719 c->lpt_lebs = le32_to_cpu(sup->lpt_lebs); in ubifs_read_superblock()
772 c->lpt_last = c->lpt_first + c->lpt_lebs - 1; in ubifs_read_superblock()
[all …]
Dlpt.c71 c->lpt_lnum_bits = fls(c->lpt_lebs); in do_calc_lpt_geom()
91 c->lpt_lebs * c->lpt_spc_bits * 2; in do_calc_lpt_geom()
135 if (lebs_needed > c->lpt_lebs) { in ubifs_calc_lpt_geom()
169 c->lpt_lebs = UBIFS_MIN_LPT_LEBS; in calc_dflt_lpt_geom()
170 c->main_lebs = *main_lebs - c->lpt_lebs; in calc_dflt_lpt_geom()
194 if (lebs_needed > c->lpt_lebs) { in calc_dflt_lpt_geom()
196 c->lpt_lebs = lebs_needed; in calc_dflt_lpt_geom()
197 c->main_lebs = *main_lebs - c->lpt_lebs; in calc_dflt_lpt_geom()
413 for (i = 0; i < c->lpt_lebs; i++) { in ubifs_pack_ltab()
600 int *lpt_lebs, int *big_lpt, u8 *hash) in ubifs_create_dflt_lpt() argument
[all …]
Dlpt_commit.c154 for (i = n; i < c->lpt_lebs; i++) { in alloc_lpt_leb()
338 for (i = n; i < c->lpt_lebs; i++) in realloc_lpt_leb()
686 for (i = 0; i < c->lpt_lebs; i++) { in need_write_all()
712 for (i = 0; i < c->lpt_lebs; i++) { in lpt_tgc_start()
738 for (i = 0; i < c->lpt_lebs; i++) in lpt_tgc_end()
1155 for (i = 0; i < c->lpt_lebs; i++) { in lpt_gc()
1244 sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in ubifs_lpt_start_commit()
1711 for (i = 0; i < c->lpt_lebs; i++) { in dbg_chk_lpt_free_spc()
1951 for (i = 0; i < c->lpt_lebs; i++) in ubifs_dump_lpt_lebs()
Dubifs-media.h664 __le32 lpt_lebs; member
Dubifs.h1358 int lpt_lebs; member
1961 int *lpt_lebs, int *big_lpt, u8 *hash);
Ddebug.c371 pr_err("\tlpt_lebs %u\n", le32_to_cpu(sup->lpt_lebs)); in ubifs_dump_node()
824 for (i = 0; i < c->lpt_lebs; i++) in ubifs_dump_lpt_info()
Dsuper.c1575 c->lpt_lebs, c->lpt_first, c->lpt_last); in mount_ubifs()