Lines Matching refs:num_out
114 unsigned int num_out = 0, num_in = 0; in virtio_crypto_alg_akcipher_init_session() local
136 sgs[num_out++] = &outhdr_sg; in virtio_crypto_alg_akcipher_init_session()
139 sgs[num_out++] = &key_sg; in virtio_crypto_alg_akcipher_init_session()
142 sgs[num_out + num_in++] = &inhdr_sg; in virtio_crypto_alg_akcipher_init_session()
144 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_akcipher_init_session()
171 unsigned int num_out = 0, num_in = 0; in virtio_crypto_alg_akcipher_close_session() local
194 sgs[num_out++] = &outhdr_sg; in virtio_crypto_alg_akcipher_close_session()
197 sgs[num_out + num_in++] = &inhdr_sg; in virtio_crypto_alg_akcipher_close_session()
199 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_akcipher_close_session()
228 unsigned int num_out = 0, num_in = 0; in __virtio_crypto_akcipher_do_req() local
237 sgs[num_out++] = &outhdr_sg; in __virtio_crypto_akcipher_do_req()
248 sgs[num_out++] = &srcdata_sg; in __virtio_crypto_akcipher_do_req()
252 sgs[num_out++] = &srcdata_sg; in __virtio_crypto_akcipher_do_req()
260 sgs[num_out + num_in++] = &dstdata_sg; in __virtio_crypto_akcipher_do_req()
268 sgs[num_out + num_in++] = &inhdr_sg; in __virtio_crypto_akcipher_do_req()
271 ret = virtqueue_add_sgs(data_vq->vq, sgs, num_out, num_in, vc_req, GFP_ATOMIC); in __virtio_crypto_akcipher_do_req()