Lines Matching refs:lpt_first
388 pack_bits(c, &addr, &pos, lnum - c->lpt_first, c->lpt_lnum_bits); in ubifs_pack_nnode()
457 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt()
458 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in ubifs_add_lpt_dirt()
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()
473 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in set_ltab()
474 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); 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()
599 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first, in ubifs_create_dflt_lpt() argument
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()
2046 ubifs_assert(c, branch->lnum >= c->lpt_first && in scan_get_pnode()