Lines Matching refs:req_data
332 struct virtio_crypto_op_data_req *req_data; in __virtio_crypto_skcipher_do_req() local
361 req_data = kzalloc_node(sizeof(*req_data), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
363 if (!req_data) { in __virtio_crypto_skcipher_do_req()
368 vc_req->req_data = req_data; in __virtio_crypto_skcipher_do_req()
372 req_data->header.session_id = in __virtio_crypto_skcipher_do_req()
374 req_data->header.opcode = in __virtio_crypto_skcipher_do_req()
377 req_data->header.session_id = in __virtio_crypto_skcipher_do_req()
379 req_data->header.opcode = in __virtio_crypto_skcipher_do_req()
382 req_data->u.sym_req.op_type = cpu_to_le32(VIRTIO_CRYPTO_SYM_OP_CIPHER); in __virtio_crypto_skcipher_do_req()
383 req_data->u.sym_req.u.cipher.para.iv_len = cpu_to_le32(ivsize); in __virtio_crypto_skcipher_do_req()
384 req_data->u.sym_req.u.cipher.para.src_data_len = in __virtio_crypto_skcipher_do_req()
405 req_data->u.sym_req.u.cipher.para.dst_data_len = in __virtio_crypto_skcipher_do_req()
409 sg_init_one(&outhdr, req_data, sizeof(*req_data)); in __virtio_crypto_skcipher_do_req()
461 kfree_sensitive(req_data); in __virtio_crypto_skcipher_do_req()