Lines Matching refs:lpt_lebs
83 c->lpt_lnum_bits = fls(c->lpt_lebs); in do_calc_lpt_geom()
103 c->lpt_lebs * c->lpt_spc_bits * 2; in do_calc_lpt_geom()
147 if (lebs_needed > c->lpt_lebs) { in ubifs_calc_lpt_geom()
181 c->lpt_lebs = UBIFS_MIN_LPT_LEBS; in calc_dflt_lpt_geom()
182 c->main_lebs = *main_lebs - c->lpt_lebs; in calc_dflt_lpt_geom()
206 if (lebs_needed > c->lpt_lebs) { in calc_dflt_lpt_geom()
208 c->lpt_lebs = lebs_needed; in calc_dflt_lpt_geom()
209 c->main_lebs = *main_lebs - c->lpt_lebs; in calc_dflt_lpt_geom()
423 for (i = 0; i < c->lpt_lebs; i++) { in ubifs_pack_ltab()
609 int *lpt_lebs, int *big_lpt) in ubifs_create_dflt_lpt() argument
622 *lpt_lebs = c->lpt_lebs; in ubifs_create_dflt_lpt()
627 c->lpt_last = lpt_first + c->lpt_lebs - 1; in ubifs_create_dflt_lpt()
635 ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in ubifs_create_dflt_lpt()
645 for (i = 0; i < c->lpt_lebs; i++) { in ubifs_create_dflt_lpt()
1042 for (i = 0; i < c->lpt_lebs; i++) { in unpack_ltab()
1629 c->ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in lpt_init_rd()
1691 c->ltab_cmt = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs); in lpt_init_wr()
1708 for (i = 0; i < c->lpt_lebs; i++) in lpt_init_wr()