Lines Matching refs:uv_ioctl
58 struct uvio_ioctl_cb *uv_ioctl, in uvio_copy_attest_result_to_user() argument
62 struct uvio_attest __user *user_uvio_attest = (void __user *)uv_ioctl->argument_addr; in uvio_copy_attest_result_to_user()
76 static int get_uvio_attest(struct uvio_ioctl_cb *uv_ioctl, struct uvio_attest *uvio_attest) in get_uvio_attest() argument
78 u8 __user *user_arg_buf = (u8 __user *)uv_ioctl->argument_addr; in get_uvio_attest()
130 static int uvio_attestation(struct uvio_ioctl_cb *uv_ioctl) in uvio_attestation() argument
140 if (uv_ioctl->argument_len != sizeof(*uvio_attest)) in uvio_attestation()
148 ret = get_uvio_attest(uv_ioctl, uvio_attest); in uvio_attestation()
174 uv_ioctl->uv_rc = uvcb_attest->header.rc; in uvio_attestation()
175 uv_ioctl->uv_rrc = uvcb_attest->header.rrc; in uvio_attestation()
177 ret = uvio_copy_attest_result_to_user(uvcb_attest, uv_ioctl, measurement, add_data, in uvio_attestation()
206 struct uvio_ioctl_cb uv_ioctl = { }; in uvio_ioctl() local
211 ret = uvio_copy_and_check_ioctl(&uv_ioctl, argp); in uvio_ioctl()
214 ret = uvio_attestation(&uv_ioctl); in uvio_ioctl()
223 if (copy_to_user(argp, &uv_ioctl, sizeof(uv_ioctl))) in uvio_ioctl()