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.c1641 if (zram->comp_algs[prio] != default_compressor) in comp_algorithm_set()
1642 kfree(zram->comp_algs[prio]); in comp_algorithm_set()
1644 zram->comp_algs[prio] = alg; in comp_algorithm_set()
1773 if (!zram->comp_algs[p]) in algorithm_params_store()
1776 if (!strcmp(zram->comp_algs[p], algo)) { in algorithm_params_store()
1798 sz = zcomp_available_show(zram->comp_algs[ZRAM_PRIMARY_COMP], buf, 0); in comp_algorithm_show()
1825 if (!zram->comp_algs[prio]) in recomp_algorithm_show()
1829 sz += zcomp_available_show(zram->comp_algs[prio], buf, sz); in recomp_algorithm_show()
2622 if (!zram->comp_algs[prio]) in recompress_store()
2625 if (!strcmp(zram->comp_algs[prio], algo)) { in recompress_store()
[all …]
H A Dzram_drv.h127 const char *comp_algs[ZRAM_MAX_COMPS]; member