Lines Matching full:background
10 * Based on Richard Purdie's earlier implementation in 2007. Background
43 * Wear level cost amortization. We want to do wear leveling on the background
182 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background);
829 unsigned int background) in mtdswap_choose_gc_tree() argument
834 (background || (TREE_EMPTY(d, CLEAN) && TREE_EMPTY(d, DIRTY)))) in mtdswap_choose_gc_tree()
845 unsigned int background) in mtdswap_pick_gc_eblk() argument
851 if (background && TREE_COUNT(d, CLEAN) > CLEAN_BLOCK_THRESHOLD && in mtdswap_pick_gc_eblk()
855 idx = mtdswap_choose_gc_tree(d, background); in mtdswap_pick_gc_eblk()
937 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background) in mtdswap_gc() argument
945 eb = mtdswap_pick_gc_eblk(d, background); in mtdswap_gc()
1480 .background = mtdswap_background,