Lines Matching full:compressor
100 /* Crypto compressor to use */
109 module_param_cb(compressor, &zswap_compressor_param_ops,
817 /* type and compressor must be null-terminated */
818 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) in zswap_pool_find_get() argument
825 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get()
1013 static struct zswap_pool *zswap_pool_create(char *type, char *compressor) in zswap_pool_create() argument
1028 if (!strcmp(compressor, ZSWAP_PARAM_UNSET)) in zswap_pool_create()
1049 strscpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); in zswap_pool_create()
1066 pr_debug("using %s compressor\n", pool->tfm_name); in zswap_pool_create()
1102 pr_err("compressor %s not available, using default %s\n", in __zswap_pool_create_fallback()
1109 pr_err("default compressor %s not available\n", in __zswap_pool_create_fallback()
1217 char *type, char *compressor) in __zswap_param_set() argument
1251 } else if (!compressor) { in __zswap_param_set()
1253 pr_err("compressor %s not available\n", s); in __zswap_param_set()
1256 compressor = s; in __zswap_param_set()
1264 pool = zswap_pool_find_get(type, compressor); in __zswap_param_set()
1274 pool = zswap_pool_create(type, compressor); in __zswap_param_set()
1300 * failed, maybe both compressor and zpool params were bad. in __zswap_param_set()