Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/include/net/
Dipcomp.h9 struct crypto_comp;
13 struct crypto_comp * __percpu *tfms;
/Linux-v5.4/include/linux/
Dcrypto.h791 struct crypto_comp { struct
1783 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
1785 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
1788 static inline struct crypto_comp *crypto_comp_cast(struct crypto_tfm *tfm) in crypto_comp_cast()
1795 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
1805 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
1810 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
1824 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
1829 static inline struct compress_tfm *crypto_comp_crt(struct crypto_comp *tfm) in crypto_comp_crt()
1834 static inline int crypto_comp_compress(struct crypto_comp *tfm, in crypto_comp_compress()
[all …]
/Linux-v5.4/mm/
Dzswap.c123 struct crypto_comp * __percpu *tfm;
401 struct crypto_comp *tfm; in zswap_cpu_comp_prepare()
419 struct crypto_comp *tfm; in zswap_cpu_comp_dead()
537 pool->tfm = alloc_percpu(struct crypto_comp *); in zswap_pool_create()
848 struct crypto_comp *tfm; in zswap_writeback_entry()
992 struct crypto_comp *tfm; in zswap_frontswap_store()
1134 struct crypto_comp *tfm; in zswap_frontswap_load()
/Linux-v5.4/drivers/block/zram/
Dzcomp.h12 struct crypto_comp *tfm;
/Linux-v5.4/fs/pstore/
Dplatform.c87 static struct crypto_comp *tfm;
289 struct crypto_comp *ctx; in allocate_buf_for_compression()
/Linux-v5.4/fs/ubifs/
Dubifs.h841 struct crypto_comp *cc;
/Linux-v5.4/crypto/
Dtestmgr.c2898 static int test_comp(struct crypto_comp *tfm, in test_comp()
3260 struct crypto_comp *comp; in alg_test_comp()