Lines Matching full:compressor
94 /* Crypto compressor to use */
103 module_param_cb(compressor, &zswap_compressor_param_ops,
249 static struct zswap_pool *zswap_pool_create(char *type, char *compressor) in zswap_pool_create() argument
263 if (!strcmp(compressor, ZSWAP_PARAM_UNSET)) in zswap_pool_create()
280 strscpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); in zswap_pool_create()
327 pr_err("compressor %s not available, using default %s\n", in __zswap_pool_create_fallback()
334 pr_err("default compressor %s not available\n", in __zswap_pool_create_fallback()
460 /* type and compressor must be null-terminated */
461 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) in zswap_pool_find_get() argument
468 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get()
533 char *type, char *compressor) in __zswap_param_set() argument
567 } else if (!compressor) { in __zswap_param_set()
569 pr_err("compressor %s not available\n", s); in __zswap_param_set()
572 compressor = s; in __zswap_param_set()
580 pool = zswap_pool_find_get(type, compressor); in __zswap_param_set()
590 pool = zswap_pool_create(type, compressor); in __zswap_param_set()
627 * failed, maybe both compressor and zpool params were bad. in __zswap_param_set()