Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/sgx/
H A Dmain.c386 struct sgx_enclave_modify_types modt_ioc; variable
410 memset(&modt_ioc, 0, sizeof(modt_ioc));
411 ret = ioctl(self->encl.fd, SGX_IOC_ENCLAVE_MODIFY_TYPES, &modt_ioc);
451 memset(&modt_ioc, 0, sizeof(modt_ioc));
453 modt_ioc.offset = heap->offset;
454 modt_ioc.length = heap->size;
455 modt_ioc.page_type = SGX_PAGE_TYPE_TRIM;
459 ret = ioctl(self->encl.fd, SGX_IOC_ENCLAVE_MODIFY_TYPES, &modt_ioc);
464 EXPECT_EQ(modt_ioc.result, 0);
465 EXPECT_EQ(modt_ioc.count, heap->size);
[all …]