Home
last modified time | relevance | path

Searched refs:lebs_needed (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dlpt.c134 int lebs_needed; in ubifs_calc_lpt_geom() local
141 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() local
200 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()
/openbmc/linux/fs/ubifs/
H A Dlpt.c127 int lebs_needed; in ubifs_calc_lpt_geom() local
134 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() local
193 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()