Searched refs:min_space (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/ubifs/ |
D | find.c | 28 int min_space; member 96 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb() 125 int min_space, int pick_free, in scan_for_dirty() argument 137 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty() 153 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty() 165 data.min_space = min_space; in scan_for_dirty() 180 ubifs_assert(c, lprops->free + lprops->dirty >= min_space); in scan_for_dirty() 222 int min_space, int pick_free) in ubifs_find_dirty_leb() argument 288 if (sum < min_space || sum < c->half_leb_size) in ubifs_find_dirty_leb() 294 if (lp->dirty + lp->free < min_space) in ubifs_find_dirty_leb() [all …]
|
D | gc.c | 672 int i, err, ret, min_space = c->dead_wm; in ubifs_garbage_collect() local 734 ret = ubifs_find_dirty_leb(c, &lp, min_space, anyway ? 0 : 1); in ubifs_garbage_collect() 743 min_space); in ubifs_garbage_collect() 802 min_space >>= 1; in ubifs_garbage_collect() 803 if (min_space < c->dead_wm) in ubifs_garbage_collect() 804 min_space = c->dead_wm; in ubifs_garbage_collect() 831 min_space <<= 1; in ubifs_garbage_collect() 832 if (min_space > c->dark_wm) in ubifs_garbage_collect() 833 min_space = c->dark_wm; in ubifs_garbage_collect() 834 dbg_gc("set min. space to %d", min_space); in ubifs_garbage_collect()
|
D | ubifs.h | 1841 int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs, 1845 int min_space, int pick_free);
|