Searched refs:sreq (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/crypto/marvell/ |
D | cipher.c | 87 struct mv_cesa_ablkcipher_std_req *sreq = &creq->req.std; in mv_cesa_ablkcipher_std_step() local 88 struct mv_cesa_engine *engine = sreq->base.engine; in mv_cesa_ablkcipher_std_step() 89 size_t len = min_t(size_t, req->nbytes - sreq->offset, in mv_cesa_ablkcipher_std_step() 94 len, sreq->offset); in mv_cesa_ablkcipher_std_step() 96 sreq->size = len; in mv_cesa_ablkcipher_std_step() 97 mv_cesa_set_crypt_op_len(&sreq->op, len); in mv_cesa_ablkcipher_std_step() 100 if (!sreq->skip_ctx) { in mv_cesa_ablkcipher_std_step() 101 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_ablkcipher_std_step() 102 sreq->skip_ctx = true; in mv_cesa_ablkcipher_std_step() 104 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op.desc)); in mv_cesa_ablkcipher_std_step() [all …]
|
D | hash.c | 204 struct mv_cesa_ahash_std_req *sreq = &creq->req.std; in mv_cesa_ahash_std_step() local 205 struct mv_cesa_engine *engine = sreq->base.engine; in mv_cesa_ahash_std_step() 215 len = min_t(size_t, req->nbytes + creq->cache_ptr - sreq->offset, in mv_cesa_ahash_std_step() 224 sreq->offset += sg_pcopy_to_buffer(req->src, creq->src_nents, in mv_cesa_ahash_std_step() 229 sreq->offset); in mv_cesa_ahash_std_step() 235 if (creq->last_req && sreq->offset == req->nbytes && in mv_cesa_ahash_std_step() 291 struct mv_cesa_ahash_std_req *sreq = &creq->req.std; in mv_cesa_ahash_std_process() local 293 if (sreq->offset < (req->nbytes - creq->cache_ptr)) in mv_cesa_ahash_std_process() 310 struct mv_cesa_ahash_std_req *sreq = &creq->req.std; in mv_cesa_ahash_std_prepare() local 311 struct mv_cesa_engine *engine = sreq->base.engine; in mv_cesa_ahash_std_prepare() [all …]
|
/linux-4.4.14/crypto/ |
D | algif_skcipher.c | 75 static void skcipher_free_async_sgls(struct skcipher_async_req *sreq) in skcipher_free_async_sgls() argument 82 list_for_each_entry_safe(rsgl, tmp, &sreq->list, list) { in skcipher_free_async_sgls() 84 if (rsgl != &sreq->first_sgl) in skcipher_free_async_sgls() 87 sgl = sreq->tsg; in skcipher_free_async_sgls() 92 kfree(sreq->tsg); in skcipher_free_async_sgls() 97 struct skcipher_async_req *sreq = req->data; in skcipher_async_cb() local 98 struct kiocb *iocb = sreq->iocb; in skcipher_async_cb() 100 atomic_dec(sreq->inflight); in skcipher_async_cb() 101 skcipher_free_async_sgls(sreq); in skcipher_async_cb() 102 kzfree(sreq); in skcipher_async_cb() [all …]
|
/linux-4.4.14/drivers/block/ |
D | nbd.c | 649 struct request sreq; in __nbd_ioctl() local 658 blk_rq_init(NULL, &sreq); in __nbd_ioctl() 659 sreq.cmd_type = REQ_TYPE_DRV_PRIV; in __nbd_ioctl() 667 nbd_send_req(nbd, &sreq); in __nbd_ioctl()
|
/linux-4.4.14/arch/s390/kernel/ |
D | perf_cpum_sf.c | 99 struct hws_lsctl_request_block sreq; in sf_disable() local 101 memset(&sreq, 0, sizeof(sreq)); in sf_disable() 102 return lsctl(&sreq); in sf_disable()
|
/linux-4.4.14/include/linux/netfilter/ |
D | nf_conntrack_pptp.h | 284 struct PptpStartSessionRequest sreq; member
|