Lines Matching full:compressor
96 /* Crypto compressor to use */
105 module_param_cb(compressor, &zswap_compressor_param_ops,
446 * If users dynamically change the zpool type and compressor at runtime, i.e.
598 /* type and compressor must be null-terminated */
599 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) in zswap_pool_find_get() argument
606 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get()
712 static struct zswap_pool *zswap_pool_create(char *type, char *compressor) in zswap_pool_create() argument
727 if (!strcmp(compressor, ZSWAP_PARAM_UNSET)) in zswap_pool_create()
748 strscpy(pool->tfm_name, compressor, sizeof(pool->tfm_name)); in zswap_pool_create()
760 pr_debug("using %s compressor\n", pool->tfm_name); in zswap_pool_create()
791 pr_err("compressor %s not available, using default %s\n", in __zswap_pool_create_fallback()
798 pr_err("default compressor %s not available\n", in __zswap_pool_create_fallback()
898 char *type, char *compressor) in __zswap_param_set() argument
932 } else if (!compressor) { in __zswap_param_set()
934 pr_err("compressor %s not available\n", s); in __zswap_param_set()
937 compressor = s; in __zswap_param_set()
945 pool = zswap_pool_find_get(type, compressor); in __zswap_param_set()
955 pool = zswap_pool_create(type, compressor); in __zswap_param_set()
981 * failed, maybe both compressor and zpool params were bad. in __zswap_param_set()