Searched refs:ZRAM_MAX_COMPS (Results 1 – 2 of 2) sorted by relevance
99 #define ZRAM_MAX_COMPS 4U macro103 #define ZRAM_MAX_COMPS 1U macro109 struct zcomp *comps[ZRAM_MAX_COMPS];124 const char *comp_algs[ZRAM_MAX_COMPS];
1068 for (prio = ZRAM_SECONDARY_COMP; prio < ZRAM_MAX_COMPS; prio++) { in recomp_algorithm_show()1113 if (prio < ZRAM_SECONDARY_COMP || prio >= ZRAM_MAX_COMPS) in recomp_algorithm_store()1743 u32 prio = ZRAM_SECONDARY_COMP, prio_max = ZRAM_MAX_COMPS; in recompress_store()1798 for (; prio < ZRAM_MAX_COMPS; prio++) { in recompress_store()1803 prio_max = min(prio + 1, ZRAM_MAX_COMPS); in recompress_store()2007 for (prio = 0; prio < ZRAM_MAX_COMPS; prio++) { in zram_destroy_comps()2017 for (prio = ZRAM_PRIMARY_COMP; prio < ZRAM_MAX_COMPS; prio++) { in zram_destroy_comps()2071 for (prio = 0; prio < ZRAM_MAX_COMPS; prio++) { in disksize_store()