Lines Matching refs:lpt_first
132 lnum, c->ltab[lnum - c->lpt_first].free,
133 c->ltab[lnum - c->lpt_first].dirty, free, dirty);
134 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last);
135 c->ltab[lnum - c->lpt_first].free = free;
136 c->ltab[lnum - c->lpt_first].dirty += dirty;
153 n = *lnum - c->lpt_first + 1;
159 *lnum = i + c->lpt_first;
169 *lnum = i + c->lpt_first;
230 ubifs_assert(c, lnum >= c->lpt_first &&
273 ubifs_assert(c, lnum >= c->lpt_first &&
293 ubifs_assert(c, lnum >= c->lpt_first &&
337 n = *lnum - c->lpt_first + 1;
341 *lnum = i + c->lpt_first;
348 *lnum = i + c->lpt_first;
416 ubifs_assert(c, lnum >= c->lpt_first &&
473 ubifs_assert(c, lnum >= c->lpt_first &&
499 ubifs_assert(c, lnum >= c->lpt_first &&
687 if (i + c->lpt_first == c->nhead_lnum)
713 if (i + c->lpt_first == c->nhead_lnum)
720 dbg_lp("LEB %d", i + c->lpt_first);
740 err = ubifs_leb_unmap(c, i + c->lpt_first);
744 dbg_lp("LEB %d", i + c->lpt_first);
1157 if (i + c->lpt_first == c->nhead_lnum ||
1162 lnum = i + c->lpt_first;
1627 i = lnum - c->lpt_first;
1684 for (lnum = c->lpt_first; lnum <= c->lpt_last; lnum++) {
1713 if (i + c->lpt_first == c->nhead_lnum)
1950 dump_lpt_leb(c, i + c->lpt_first);