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()
324 pr_err("compressor %s not available, using default %s\n", in __zswap_pool_create_fallback()
331 pr_err("default compressor %s not available\n", in __zswap_pool_create_fallback()
451 /* type and compressor must be null-terminated */
452 static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor) in zswap_pool_find_get() argument
459 if (strcmp(pool->tfm_name, compressor)) in zswap_pool_find_get()
524 char *type, char *compressor) in __zswap_param_set() argument
558 } else if (!compressor) { in __zswap_param_set()
560 pr_err("compressor %s not available\n", s); in __zswap_param_set()
563 compressor = s; in __zswap_param_set()
571 pool = zswap_pool_find_get(type, compressor); in __zswap_param_set()
581 pool = zswap_pool_create(type, compressor); in __zswap_param_set()
618 * failed, maybe both compressor and zpool params were bad. in __zswap_param_set()