Lines Matching refs:data_vq
325 struct data_queue *data_vq) in __virtio_crypto_skcipher_do_req() argument
448 spin_lock_irqsave(&data_vq->lock, flags); in __virtio_crypto_skcipher_do_req()
449 err = virtqueue_add_sgs(data_vq->vq, sgs, num_out, in __virtio_crypto_skcipher_do_req()
451 virtqueue_kick(data_vq->vq); in __virtio_crypto_skcipher_do_req()
452 spin_unlock_irqrestore(&data_vq->lock, flags); in __virtio_crypto_skcipher_do_req()
475 struct data_queue *data_vq = &vcrypto->data_vq[0]; in virtio_crypto_skcipher_encrypt() local
482 vc_req->dataq = data_vq; in virtio_crypto_skcipher_encrypt()
488 return crypto_transfer_skcipher_request_to_engine(data_vq->engine, req); in virtio_crypto_skcipher_encrypt()
500 struct data_queue *data_vq = &vcrypto->data_vq[0]; in virtio_crypto_skcipher_decrypt() local
507 vc_req->dataq = data_vq; in virtio_crypto_skcipher_decrypt()
513 return crypto_transfer_skcipher_request_to_engine(data_vq->engine, req); in virtio_crypto_skcipher_decrypt()
546 struct data_queue *data_vq = vc_req->dataq; in virtio_crypto_skcipher_crypt_req() local
549 ret = __virtio_crypto_skcipher_do_req(vc_sym_req, req, data_vq); in virtio_crypto_skcipher_crypt_req()
553 virtqueue_kick(data_vq->vq); in virtio_crypto_skcipher_crypt_req()