Home
last modified time | relevance | path

Searched refs:uvio_attest (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/s390/char/
Duvdevice.c35 u8 *meas, u8 *add_data, struct uvio_attest *uvio_attest) in uvio_build_uvcb_attest() argument
37 void __user *user_buf_arcb = (void __user *)uvio_attest->arcb_addr; in uvio_build_uvcb_attest()
39 if (copy_from_user(arcb, user_buf_arcb, uvio_attest->arcb_len)) in uvio_build_uvcb_attest()
46 uvcb_attest->user_data_len = uvio_attest->user_data_len; in uvio_build_uvcb_attest()
47 memcpy(uvcb_attest->user_data, uvio_attest->user_data, sizeof(uvcb_attest->user_data)); in uvio_build_uvcb_attest()
48 uvcb_attest->meas_len = uvio_attest->meas_len; in uvio_build_uvcb_attest()
50 uvcb_attest->add_data_len = uvio_attest->add_data_len; in uvio_build_uvcb_attest()
59 struct uvio_attest *uvio_attest) in uvio_copy_attest_result_to_user() argument
61 struct uvio_attest __user *user_uvio_attest = (void __user *)uv_ioctl->argument_addr; in uvio_copy_attest_result_to_user()
62 void __user *user_buf_add = (void __user *)uvio_attest->add_data_addr; in uvio_copy_attest_result_to_user()
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/s390x/uvdevice/
Dtest_uvdevice.c35 .arg_size = sizeof(struct uvio_attest), in FIXTURE_VARIANT_ADD()
155 struct uvio_attest uvio_attest; in FIXTURE() local
164 self->uvio_ioctl.argument_addr = (__u64)&self->uvio_attest; in FIXTURE_SETUP()
165 self->uvio_ioctl.argument_len = sizeof(self->uvio_attest); in FIXTURE_SETUP()
167 self->uvio_attest.arcb_addr = (__u64)&self->attest_buffer.arcb; in FIXTURE_SETUP()
168 self->uvio_attest.arcb_len = sizeof(self->attest_buffer.arcb); in FIXTURE_SETUP()
170 self->uvio_attest.meas_addr = (__u64)&self->attest_buffer.meas; in FIXTURE_SETUP()
171 self->uvio_attest.meas_len = sizeof(self->attest_buffer.meas); in FIXTURE_SETUP()
173 self->uvio_attest.add_data_addr = (__u64)&self->attest_buffer.add; in FIXTURE_SETUP()
174 self->uvio_attest.add_data_len = sizeof(self->attest_buffer.add); in FIXTURE_SETUP()
[all …]
/linux-5.19.10/arch/s390/include/uapi/asm/
Duvdevice.h22 struct uvio_attest { struct