Home
last modified time | relevance | path

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

/linux-6.6.21/include/crypto/internal/
Dacompress.h39 int (*compress)(struct acomp_req *req);
40 int (*decompress)(struct acomp_req *req);
56 static inline void *acomp_request_ctx(struct acomp_req *req) in acomp_request_ctx()
66 static inline void acomp_request_complete(struct acomp_req *req, in acomp_request_complete()
72 static inline struct acomp_req *__acomp_request_alloc(struct crypto_acomp *tfm) in __acomp_request_alloc()
74 struct acomp_req *req; in __acomp_request_alloc()
82 static inline void __acomp_request_free(struct acomp_req *req) in __acomp_request_free()
Dscompress.h17 struct acomp_req;
/linux-6.6.21/include/crypto/
Dacompress.h30 struct acomp_req { struct
52 int (*compress)(struct acomp_req *req); argument
53 int (*decompress)(struct acomp_req *req);
157 static inline void acomp_request_set_tfm(struct acomp_req *req, in acomp_request_set_tfm()
163 static inline struct crypto_acomp *crypto_acomp_reqtfm(struct acomp_req *req) in crypto_acomp_reqtfm()
196 struct acomp_req *acomp_request_alloc(struct crypto_acomp *tfm);
205 void acomp_request_free(struct acomp_req *req);
218 static inline void acomp_request_set_callback(struct acomp_req *req, in acomp_request_set_callback()
242 static inline void acomp_request_set_params(struct acomp_req *req, in acomp_request_set_params()
288 static inline int crypto_acomp_compress(struct acomp_req *req) in crypto_acomp_compress()
[all …]
/linux-6.6.21/crypto/
Dcompress.h14 struct acomp_req;
19 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req);
20 void crypto_acomp_scomp_free_ctx(struct acomp_req *req);
Dscompress.c113 static int scomp_acomp_comp_decomp(struct acomp_req *req, int dir) in scomp_acomp_comp_decomp()
163 static int scomp_acomp_compress(struct acomp_req *req) in scomp_acomp_compress()
168 static int scomp_acomp_decompress(struct acomp_req *req) in scomp_acomp_decompress()
212 struct acomp_req *crypto_acomp_scomp_alloc_ctx(struct acomp_req *req) in crypto_acomp_scomp_alloc_ctx()
231 void crypto_acomp_scomp_free_ctx(struct acomp_req *req) in crypto_acomp_scomp_free_ctx()
Dacompress.c155 struct acomp_req *acomp_request_alloc(struct crypto_acomp *acomp) in acomp_request_alloc()
158 struct acomp_req *req; in acomp_request_alloc()
168 void acomp_request_free(struct acomp_req *req) in acomp_request_free()
Dtestmgr.c3414 struct acomp_req *req; in test_acomp()
/linux-6.6.21/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-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_comp_algs.c49 struct acomp_req *acompress_req;
80 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_resubmit()
140 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_rfc1950_callback()
178 struct acomp_req *areq = qat_req->acompress_req; in qat_comp_generic_callback()
308 static int qat_comp_alg_compress_decompress(struct acomp_req *areq, enum direction dir, in qat_comp_alg_compress_decompress()
393 static int qat_comp_alg_compress(struct acomp_req *req) in qat_comp_alg_compress()
398 static int qat_comp_alg_decompress(struct acomp_req *req) in qat_comp_alg_decompress()
403 static int qat_comp_alg_rfc1950_compress(struct acomp_req *req) in qat_comp_alg_rfc1950_compress()
416 static int qat_comp_alg_rfc1950_decompress(struct acomp_req *req) in qat_comp_alg_rfc1950_decompress()
/linux-6.6.21/mm/
Dzswap.c153 struct acomp_req *req;
494 struct acomp_req *req; in zswap_cpu_comp_prepare()