Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/sgx/
Dload.c35 if (encl->segment_tbl) { in encl_delete()
36 heap_seg = &encl->segment_tbl[encl->nr_segments - 1]; in encl_delete()
38 free(encl->segment_tbl); in encl_delete()
238 encl->segment_tbl = calloc(encl->nr_segments, in encl_load()
240 if (!encl->segment_tbl) in encl_load()
250 seg = &encl->segment_tbl[j]; in encl_load()
289 seg = &encl->segment_tbl[j]; in encl_load()
290 seg->offset = encl->segment_tbl[j - 1].offset + encl->segment_tbl[j - 1].size; in encl_load()
301 encl->src_size = encl->segment_tbl[j].offset + encl->segment_tbl[j].size; in encl_load()
353 struct encl_segment *seg = &encl->segment_tbl[i]; in encl_build()
Dmain.h29 struct encl_segment *segment_tbl; member
Dmain.c142 struct encl_segment *seg = &encl->segment_tbl[i]; in encl_get_tcs_offset()
161 struct encl_segment *seg = &encl->segment_tbl[i]; in encl_get_data_offset()
202 struct encl_segment *seg = &encl->segment_tbl[i]; in setup_test_encl()
229 seg = &encl->segment_tbl[i]; in setup_test_encl()
431 heap = &self->encl.segment_tbl[self->encl.nr_segments - 1];
995 struct encl_segment *seg = &self->encl.segment_tbl[i]; in TEST_F()
1125 struct encl_segment *seg = &self->encl.segment_tbl[i]; in TEST_F()
1274 struct encl_segment *seg = &self->encl.segment_tbl[i]; in TEST_F()
Dsigstruct.c356 struct encl_segment *seg = &encl->segment_tbl[i]; in encl_measure()