Lines Matching defs:spc
458 * @spc: amount of free and dirty space in the LEB
461 * has @spc bytes of free and dirty space.
467 int ubifs_calc_dark(const struct ubifs_info *c, int spc)
469 ubifs_assert(c, !(spc & 7));
471 if (spc < c->dark_wm)
472 return spc;
479 if (spc - c->dark_wm < MIN_WRITE_SZ)
480 return spc - MIN_WRITE_SZ;
1217 int spc = free + dirty;
1219 if (spc < c->dead_wm)
1220 lst->total_dead += spc;
1222 lst->total_dark += ubifs_calc_dark(c, spc);