Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_ipcomp.c29 struct crypto_comp * __percpu *tfms;
46 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); in ipcomp_decompress()
140 struct crypto_comp *tfm; in ipcomp_compress()
244 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
266 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
272 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
275 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
280 struct crypto_comp *tfm; in ipcomp_alloc_tfms()
299 pos->tfms = tfms = alloc_percpu(struct crypto_comp *); in ipcomp_alloc_tfms()
304 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms()
/kernel/linux/linux-5.10/include/linux/
Dcrypto.h646 struct crypto_comp { struct
908 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
910 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
913 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
923 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
928 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
942 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
947 int crypto_comp_compress(struct crypto_comp *tfm,
951 int crypto_comp_decompress(struct crypto_comp *tfm,
/kernel/linux/linux-5.10/include/net/
Dipcomp.h9 struct crypto_comp;
13 struct crypto_comp * __percpu *tfms;
/kernel/linux/linux-5.10/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.c3183 static int test_comp(struct crypto_comp *tfm, in test_comp()
3545 struct crypto_comp *comp; in alg_test_comp()
/kernel/linux/linux-5.10/drivers/block/zram/
Dzcomp.h15 struct crypto_comp *tfm;
/kernel/linux/linux-5.10/mm/
Dzswap.c132 struct crypto_comp * __percpu *tfm;
418 struct crypto_comp *tfm; in zswap_cpu_comp_prepare()
436 struct crypto_comp *tfm; in zswap_cpu_comp_dead()
564 pool->tfm = alloc_percpu(struct crypto_comp *); in zswap_pool_create()
879 struct crypto_comp *tfm; in zswap_writeback_entry()
1024 struct crypto_comp *tfm; in zswap_frontswap_store()
1168 struct crypto_comp *tfm; in zswap_frontswap_load()
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c98 static struct crypto_comp *tfm;
292 struct crypto_comp *ctx; in allocate_buf_for_compression()
/kernel/linux/linux-5.10/fs/ubifs/
Dubifs.h843 struct crypto_comp *cc;