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.c1068 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()