Lines Matching refs:data_vq
328 struct data_queue *data_vq) in __virtio_crypto_skcipher_do_req() argument
451 spin_lock_irqsave(&data_vq->lock, flags); in __virtio_crypto_skcipher_do_req()
452 err = virtqueue_add_sgs(data_vq->vq, sgs, num_out, in __virtio_crypto_skcipher_do_req()
454 virtqueue_kick(data_vq->vq); in __virtio_crypto_skcipher_do_req()
455 spin_unlock_irqrestore(&data_vq->lock, flags); in __virtio_crypto_skcipher_do_req()
478 struct data_queue *data_vq = &vcrypto->data_vq[0]; in virtio_crypto_skcipher_encrypt() local
485 vc_req->dataq = data_vq; in virtio_crypto_skcipher_encrypt()
491 return crypto_transfer_skcipher_request_to_engine(data_vq->engine, req); in virtio_crypto_skcipher_encrypt()
503 struct data_queue *data_vq = &vcrypto->data_vq[0]; in virtio_crypto_skcipher_decrypt() local
510 vc_req->dataq = data_vq; in virtio_crypto_skcipher_decrypt()
516 return crypto_transfer_skcipher_request_to_engine(data_vq->engine, req); in virtio_crypto_skcipher_decrypt()
552 struct data_queue *data_vq = vc_req->dataq; in virtio_crypto_skcipher_crypt_req() local
555 ret = __virtio_crypto_skcipher_do_req(vc_sym_req, req, data_vq); in virtio_crypto_skcipher_crypt_req()
559 virtqueue_kick(data_vq->vq); in virtio_crypto_skcipher_crypt_req()