Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/sgx/
H A Dmain.c385 struct sgx_enclave_remove_pages remove_ioc; variable
489 memset(&remove_ioc, 0, sizeof(remove_ioc));
491 remove_ioc.offset = heap->offset;
492 remove_ioc.length = heap->size;
496 ret = ioctl(self->encl.fd, SGX_IOC_ENCLAVE_REMOVE_PAGES, &remove_ioc);
501 EXPECT_EQ(remove_ioc.count, heap->size);
1227 struct sgx_enclave_remove_pages remove_ioc; in TEST_F() local
1494 memset(&remove_ioc, 0, sizeof(remove_ioc)); in TEST_F()
1496 remove_ioc.offset = total_size; in TEST_F()
1497 remove_ioc.length = 3 * PAGE_SIZE; in TEST_F()
[all …]