Lines Matching defs:ctx
32 static int zstd_comp_init(struct zstd_ctx *ctx) in zstd_comp_init()
56 static int zstd_decomp_init(struct zstd_ctx *ctx) in zstd_decomp_init()
79 static void zstd_comp_exit(struct zstd_ctx *ctx) in zstd_comp_exit()
86 static void zstd_decomp_exit(struct zstd_ctx *ctx) in zstd_decomp_exit()
93 static int __zstd_init(void *ctx) in __zstd_init()
109 struct zstd_ctx *ctx; in zstd_alloc_ctx() local
126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init() local
131 static void __zstd_exit(void *ctx) in __zstd_exit()
137 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx) in zstd_free_ctx()
145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit() local
151 u8 *dst, unsigned int *dlen, void *ctx) in __zstd_compress()
167 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_compress() local
174 void *ctx) in zstd_scompress()
180 u8 *dst, unsigned int *dlen, void *ctx) in __zstd_decompress()
195 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_decompress() local
202 void *ctx) in zstd_sdecompress()