Home
last modified time | relevance | path

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

/Linux-v6.1/include/crypto/
Dacompress.h26 struct acomp_req { struct
48 int (*compress)(struct acomp_req *req); argument
49 int (*decompress)(struct acomp_req *req);
77 int (*compress)(struct acomp_req *req);
78 int (*decompress)(struct acomp_req *req);
153 static inline void acomp_request_set_tfm(struct acomp_req *req, in acomp_request_set_tfm()
159 static inline struct crypto_acomp *crypto_acomp_reqtfm(struct acomp_req *req) in crypto_acomp_reqtfm()
192 struct acomp_req *acomp_request_alloc(struct crypto_acomp *tfm);
201 void acomp_request_free(struct acomp_req *req);
214 static inline void acomp_request_set_callback(struct acomp_req *req, in acomp_request_set_callback()
[all …]
/Linux-v6.1/include/crypto/internal/
Dacompress.h16 static inline void *acomp_request_ctx(struct acomp_req *req) in acomp_request_ctx()
26 static inline void acomp_request_complete(struct acomp_req *req, in acomp_request_complete()
37 static inline struct acomp_req *__acomp_request_alloc(struct crypto_acomp *tfm) in __acomp_request_alloc()
39 struct acomp_req *req; in __acomp_request_alloc()
47 static inline void __acomp_request_free(struct acomp_req *req) in __acomp_request_free()
Dscompress.h93 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req);
94 void crypto_acomp_scomp_free_ctx(struct acomp_req *req);
/Linux-v6.1/drivers/crypto/hisilicon/zip/
Dzip_crypto.c74 struct acomp_req *req;
197 static int get_comp_head_size(struct acomp_req *acomp_req, u8 req_type) in get_comp_head_size() argument
199 if (unlikely(!acomp_req->src || !acomp_req->slen)) in get_comp_head_size()
203 acomp_req->slen < GZIP_HEAD_FEXTRA_SHIFT)) in get_comp_head_size()
217 static struct hisi_zip_req *hisi_zip_create_req(struct acomp_req *req, in hisi_zip_create_req()
273 struct acomp_req *a_req = req->req; in hisi_zip_fill_buf_size()
338 struct acomp_req *a_req = req->req; in hisi_zip_do_work()
416 struct acomp_req *acomp_req = req->req; in hisi_zip_acomp_cb() local
432 hisi_acc_sg_buf_unmap(dev, acomp_req->src, req->hw_src); in hisi_zip_acomp_cb()
433 hisi_acc_sg_buf_unmap(dev, acomp_req->dst, req->hw_dst); in hisi_zip_acomp_cb()
[all …]
/Linux-v6.1/crypto/
Dscompress.c120 static int scomp_acomp_comp_decomp(struct acomp_req *req, int dir) in scomp_acomp_comp_decomp()
164 static int scomp_acomp_compress(struct acomp_req *req) in scomp_acomp_compress()
169 static int scomp_acomp_decompress(struct acomp_req *req) in scomp_acomp_decompress()
213 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req) in crypto_acomp_scomp_alloc_ctx()
232 void crypto_acomp_scomp_free_ctx(struct acomp_req *req) in crypto_acomp_scomp_free_ctx()
Dacompress.c120 struct acomp_req *acomp_request_alloc(struct crypto_acomp *acomp) in acomp_request_alloc()
123 struct acomp_req *req; in acomp_request_alloc()
133 void acomp_request_free(struct acomp_req *req) in acomp_request_free()
Dtestmgr.c3334 struct acomp_req *req; in test_acomp()
/Linux-v6.1/mm/
Dzswap.c144 struct acomp_req *req;
465 struct acomp_req *req; in zswap_cpu_comp_prepare()