Lines Matching refs:lpt_first
400 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
627 c->lpt_first = lpt_first; in ubifs_create_dflt_lpt()
629 c->lpt_last = lpt_first + c->lpt_lebs - 1; in ubifs_create_dflt_lpt()
655 lnum = lpt_first; in ubifs_create_dflt_lpt()
1019 c->lpt_first; in ubifs_unpack_nnode()
1124 if (lnum < c->lpt_first || lnum > c->lpt_last) in validate_nnode()
1717 err = ubifs_leb_unmap(c, i + c->lpt_first); in lpt_init_wr()
1894 ubifs_assert(c, branch->lnum >= c->lpt_first && in scan_get_pnode()