Lines Matching refs:lpt_first

132 	       lnum, c->ltab[lnum - c->lpt_first].free,  in upd_ltab()
133 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab()
134 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in upd_ltab()
135 c->ltab[lnum - c->lpt_first].free = free; in upd_ltab()
136 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab()
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()
230 ubifs_assert(c, lnum >= c->lpt_first && in layout_cnodes()
273 ubifs_assert(c, lnum >= c->lpt_first && in layout_cnodes()
293 ubifs_assert(c, lnum >= c->lpt_first && in layout_cnodes()
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()
416 ubifs_assert(c, lnum >= c->lpt_first && in write_cnodes()
473 ubifs_assert(c, lnum >= c->lpt_first && in write_cnodes()
499 ubifs_assert(c, lnum >= c->lpt_first && in write_cnodes()
687 if (i + c->lpt_first == c->nhead_lnum) in need_write_all()
713 if (i + c->lpt_first == c->nhead_lnum) in lpt_tgc_start()
720 dbg_lp("LEB %d", i + c->lpt_first); in lpt_tgc_start()
740 err = ubifs_leb_unmap(c, i + c->lpt_first); in lpt_tgc_end()
744 dbg_lp("LEB %d", i + c->lpt_first); in lpt_tgc_end()
1157 if (i + c->lpt_first == c->nhead_lnum || in lpt_gc()
1162 lnum = i + c->lpt_first; in lpt_gc()
1627 i = lnum - c->lpt_first; in dbg_check_ltab_lnum()
1685 for (lnum = c->lpt_first; lnum <= c->lpt_last; lnum++) { in dbg_check_ltab()
1714 if (i + c->lpt_first == c->nhead_lnum) in dbg_chk_lpt_free_spc()
1952 dump_lpt_leb(c, i + c->lpt_first); in ubifs_dump_lpt_lebs()