Lines Matching refs:pick_free
41 int pick_free; member
115 if (!data->pick_free) in scan_for_dirty_cb()
137 int min_space, int pick_free, in scan_for_dirty() argument
178 data.pick_free = pick_free; in scan_for_dirty()
194 (pick_free && in scan_for_dirty()
234 int min_space, int pick_free) in ubifs_find_dirty_leb() argument
236 int err = 0, sum, exclude_index = pick_free == 2 ? 1 : 0; in ubifs_find_dirty_leb()
242 if (pick_free) { in ubifs_find_dirty_leb()
276 pick_free = 0; in ubifs_find_dirty_leb()
324 lp = scan_for_dirty(c, min_space, pick_free, exclude_index); in ubifs_find_dirty_leb()
330 (pick_free && lp->free + lp->dirty == c->leb_size)); in ubifs_find_dirty_leb()
381 if (!data->pick_free && lprops->free == c->leb_size) in scan_for_free_cb()
408 int min_space, int pick_free, in do_find_free_space() argument
421 if (pick_free) { in do_find_free_space()
458 data.pick_free = pick_free; in do_find_free_space()
497 int lebs, rsvd_idx_lebs, pick_free = 0, err, lnum, flags; in ubifs_find_free_space() local
516 pick_free = 1; in ubifs_find_free_space()
540 lprops = do_find_free_space(c, min_space, pick_free, squeeze); in ubifs_find_free_space()
555 if (pick_free) { in ubifs_find_free_space()
581 if (pick_free) { in ubifs_find_free_space()