Lines Matching refs:pick_free
29 int pick_free; member
104 if (!data->pick_free) in scan_for_dirty_cb()
126 int min_space, int pick_free, in scan_for_dirty() argument
167 data.pick_free = pick_free; in scan_for_dirty()
182 (pick_free && in scan_for_dirty()
222 int min_space, int pick_free) in ubifs_find_dirty_leb() argument
224 int err = 0, sum, exclude_index = pick_free == 2 ? 1 : 0; in ubifs_find_dirty_leb()
230 if (pick_free) { in ubifs_find_dirty_leb()
264 pick_free = 0; in ubifs_find_dirty_leb()
312 lp = scan_for_dirty(c, min_space, pick_free, exclude_index); in ubifs_find_dirty_leb()
318 (pick_free && lp->free + lp->dirty == c->leb_size)); in ubifs_find_dirty_leb()
370 if (!data->pick_free && lprops->free == c->leb_size) in scan_for_free_cb()
397 int min_space, int pick_free, in do_find_free_space() argument
410 if (pick_free) { in do_find_free_space()
447 data.pick_free = pick_free; in do_find_free_space()
486 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local
505 pick_free = 1; in ubifs_find_free_space()
529 lprops = do_find_free_space(c, min_space, pick_free, squeeze); in ubifs_find_free_space()
544 if (pick_free) { in ubifs_find_free_space()
570 if (pick_free) { in ubifs_find_free_space()