Lines Matching refs:num_out
124 unsigned int num_out = 0, num_in = 0; in virtio_crypto_alg_skcipher_init_session() local
162 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_init_session()
166 sgs[num_out++] = &key_sg; in virtio_crypto_alg_skcipher_init_session()
170 sgs[num_out + num_in++] = &inhdr; in virtio_crypto_alg_skcipher_init_session()
172 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_skcipher_init_session()
203 unsigned int num_out = 0, num_in = 0; in virtio_crypto_alg_skcipher_close_session() local
228 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_close_session()
232 sgs[num_out + num_in++] = &status_sg; in virtio_crypto_alg_skcipher_close_session()
234 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_skcipher_close_session()
340 unsigned int num_out = 0, num_in = 0; in __virtio_crypto_skcipher_do_req() local
412 sgs[num_out++] = &outhdr; in __virtio_crypto_skcipher_do_req()
433 sgs[num_out++] = &iv_sg; in __virtio_crypto_skcipher_do_req()
438 sgs[num_out++] = sg; in __virtio_crypto_skcipher_do_req()
442 sgs[num_out + num_in++] = sg; in __virtio_crypto_skcipher_do_req()
446 sgs[num_out + num_in++] = &status_sg; in __virtio_crypto_skcipher_do_req()
451 err = virtqueue_add_sgs(data_vq->vq, sgs, num_out, in __virtio_crypto_skcipher_do_req()