Lines Matching refs:min_space

28 	int min_space;  member
97 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb()
126 int min_space, int pick_free, in scan_for_dirty() argument
138 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
154 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
166 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()
312 lp = scan_for_dirty(c, min_space, pick_free, exclude_index); in ubifs_find_dirty_leb()
367 if (lprops->free < data->min_space) in scan_for_free_cb()
397 int min_space, int pick_free, in do_find_free_space() argument
407 if (lprops && lprops->free >= min_space) in do_find_free_space()
417 if (lprops && lprops->free >= min_space) in do_find_free_space()
424 if (lprops->free >= min_space) in do_find_free_space()
439 if (lprops->free >= min_space) in do_find_free_space()
446 data.min_space = min_space; in do_find_free_space()
460 ubifs_assert(c, lprops->free >= min_space); in do_find_free_space()
482 int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs, in ubifs_find_free_space() argument
488 dbg_find("min_space %d", min_space); in ubifs_find_free_space()
529 lprops = do_find_free_space(c, min_space, pick_free, squeeze); in ubifs_find_free_space()
566 ubifs_assert(c, *offs <= c->leb_size - min_space); in ubifs_find_free_space()