/openbmc/u-boot/fs/ubifs/ |
H A D | lpt_commit.c | 160 n = *lnum - c->lpt_first + 1; in alloc_lpt_leb() 166 *lnum = i + c->lpt_first; in alloc_lpt_leb() 176 *lnum = i + c->lpt_first; in alloc_lpt_leb() 237 ubifs_assert(lnum >= c->lpt_first && in layout_cnodes() 280 ubifs_assert(lnum >= c->lpt_first && in layout_cnodes() 345 n = *lnum - c->lpt_first + 1; in realloc_lpt_leb() 349 *lnum = i + c->lpt_first; in realloc_lpt_leb() 356 *lnum = i + c->lpt_first; in realloc_lpt_leb() 1205 lnum = i + c->lpt_first; in lpt_gc() 1670 i = lnum - c->lpt_first; in dbg_check_ltab_lnum() [all …]
|
H A D | sb.c | 80 int lpt_lebs, lpt_first, orph_lebs, big_lpt, ino_waste, sup_flags = 0; in create_default_filesystem() local 141 lpt_first = UBIFS_LOG_LNUM + log_lebs; in create_default_filesystem() 144 err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, in create_default_filesystem() 149 dbg_gen("LEB Properties Tree created (LEBs %d-%d)", lpt_first, in create_default_filesystem() 150 lpt_first + lpt_lebs - 1); in create_default_filesystem() 654 c->lpt_first = UBIFS_LOG_LNUM + c->log_lebs; in ubifs_read_superblock() 655 c->lpt_last = c->lpt_first + c->lpt_lebs - 1; in ubifs_read_superblock() 740 for (lnum = c->lpt_first; lnum <= c->lpt_last; lnum++) { in fixup_free_space() 741 int free = c->ltab[lnum - c->lpt_first].free; in fixup_free_space()
|
H A D | lpt.c | 464 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt() 477 lnum, c->ltab[lnum - c->lpt_first].free, in set_ltab() 480 c->ltab[lnum - c->lpt_first].free = free; in set_ltab() 481 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab() 620 c->lpt_first = lpt_first; in ubifs_create_dflt_lpt() 622 c->lpt_last = lpt_first + c->lpt_lebs - 1; in ubifs_create_dflt_lpt() 647 lnum = lpt_first; in ubifs_create_dflt_lpt() 1011 c->lpt_first; in ubifs_unpack_nnode() 1118 if (lnum < c->lpt_first || lnum > c->lpt_last) in validate_nnode() 1712 err = ubifs_leb_unmap(c, i + c->lpt_first); in lpt_init_wr() [all …]
|
H A D | master.c | 149 if (c->lpt_lnum < c->lpt_first || c->lpt_lnum > c->lpt_last || in validate_master() 155 if (c->nhead_lnum < c->lpt_first || c->nhead_lnum > c->lpt_last || in validate_master() 162 if (c->ltab_lnum < c->lpt_first || c->ltab_lnum > c->lpt_last || in validate_master() 169 if (c->big_lpt && (c->lsave_lnum < c->lpt_first || in validate_master()
|
H A D | ubifs.h | 1907 int lpt_first; member 2289 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first,
|
H A D | debug.c | 798 i + c->lpt_first, c->ltab[i].free, c->ltab[i].dirty, in ubifs_dump_lpt_info() 2552 } else if (lnum >= c->lpt_first && lnum <= c->lpt_last) { in power_cut_emulated()
|
H A D | super.c | 1640 c->lpt_lebs, c->lpt_first, c->lpt_last); in mount_ubifs()
|
/openbmc/linux/fs/ubifs/ |
H A D | lpt_commit.c | 153 n = *lnum - c->lpt_first + 1; in alloc_lpt_leb() 159 *lnum = i + c->lpt_first; in alloc_lpt_leb() 169 *lnum = i + c->lpt_first; in alloc_lpt_leb() 337 n = *lnum - c->lpt_first + 1; in realloc_lpt_leb() 341 *lnum = i + c->lpt_first; in realloc_lpt_leb() 348 *lnum = i + c->lpt_first; in realloc_lpt_leb() 720 dbg_lp("LEB %d", i + c->lpt_first); in lpt_tgc_start() 744 dbg_lp("LEB %d", i + c->lpt_first); in lpt_tgc_end() 1162 lnum = i + c->lpt_first; in lpt_gc() 1627 i = lnum - c->lpt_first; in dbg_check_ltab_lnum() [all …]
|
H A D | sb.c | 85 int lpt_lebs, lpt_first, orph_lebs, big_lpt, ino_waste, sup_flags = 0; in create_default_filesystem() local 150 lpt_first = UBIFS_LOG_LNUM + log_lebs; in create_default_filesystem() 153 err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, in create_default_filesystem() 158 dbg_gen("LEB Properties Tree created (LEBs %d-%d)", lpt_first, in create_default_filesystem() 159 lpt_first + lpt_lebs - 1); in create_default_filesystem() 771 c->lpt_first = UBIFS_LOG_LNUM + c->log_lebs; in ubifs_read_superblock() 772 c->lpt_last = c->lpt_first + c->lpt_lebs - 1; in ubifs_read_superblock() 856 for (lnum = c->lpt_first; lnum <= c->lpt_last; lnum++) { in fixup_free_space() 857 int free = c->ltab[lnum - c->lpt_first].free; in fixup_free_space()
|
H A D | lpt.c | 459 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt() 472 lnum, c->ltab[lnum - c->lpt_first].free, in set_ltab() 475 c->ltab[lnum - c->lpt_first].free = free; in set_ltab() 476 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab() 617 c->lpt_first = lpt_first; in ubifs_create_dflt_lpt() 619 c->lpt_last = lpt_first + c->lpt_lebs - 1; in ubifs_create_dflt_lpt() 649 lnum = lpt_first; in ubifs_create_dflt_lpt() 1026 c->lpt_first; in ubifs_unpack_nnode() 1131 if (lnum < c->lpt_first || lnum > c->lpt_last) in validate_nnode() 1869 err = ubifs_leb_unmap(c, i + c->lpt_first); in lpt_init_wr() [all …]
|
H A D | master.c | 229 if (c->lpt_lnum < c->lpt_first || c->lpt_lnum > c->lpt_last || in validate_master() 235 if (c->nhead_lnum < c->lpt_first || c->nhead_lnum > c->lpt_last || in validate_master() 242 if (c->ltab_lnum < c->lpt_first || c->ltab_lnum > c->lpt_last || in validate_master() 249 if (c->big_lpt && (c->lsave_lnum < c->lpt_first || in validate_master()
|
H A D | ubifs.h | 1359 int lpt_first; member 1965 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first,
|
H A D | debug.c | 826 i + c->lpt_first, c->ltab[i].free, c->ltab[i].dirty, in ubifs_dump_lpt_info() 2526 } else if (lnum >= c->lpt_first && lnum <= c->lpt_last) { in power_cut_emulated()
|
H A D | super.c | 1584 c->lpt_lebs, c->lpt_first, c->lpt_last); in mount_ubifs()
|