Lines Matching defs:ctx
40 static int zstd_comp_init(struct zstd_ctx *ctx) in zstd_comp_init()
64 static int zstd_decomp_init(struct zstd_ctx *ctx) in zstd_decomp_init()
87 static void zstd_comp_exit(struct zstd_ctx *ctx) in zstd_comp_exit()
94 static void zstd_decomp_exit(struct zstd_ctx *ctx) in zstd_decomp_exit()
101 static int __zstd_init(void *ctx) in __zstd_init()
117 struct zstd_ctx *ctx; in zstd_alloc_ctx() local
134 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init() local
139 static void __zstd_exit(void *ctx) in __zstd_exit()
145 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) in zstd_free_ctx()
153 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit() local
159 u8 *dst, unsigned int *dlen, void *ctx) in __zstd_compress()
175 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_compress() local
182 void *ctx) in zstd_scompress()
188 u8 *dst, unsigned int *dlen, void *ctx) in __zstd_decompress()
203 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_decompress() local
210 void *ctx) in zstd_sdecompress()