Searched refs:lpt_first (Results 1 – 7 of 7) sorted by relevance
/fs/ubifs/ |
D | lpt_commit.c | 139 lnum, c->ltab[lnum - c->lpt_first].free, in upd_ltab() 140 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab() 141 ubifs_assert(lnum >= c->lpt_first && lnum <= c->lpt_last); in upd_ltab() 142 c->ltab[lnum - c->lpt_first].free = free; in upd_ltab() 143 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab() 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() [all …]
|
D | sb.c | 82 int lpt_lebs, lpt_first, orph_lebs, big_lpt, ino_waste, sup_flags = 0; in create_default_filesystem() local 145 lpt_first = UBIFS_LOG_LNUM + log_lebs; in create_default_filesystem() 148 err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, in create_default_filesystem() 153 dbg_gen("LEB Properties Tree created (LEBs %d-%d)", lpt_first, in create_default_filesystem() 154 lpt_first + lpt_lebs - 1); in create_default_filesystem() 619 c->lpt_first = UBIFS_LOG_LNUM + c->log_lebs; in ubifs_read_superblock() 620 c->lpt_last = c->lpt_first + c->lpt_lebs - 1; in ubifs_read_superblock()
|
D | lpt.c | 397 pack_bits(&addr, &pos, lnum - c->lpt_first, c->lpt_lnum_bits); in ubifs_pack_nnode() 466 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt() 467 ubifs_assert(lnum >= c->lpt_first && lnum <= c->lpt_last); in ubifs_add_lpt_dirt() 468 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt() 481 lnum, c->ltab[lnum - c->lpt_first].free, in set_ltab() 482 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in set_ltab() 483 ubifs_assert(lnum >= c->lpt_first && lnum <= c->lpt_last); in set_ltab() 484 c->ltab[lnum - c->lpt_first].free = free; in set_ltab() 485 c->ltab[lnum - c->lpt_first].dirty = dirty; in set_ltab() 607 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first, in ubifs_create_dflt_lpt() argument [all …]
|
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()
|
D | ubifs.h | 1237 int lpt_first; member 1609 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first,
|
D | debug.c | 712 "cmt %d\n", i + c->lpt_first, c->ltab[i].free, in dbg_dump_lpt_info() 2286 } else if (lnum >= c->lpt_first && lnum <= c->lpt_last) { in do_fail()
|
D | super.c | 1369 c->lpt_lebs, c->lpt_first, c->lpt_last); in mount_ubifs()
|