Home
last modified time | relevance | path

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

/fs/partitions/
Dsun.c59 unsigned long spc; in sun_partition() local
100 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition()
105 st_sector = be32_to_cpu(p->start_cylinder) * spc; in sun_partition()
/fs/ubifs/
Dlprops.c478 static int calc_dark(struct ubifs_info *c, int spc) in calc_dark() argument
480 ubifs_assert(!(spc & 7)); in calc_dark()
482 if (spc < c->dark_wm) in calc_dark()
483 return spc; in calc_dark()
490 if (spc - c->dark_wm < MIN_WRITE_SZ) in calc_dark()
491 return spc - MIN_WRITE_SZ; in calc_dark()
1233 int spc = free + dirty; in scan_check_cb() local
1235 if (spc < c->dead_wm) in scan_check_cb()
1236 lst->total_dead += spc; in scan_check_cb()
1238 lst->total_dark += calc_dark(c, spc); in scan_check_cb()