Lines Matching +full:comp +full:- +full:int
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 * This data is kept per-comp and is shared among execution contexts.
32 * Run-time driver context - scratch buffers, etc. It is modified during
34 * it's in per-CPU area.
58 int (*compress)(struct zcomp_params *params, struct zcomp_ctx *ctx,
60 int (*decompress)(struct zcomp_params *params, struct zcomp_ctx *ctx,
63 int (*create_ctx)(struct zcomp_params *params, struct zcomp_ctx *ctx);
66 int (*setup_params)(struct zcomp_params *params);
72 /* dynamic per-device compression frontend */
80 int zcomp_cpu_up_prepare(unsigned int cpu, struct hlist_node *node);
81 int zcomp_cpu_dead(unsigned int cpu, struct hlist_node *node);
82 ssize_t zcomp_available_show(const char *comp, char *buf, ssize_t at);
83 bool zcomp_available_algorithm(const char *comp);
86 void zcomp_destroy(struct zcomp *comp);
88 struct zcomp_strm *zcomp_stream_get(struct zcomp *comp);
91 int zcomp_compress(struct zcomp *comp, struct zcomp_strm *zstrm,
92 const void *src, unsigned int *dst_len);
93 int zcomp_decompress(struct zcomp *comp, struct zcomp_strm *zstrm,
94 const void *src, unsigned int src_len, void *dst);