Lines Matching refs: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);
830 unsigned int background)
835 (background || (TREE_EMPTY(d, CLEAN) && TREE_EMPTY(d, DIRTY))))
846 unsigned int background)
852 if (background && TREE_COUNT(d, CLEAN) > CLEAN_BLOCK_THRESHOLD &&
856 idx = mtdswap_choose_gc_tree(d, background);
938 static int mtdswap_gc(struct mtdswap_dev *d, unsigned int background)
946 eb = mtdswap_pick_gc_eblk(d, background);
1482 .background = mtdswap_background,