Home
last modified time | relevance | path

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

/Linux-v5.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()
243 static void ipcomp_free_tfms(struct crypto_comp * __percpu *tfms) in ipcomp_free_tfms()
265 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); in ipcomp_free_tfms()
271 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms()
274 struct crypto_comp * __percpu *tfms; in ipcomp_alloc_tfms()
279 struct crypto_comp *tfm; in ipcomp_alloc_tfms()
298 pos->tfms = tfms = alloc_percpu(struct crypto_comp *); in ipcomp_alloc_tfms()
303 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms()
/Linux-v5.10/include/linux/
Dcrypto.h643 struct crypto_comp { struct
905 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
907 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
910 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
920 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
925 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
939 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
944 int crypto_comp_compress(struct crypto_comp *tfm,
948 int crypto_comp_decompress(struct crypto_comp *tfm,
/Linux-v5.10/include/net/
Dipcomp.h9 struct crypto_comp;
13 struct crypto_comp * __percpu *tfms;
/Linux-v5.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()
/Linux-v5.10/drivers/block/zram/
Dzcomp.h15 struct crypto_comp *tfm;
/Linux-v5.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()
1007 struct crypto_comp *tfm; in zswap_frontswap_store()
1151 struct crypto_comp *tfm; in zswap_frontswap_load()
/Linux-v5.10/fs/pstore/
Dplatform.c93 static struct crypto_comp *tfm;
286 struct crypto_comp *ctx; in allocate_buf_for_compression()
/Linux-v5.10/fs/ubifs/
Dubifs.h841 struct crypto_comp *cc;