• Home
  • Raw
  • Download

Lines Matching refs:min_space

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()
312 lp = scan_for_dirty(c, min_space, pick_free, exclude_index); in ubifs_find_dirty_leb()
366 if (lprops->free < data->min_space) in scan_for_free_cb()
396 int min_space, int pick_free, in do_find_free_space() argument
406 if (lprops && lprops->free >= min_space) in do_find_free_space()
416 if (lprops && lprops->free >= min_space) in do_find_free_space()
423 if (lprops->free >= min_space) in do_find_free_space()
438 if (lprops->free >= min_space) in do_find_free_space()
445 data.min_space = min_space; in do_find_free_space()
459 ubifs_assert(c, lprops->free >= min_space); in do_find_free_space()
481 int ubifs_find_free_space(struct ubifs_info *c, int min_space, int *offs, in ubifs_find_free_space() argument
487 dbg_find("min_space %d", min_space); in ubifs_find_free_space()
528 lprops = do_find_free_space(c, min_space, pick_free, squeeze); in ubifs_find_free_space()
565 ubifs_assert(c, *offs <= c->leb_size - min_space); in ubifs_find_free_space()