Lines Matching refs:compressor
90 /* Crypto compressor to use */
99 module_param_cb(compressor, &zswap_compressor_param_ops,
500 /* type and compressor must be null-terminated */
501 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor)
508 if (strcmp(pool->tfm_name, compressor))
531 static struct zswap_pool *zswap_pool_create(char *type, char *compressor)
545 if (!strcmp(compressor, ZSWAP_PARAM_UNSET))
563 strlcpy(pool->tfm_name, compressor, sizeof(pool->tfm_name));
574 pr_debug("using %s compressor\n", pool->tfm_name);
602 pr_err("compressor %s not available, using default %s\n",
609 pr_err("default compressor %s not available\n",
698 char *type, char *compressor)
725 } else if (!compressor) {
727 pr_err("compressor %s not available\n", s);
730 compressor = s;
738 pool = zswap_pool_find_get(type, compressor);
748 pool = zswap_pool_create(type, compressor);
774 * failed, maybe both compressor and zpool params were bad.