Home
last modified time | relevance | path

Searched refs:crypto_comp (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/linux/
H A Dcrypto.h436 struct crypto_comp { struct
496 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
498 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
501 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
511 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
516 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
530 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
535 int crypto_comp_compress(struct crypto_comp *tfm,
539 int crypto_comp_decompress(struct crypto_comp *tfm,
/openbmc/linux/net/xfrm/
H A Dxfrm_ipcomp.c29 struct crypto_comp * __percpu *tfms;
45 struct crypto_comp *tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_decompress()
128 struct crypto_comp *tfm; in ipcomp_compress()
232 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
254 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
260 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
263 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
268 struct crypto_comp *tfm; in ipcomp_alloc_tfms()
287 pos->tfms = tfms = alloc_percpu(struct crypto_comp *); in ipcomp_alloc_tfms()
292 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms()
/openbmc/linux/include/net/
H A Dipcomp.h10 struct crypto_comp;
15 struct crypto_comp * __percpu *tfms;
/openbmc/linux/crypto/
H A Dcompress.c12 int crypto_comp_compress(struct crypto_comp *comp, in crypto_comp_compress()
23 int crypto_comp_decompress(struct crypto_comp *comp, in crypto_comp_decompress()
H A Dtestmgr.c3298 static int test_comp(struct crypto_comp *tfm, in test_comp()
3689 struct crypto_comp *comp; in alg_test_comp()
/openbmc/linux/drivers/block/zram/
H A Dzcomp.h15 struct crypto_comp *tfm;
/openbmc/u-boot/fs/ubifs/
H A Dubifs.c90 struct crypto_comp { struct
94 static inline struct crypto_comp argument
98 struct crypto_comp *ptr; in crypto_alloc_comp()
101 ptr = malloc_cache_aligned(sizeof(struct crypto_comp)); in crypto_alloc_comp()
122 crypto_comp_decompress(const struct ubifs_info *c, struct crypto_comp *tfm, in crypto_comp_decompress()
H A Dubifs.h1433 struct crypto_comp *cc;
/openbmc/linux/fs/ubifs/
H A Dubifs.h852 struct crypto_comp *cc;