Lines Matching defs:crypto_scomp
15 struct crypto_scomp {
29 void *(*alloc_ctx)(struct crypto_scomp *tfm);
30 void (*free_ctx)(struct crypto_scomp *tfm, void *ctx);
31 int (*compress)(struct crypto_scomp *tfm, const u8 *src,
34 int (*decompress)(struct crypto_scomp *tfm, const u8 *src,
45 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm)
47 return container_of(tfm, struct crypto_scomp, base);
50 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm)
55 static inline void crypto_free_scomp(struct crypto_scomp *tfm)
60 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm)
65 static inline void *crypto_scomp_alloc_ctx(struct crypto_scomp *tfm)
70 static inline void crypto_scomp_free_ctx(struct crypto_scomp *tfm,
76 static inline int crypto_scomp_compress(struct crypto_scomp *tfm,
83 static inline int crypto_scomp_decompress(struct crypto_scomp *tfm,