Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ubifs/
Dlpt_commit.c144 lnum, c->ltab[lnum - c->lpt_first].free, in upd_ltab()
145 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab()
146 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in upd_ltab()
147 c->ltab[lnum - c->lpt_first].free = free; in upd_ltab()
148 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab()
165 n = *lnum - c->lpt_first + 1; in alloc_lpt_leb()
171 *lnum = i + c->lpt_first; in alloc_lpt_leb()
181 *lnum = i + c->lpt_first; in alloc_lpt_leb()
242 ubifs_assert(c, lnum >= c->lpt_first && in layout_cnodes()
285 ubifs_assert(c, lnum >= c->lpt_first && in layout_cnodes()
[all …]
Dsb.c94 int lpt_lebs, lpt_first, orph_lebs, big_lpt, ino_waste, sup_flags = 0; in create_default_filesystem() local
157 lpt_first = UBIFS_LOG_LNUM + log_lebs; in create_default_filesystem()
160 err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, in create_default_filesystem()
165 dbg_gen("LEB Properties Tree created (LEBs %d-%d)", lpt_first, in create_default_filesystem()
166 lpt_first + lpt_lebs - 1); in create_default_filesystem()
690 c->lpt_first = UBIFS_LOG_LNUM + c->log_lebs; in ubifs_read_superblock()
691 c->lpt_last = c->lpt_first + c->lpt_lebs - 1; in ubifs_read_superblock()
776 for (lnum = c->lpt_first; lnum <= c->lpt_last; lnum++) { in fixup_free_space()
777 int free = c->ltab[lnum - c->lpt_first].free; in fixup_free_space()
Dlpt.c400 pack_bits(c, &addr, &pos, lnum - c->lpt_first, c->lpt_lnum_bits); in ubifs_pack_nnode()
469 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt()
470 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in ubifs_add_lpt_dirt()
471 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt()
484 lnum, c->ltab[lnum - c->lpt_first].free, in set_ltab()
485 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in set_ltab()
486 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in set_ltab()
487 c->ltab[lnum - c->lpt_first].free = free; in set_ltab()
488 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab()
610 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first, in ubifs_create_dflt_lpt() argument
[all …]
Dmaster.c156 if (c->lpt_lnum < c->lpt_first || c->lpt_lnum > c->lpt_last || in validate_master()
162 if (c->nhead_lnum < c->lpt_first || c->nhead_lnum > c->lpt_last || in validate_master()
169 if (c->ltab_lnum < c->lpt_first || c->ltab_lnum > c->lpt_last || in validate_master()
176 if (c->big_lpt && (c->lsave_lnum < c->lpt_first || in validate_master()
Dubifs.h1304 int lpt_first; member
1695 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first,
Ddebug.c795 i + c->lpt_first, c->ltab[i].free, c->ltab[i].dirty, in ubifs_dump_lpt_info()
2513 } else if (lnum >= c->lpt_first && lnum <= c->lpt_last) { in power_cut_emulated()
Dsuper.c1463 c->lpt_lebs, c->lpt_first, c->lpt_last); in mount_ubifs()