Searched refs:spc (Results 1 – 3 of 3) sorted by relevance
/fs/ubifs/ |
D | lprops.c | 481 int ubifs_calc_dark(const struct ubifs_info *c, int spc) in ubifs_calc_dark() argument 483 ubifs_assert(!(spc & 7)); in ubifs_calc_dark() 485 if (spc < c->dark_wm) in ubifs_calc_dark() 486 return spc; in ubifs_calc_dark() 493 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark() 494 return spc - MIN_WRITE_SZ; in ubifs_calc_dark() 1231 int spc = free + dirty; in scan_check_cb() local 1233 if (spc < c->dead_wm) in scan_check_cb() 1234 lst->total_dead += spc; in scan_check_cb() 1236 lst->total_dark += ubifs_calc_dark(c, spc); in scan_check_cb()
|
D | debug.c | 647 int i, spc, dark = 0, dead = 0; in ubifs_dump_lprop() local 651 spc = lp->free + lp->dirty; in ubifs_dump_lprop() 652 if (spc < c->dead_wm) in ubifs_dump_lprop() 653 dead = spc; in ubifs_dump_lprop() 655 dark = ubifs_calc_dark(c, spc); in ubifs_dump_lprop() 659 lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, in ubifs_dump_lprop() 663 lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc, in ubifs_dump_lprop() 664 dark, dead, (int)(spc / UBIFS_MAX_NODE_SZ), lp->flags); in ubifs_dump_lprop()
|
D | ubifs.h | 1738 int ubifs_calc_dark(const struct ubifs_info *c, int spc);
|