main_lebs 555 fs/ubifs/budget.c ubifs_assert(c, c->bi.min_idx_lebs < c->main_lebs); main_lebs 679 fs/ubifs/find.c if (c->in_a_category_cnt != c->main_lebs || main_lebs 293 fs/ubifs/lprops.c ubifs_assert(c, c->in_a_category_cnt <= c->main_lebs); main_lebs 536 fs/ubifs/lprops.c c->lst.empty_lebs <= c->main_lebs); main_lebs 538 fs/ubifs/lprops.c ubifs_assert(c, c->freeable_cnt <= c->main_lebs); main_lebs 51 fs/ubifs/lpt.c n = c->main_lebs + c->max_leb_cnt - c->leb_cnt; main_lebs 61 fs/ubifs/lpt.c c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); main_lebs 162 fs/ubifs/lpt.c static int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, main_lebs 170 fs/ubifs/lpt.c c->main_lebs = *main_lebs - c->lpt_lebs; main_lebs 171 fs/ubifs/lpt.c if (c->main_lebs <= 0) main_lebs 197 fs/ubifs/lpt.c c->main_lebs = *main_lebs - c->lpt_lebs; main_lebs 198 fs/ubifs/lpt.c if (c->main_lebs <= 0) main_lebs 207 fs/ubifs/lpt.c *main_lebs = c->main_lebs; main_lebs 599 fs/ubifs/lpt.c int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first, main_lebs 611 fs/ubifs/lpt.c err = calc_dflt_lpt_geom(c, main_lebs, big_lpt); main_lebs 621 fs/ubifs/lpt.c c->main_first = c->leb_cnt - *main_lebs; main_lebs 796 fs/ubifs/lpt.c for (i = 0; i < c->lsave_cnt && i < *main_lebs; i++) main_lebs 1515 fs/ubifs/lpt_commit.c cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); main_lebs 1669 fs/ubifs/lpt_commit.c cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); main_lebs 226 fs/ubifs/master.c main_sz = (long long)c->main_lebs * c->leb_size; main_lebs 264 fs/ubifs/master.c if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) { main_lebs 269 fs/ubifs/master.c if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) { main_lebs 258 fs/ubifs/misc.h c->lst.empty_lebs <= c->main_lebs); main_lebs 81 fs/ubifs/sb.c int err, tmp, jnl_lebs, log_lebs, max_buds, main_lebs, main_first; main_lebs 145 fs/ubifs/sb.c main_lebs = c->leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS - log_lebs; main_lebs 146 fs/ubifs/sb.c main_lebs -= orph_lebs; main_lebs 151 fs/ubifs/sb.c err = ubifs_create_dflt_lpt(c, &main_lebs, lpt_first, &lpt_lebs, main_lebs 159 fs/ubifs/sb.c main_first = c->leb_cnt - main_lebs; main_lebs 213 fs/ubifs/sb.c main_bytes = (long long)main_lebs * c->leb_size; main_lebs 245 fs/ubifs/sb.c mst->empty_lebs = cpu_to_le32(main_lebs - 2); main_lebs 264 fs/ubifs/sb.c tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); main_lebs 408 fs/ubifs/sb.c c->main_lebs < UBIFS_MIN_MAIN_LEBS) { main_lebs 433 fs/ubifs/sb.c if (c->main_lebs < UBIFS_MIN_MAIN_LEBS) { main_lebs 435 fs/ubifs/sb.c c->main_lebs, UBIFS_MIN_MAIN_LEBS); main_lebs 446 fs/ubifs/sb.c max_bytes = (long long)c->leb_size * c->main_lebs; main_lebs 473 fs/ubifs/sb.c c->orph_lebs + c->main_lebs != c->leb_cnt) { main_lebs 774 fs/ubifs/sb.c c->main_lebs = c->leb_cnt - UBIFS_SB_LEBS - UBIFS_MST_LEBS; main_lebs 775 fs/ubifs/sb.c c->main_lebs -= c->log_lebs + c->lpt_lebs + c->orph_lebs; main_lebs 776 fs/ubifs/sb.c c->main_first = c->leb_cnt - c->main_lebs; main_lebs 663 fs/ubifs/super.c c->main_bytes = (long long)c->main_lebs * c->leb_size; main_lebs 764 fs/ubifs/super.c tmp64 = c->main_lebs - 1 - 1 - MIN_INDEX_LEBS - c->jhead_cnt + 1; main_lebs 1512 fs/ubifs/super.c x = (long long)c->main_lebs * c->leb_size; main_lebs 1518 fs/ubifs/super.c x, x >> 20, c->main_lebs, main_lebs 1537 fs/ubifs/super.c c->main_lebs, c->main_first, c->leb_cnt - 1); main_lebs 1559 fs/ubifs/super.c x = (long long)c->main_lebs * c->dark_wm; main_lebs 1334 fs/ubifs/ubifs.h int main_lebs; main_lebs 1928 fs/ubifs/ubifs.h int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first,