Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/sgx/
Dmain.c204 addr = mmap((void *)encl->encl_base + seg->offset, seg->size, in setup_test_encl()
290 self->run.tcs = self->encl.encl_base; in TEST_F()
363 self->run.tcs = self->encl.encl_base; in TEST_F()
429 self->run.tcs = self->encl.encl_base;
468 addr = self->encl.encl_base + heap->offset;
512 self->run.tcs = self->encl.encl_base; in TEST_F()
548 self->run.tcs = self->encl.encl_base; in TEST_F()
581 self->run.tcs = self->encl.encl_base; in TEST_F()
593 self->run.tcs = self->encl.encl_base + PAGE_SIZE; in TEST_F()
626 self->run.tcs = self->encl.encl_base; in TEST_F()
[all …]
Dload.c26 if (encl->encl_base) in encl_delete()
27 munmap((void *)encl->encl_base, encl->encl_size); in encl_delete()
86 assert(encl->encl_base != 0); in encl_ioc_create()
92 secs->base = encl->encl_base; in encl_ioc_create()
327 encl->encl_base = ((uint64_t)area + encl_size - 1) & ~(encl_size - 1); in encl_map_area()
329 munmap(area, encl->encl_base - (uint64_t)area); in encl_map_area()
330 munmap((void *)(encl->encl_base + encl_size), in encl_map_area()
331 (uint64_t)area + encl_size - encl->encl_base); in encl_map_area()
Dmain.h27 off_t encl_base; member