Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/xfrm/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dcrypto.h642 struct crypto_comp { struct
745 static inline struct crypto_comp *__crypto_comp_cast(struct crypto_tfm *tfm) in __crypto_comp_cast()
747 return (struct crypto_comp *)tfm; in __crypto_comp_cast()
750 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, in crypto_alloc_comp()
760 static inline struct crypto_tfm *crypto_comp_tfm(struct crypto_comp *tfm) in crypto_comp_tfm()
765 static inline void crypto_free_comp(struct crypto_comp *tfm) in crypto_free_comp()
779 static inline const char *crypto_comp_name(struct crypto_comp *tfm) in crypto_comp_name()
784 int crypto_comp_compress(struct crypto_comp *tfm,
788 int crypto_comp_decompress(struct crypto_comp *tfm,
/OK3568_Linux_fs/kernel/include/net/
H A Dipcomp.h9 struct crypto_comp;
13 struct crypto_comp * __percpu *tfms;
/OK3568_Linux_fs/kernel/crypto/
H A 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()
H A Dtestmgr.c3186 static int test_comp(struct crypto_comp *tfm, in test_comp()
3548 struct crypto_comp *comp; in alg_test_comp()
/OK3568_Linux_fs/kernel/mm/
H A 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()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Dubifs.c91 struct crypto_comp { struct
95 static inline struct crypto_comp argument
99 struct crypto_comp *ptr; in crypto_alloc_comp()
102 ptr = malloc_cache_aligned(sizeof(struct crypto_comp)); in crypto_alloc_comp()
123 crypto_comp_decompress(const struct ubifs_info *c, struct crypto_comp *tfm, in crypto_comp_decompress()
H A Dubifs.h1434 struct crypto_comp *cc;
/OK3568_Linux_fs/kernel/drivers/block/zram/
H A Dzcomp.h15 struct crypto_comp *tfm;
/OK3568_Linux_fs/kernel/fs/pstore/
H A Dplatform.c96 static struct crypto_comp *tfm;
289 struct crypto_comp *ctx; in allocate_buf_for_compression()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dubifs.h843 struct crypto_comp *cc;