Lines Matching defs:mode
227 * Callers should hold the zram init lock in read mode
552 int mode, err;
556 mode = IDLE_WRITEBACK;
558 mode = HUGE_WRITEBACK;
560 mode = IDLE_WRITEBACK | HUGE_WRITEBACK;
562 mode = INCOMPRESSIBLE_WRITEBACK;
609 if (mode & IDLE_WRITEBACK &&
612 if (mode & HUGE_WRITEBACK &&
615 if (mode & INCOMPRESSIBLE_WRITEBACK &&
1740 u32 mode = 0, threshold = 0;
1754 mode = RECOMPRESS_IDLE;
1756 mode = RECOMPRESS_HUGE;
1758 mode = RECOMPRESS_IDLE | RECOMPRESS_HUGE;
1823 if (mode & RECOMPRESS_IDLE &&
1827 if (mode & RECOMPRESS_HUGE &&
2131 static int zram_open(struct gendisk *disk, blk_mode_t mode)