Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c986 if (zram->comp_algs[prio] != default_compressor) in comp_algorithm_set()
987 kfree(zram->comp_algs[prio]); in comp_algorithm_set()
989 zram->comp_algs[prio] = alg; in comp_algorithm_set()
997 sz = zcomp_available_show(zram->comp_algs[prio], buf); in __comp_algorithm_show()
1069 if (!zram->comp_algs[prio]) in recomp_algorithm_show()
1799 if (!zram->comp_algs[prio]) in recompress_store()
1802 if (!strcmp(zram->comp_algs[prio], algo)) { in recompress_store()
2019 if (zram->comp_algs[prio] != default_compressor) in zram_destroy_comps()
2020 kfree(zram->comp_algs[prio]); in zram_destroy_comps()
2021 zram->comp_algs[prio] = NULL; in zram_destroy_comps()
[all …]
H A Dzram_drv.h124 const char *comp_algs[ZRAM_MAX_COMPS]; member