Lines Matching refs:lpt_lebs
83 c->lpt_lnum_bits = fls(c->lpt_lebs);
103 c->lpt_lebs * c->lpt_spc_bits * 2;
144 /* Verify that lpt_lebs is big enough */
147 if (lebs_needed > c->lpt_lebs) {
181 c->lpt_lebs = UBIFS_MIN_LPT_LEBS;
182 c->main_lebs = *main_lebs - c->lpt_lebs;
206 if (lebs_needed > c->lpt_lebs) {
208 c->lpt_lebs = lebs_needed;
209 c->main_lebs = *main_lebs - c->lpt_lebs;
423 for (i = 0; i < c->lpt_lebs; i++) {
603 * @lpt_lebs: number of LEBs for LPT is passed and returned here
609 int *lpt_lebs, int *big_lpt)
622 *lpt_lebs = c->lpt_lebs;
627 c->lpt_last = lpt_first + c->lpt_lebs - 1;
635 ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs);
645 for (i = 0; i < c->lpt_lebs; i++) {
1044 for (i = 0; i < c->lpt_lebs; i++) {
1628 c->ltab = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs);
1690 c->ltab_cmt = vmalloc(sizeof(struct ubifs_lpt_lprops) * c->lpt_lebs);
1707 for (i = 0; i < c->lpt_lebs; i++)