Home
last modified time | relevance | path

Searched refs:ZRAM_MAX_COMPS (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/block/zram/
H A Dzram_drv.h99 #define ZRAM_MAX_COMPS 4U macro
103 #define ZRAM_MAX_COMPS 1U macro
109 struct zcomp *comps[ZRAM_MAX_COMPS];
124 const char *comp_algs[ZRAM_MAX_COMPS];
H A Dzram_drv.c1050 for (prio = ZRAM_SECONDARY_COMP; prio < ZRAM_MAX_COMPS; prio++) { in recomp_algorithm_show()
1095 if (prio < ZRAM_SECONDARY_COMP || prio >= ZRAM_MAX_COMPS) in recomp_algorithm_store()
1713 u32 prio = ZRAM_SECONDARY_COMP, prio_max = ZRAM_MAX_COMPS; in recompress_store()
1768 for (; prio < ZRAM_MAX_COMPS; prio++) { in recompress_store()
1773 prio_max = min(prio + 1, ZRAM_MAX_COMPS); in recompress_store()
1977 for (prio = 0; prio < ZRAM_MAX_COMPS; prio++) { in zram_destroy_comps()
1987 for (prio = ZRAM_PRIMARY_COMP; prio < ZRAM_MAX_COMPS; prio++) { in zram_destroy_comps()
2046 for (prio = 0; prio < ZRAM_MAX_COMPS; prio++) { in disksize_store()