Lines Matching defs:background
2636 int aggressive, int background)
2694 if (background)
2702 threshold = background ? (dev->gc_not_done + 2) * 2 : 0;
2748 dev->gc_not_done >= (background ? 10 : 20)) {
2770 if (background)
2784 dev->oldest_dirty_block, background ? " bg" : "");
2799 static int yaffs_check_gc(struct yaffs_dev *dev, int background)
2833 if (!background
2840 dev->gc_skip < 1 || background)
2860 yaffs_find_gc_block(dev, aggressive, background);
2892 * Garbage collects. Intended to be called from a background thread.