• Home
  • Raw
  • Download

Lines Matching refs:free

66 		if (lprops->free + lprops->dirty >= c->dark_wm)  in valuable()
108 if (lprops->free + lprops->dirty < data->min_space) in scan_for_dirty_cb()
114 if (lprops->free + lprops->dirty == c->leb_size) { in scan_for_dirty_cb()
149 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
165 if (lprops->free + lprops->dirty < min_space) in scan_for_dirty()
192 ubifs_assert(lprops->free + lprops->dirty >= min_space); in scan_for_dirty()
195 lprops->free + lprops->dirty == c->leb_size)); in scan_for_dirty()
289 sum = idx_lp->free + idx_lp->dirty; in ubifs_find_dirty_leb()
306 if (lp->dirty + lp->free < min_space) in ubifs_find_dirty_leb()
312 if (idx_lp->free + idx_lp->dirty >= lp->free + lp->dirty) in ubifs_find_dirty_leb()
318 ubifs_assert(lp->free + lp->dirty >= c->dead_wm); in ubifs_find_dirty_leb()
330 (pick_free && lp->free + lp->dirty == c->leb_size)); in ubifs_find_dirty_leb()
334 lp->lnum, lp->free, lp->dirty, lp->flags); in ubifs_find_dirty_leb()
378 if (lprops->free < data->min_space) in scan_for_free_cb()
381 if (!data->pick_free && lprops->free == c->leb_size) in scan_for_free_cb()
389 if (lprops->free + lprops->dirty == c->leb_size && lprops->dirty > 0) in scan_for_free_cb()
418 if (lprops && lprops->free >= min_space) in do_find_free_space()
428 if (lprops && lprops->free >= min_space) in do_find_free_space()
435 if (lprops->free >= min_space) in do_find_free_space()
450 if (lprops->free >= min_space) in do_find_free_space()
471 ubifs_assert(lprops->free >= min_space); in do_find_free_space()
561 *offs = c->leb_size - lprops->free; in ubifs_find_free_space()
618 if (lprops->free + lprops->dirty != c->leb_size) in scan_for_idx_cb()
651 ubifs_assert(lprops->free + lprops->dirty == c->leb_size); in scan_for_leb_for_idx()
711 lnum, lprops->free, lprops->dirty, lprops->flags); in ubifs_find_free_leb_for_idx()
747 return lpa->dirty + lpa->free - lpb->dirty - lpb->free; in cmp_dirty_idx()
785 c->dirty_idx.arr[c->dirty_idx.cnt - 1]->free); in ubifs_save_dirty_idx_lnums()
821 if (lprops->free + lprops->dirty < c->min_idx_node_sz) in scan_dirty_idx_cb()
879 ubifs_assert(lprops->free + lprops->dirty >= c->min_idx_node_sz); in find_dirty_idx_leb()
884 lprops->lnum, lprops->free, lprops->dirty, lprops->flags); in find_dirty_idx_leb()
919 lp->lnum, lp->dirty, lp->free, lp->flags); in get_idx_gc_leb()
949 lp->free, lp->flags); in find_dirtiest_idx_leb()