Lines Matching refs:zstd_ctx
20 struct zstd_ctx { struct
32 static int zstd_comp_init(struct zstd_ctx *ctx) in zstd_comp_init() argument
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()
109 struct zstd_ctx *ctx; in zstd_alloc_ctx()
126 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_init()
145 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_exit()
154 struct zstd_ctx *zctx = ctx; in __zstd_compress()
167 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_compress()
183 struct zstd_ctx *zctx = ctx; in __zstd_decompress()
195 struct zstd_ctx *ctx = crypto_tfm_ctx(tfm); in zstd_decompress()
211 .cra_ctxsize = sizeof(struct zstd_ctx),