Searched refs:lebs_needed (Results 1 – 2 of 2) sorted by relevance
134 int lebs_needed; in ubifs_calc_lpt_geom() local141 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in ubifs_calc_lpt_geom()142 if (lebs_needed > c->lpt_lebs) { in ubifs_calc_lpt_geom()172 int i, lebs_needed; in calc_dflt_lpt_geom() local200 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in calc_dflt_lpt_geom()201 if (lebs_needed > c->lpt_lebs) { in calc_dflt_lpt_geom()203 c->lpt_lebs = lebs_needed; in calc_dflt_lpt_geom()
127 int lebs_needed; in ubifs_calc_lpt_geom() local134 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in ubifs_calc_lpt_geom()135 if (lebs_needed > c->lpt_lebs) { in ubifs_calc_lpt_geom()165 int i, lebs_needed; in calc_dflt_lpt_geom() local193 lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size); in calc_dflt_lpt_geom()194 if (lebs_needed > c->lpt_lebs) { in calc_dflt_lpt_geom()196 c->lpt_lebs = lebs_needed; in calc_dflt_lpt_geom()