Home
last modified time | relevance | path

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

/Linux-v6.1/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()
235 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
257 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
263 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
266 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
271 struct crypto_comp *tfm; in ipcomp_alloc_tfms()
290 pos->tfms = tfms = alloc_percpu(struct crypto_comp *); in ipcomp_alloc_tfms()
295 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms()
/Linux-v6.1/include/linux/
Dcrypto.h651 struct crypto_comp { struct
728 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
730 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
733 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
743 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
748 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
762 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
767 int crypto_comp_compress(struct crypto_comp *tfm,
771 int crypto_comp_decompress(struct crypto_comp *tfm,
/Linux-v6.1/include/net/
Dipcomp.h10 struct crypto_comp;
15 struct crypto_comp * __percpu *tfms;
/Linux-v6.1/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.c3218 static int test_comp(struct crypto_comp *tfm, in test_comp()
3609 struct crypto_comp *comp; in alg_test_comp()
/Linux-v6.1/drivers/block/zram/
Dzcomp.h15 struct crypto_comp *tfm;
/Linux-v6.1/fs/pstore/
Dplatform.c93 static struct crypto_comp *tfm;
287 struct crypto_comp *ctx; in allocate_buf_for_compression()
/Linux-v6.1/fs/ubifs/
Dubifs.h852 struct crypto_comp *cc;