Home
last modified time | relevance | path

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

/Linux-v5.15/net/xfrm/
Dxfrm_ipcomp.c29 struct crypto_comp * __percpu *tfms;
45 struct crypto_comp *tfm = *this_cpu_ptr(ipcd->tfms); in ipcomp_decompress()
131 struct crypto_comp *tfm; in ipcomp_compress()
234 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
256 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
262 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
265 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
270 struct crypto_comp *tfm; in ipcomp_alloc_tfms()
289 pos->tfms = tfms = alloc_percpu(struct crypto_comp *); in ipcomp_alloc_tfms()
294 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms()
/Linux-v5.15/include/linux/
Dcrypto.h642 struct crypto_comp { struct
719 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
721 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
724 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
734 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
739 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
753 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
758 int crypto_comp_compress(struct crypto_comp *tfm,
762 int crypto_comp_decompress(struct crypto_comp *tfm,
/Linux-v5.15/include/net/
Dipcomp.h9 struct crypto_comp;
13 struct crypto_comp * __percpu *tfms;
/Linux-v5.15/crypto/
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()
Dtestmgr.c3167 static int test_comp(struct crypto_comp *tfm, in test_comp()
3529 struct crypto_comp *comp; in alg_test_comp()
/Linux-v5.15/drivers/block/zram/
Dzcomp.h15 struct crypto_comp *tfm;
/Linux-v5.15/fs/pstore/
Dplatform.c93 static struct crypto_comp *tfm;
286 struct crypto_comp *ctx; in allocate_buf_for_compression()
/Linux-v5.15/fs/ubifs/
Dubifs.h843 struct crypto_comp *cc;