Home
last modified time | relevance | path

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

/linux/drivers/block/zram/
H A Dzram_drv.c1625 if (zram->comp_algs[prio] != default_compressor) in comp_algorithm_set()
1626 kfree(zram->comp_algs[prio]); in comp_algorithm_set()
1628 zram->comp_algs[prio] = alg; in comp_algorithm_set()
1757 if (!zram->comp_algs[p]) in algorithm_params_store()
1760 if (!strcmp(zram->comp_algs[p], algo)) { in algorithm_params_store()
1782 sz = zcomp_available_show(zram->comp_algs[ZRAM_PRIMARY_COMP], buf, 0); in comp_algorithm_show()
1809 if (!zram->comp_algs[prio]) in recomp_algorithm_show()
1813 sz += zcomp_available_show(zram->comp_algs[prio], buf, sz); in recomp_algorithm_show()
2611 if (!zram->comp_algs[prio]) in recompress_store()
2614 if (!strcmp(zram->comp_algs[prio], algo)) { in recompress_store()
[all …]
H A Dzram_drv.h127 const char *comp_algs[ZRAM_MAX_COMPS]; member