Lines Matching refs:num_out
106 unsigned int num_out = 0, num_in = 0; in virtio_crypto_alg_akcipher_init_session() local
128 sgs[num_out++] = &outhdr_sg; in virtio_crypto_alg_akcipher_init_session()
131 sgs[num_out++] = &key_sg; in virtio_crypto_alg_akcipher_init_session()
134 sgs[num_out + num_in++] = &inhdr_sg; in virtio_crypto_alg_akcipher_init_session()
136 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_akcipher_init_session()
163 unsigned int num_out = 0, num_in = 0; in virtio_crypto_alg_akcipher_close_session() local
186 sgs[num_out++] = &outhdr_sg; in virtio_crypto_alg_akcipher_close_session()
189 sgs[num_out + num_in++] = &inhdr_sg; in virtio_crypto_alg_akcipher_close_session()
191 err = virtio_crypto_ctrl_vq_request(vcrypto, sgs, num_out, num_in, vc_ctrl_req); in virtio_crypto_alg_akcipher_close_session()
221 unsigned int num_out = 0, num_in = 0; in __virtio_crypto_akcipher_do_req() local
228 sgs[num_out++] = &outhdr_sg; in __virtio_crypto_akcipher_do_req()
237 sgs[num_out++] = &srcdata_sg; in __virtio_crypto_akcipher_do_req()
245 sgs[num_out + num_in++] = &dstdata_sg; in __virtio_crypto_akcipher_do_req()
252 sgs[num_out + num_in++] = &inhdr_sg; in __virtio_crypto_akcipher_do_req()
255 ret = virtqueue_add_sgs(data_vq->vq, sgs, num_out, num_in, vc_req, GFP_ATOMIC); in __virtio_crypto_akcipher_do_req()