/trusty/user/app/sample/memref-test/ |
D | memref-test.c | 160 handle_t mref = memref_create(bss_page, PAGE_SIZE, MM_RW); in TEST() 180 handle_t mref = memref_create(bss_page, PAGE_SIZE, MM_RW); in TEST() 217 EXPECT_CLOSE(memref_create(bss_page + 1, PAGE_SIZE, MM_RW)); in TEST() 219 EXPECT_CLOSE(memref_create(bss_page, PAGE_SIZE - 1, MM_RW)); in TEST() 221 EXPECT_CLOSE(memref_create(bss_page, 10 * PAGE_SIZE, MM_RW)); in TEST() 223 EXPECT_CLOSE(memref_create(bss_page, PAGE_SIZE, in TEST() 226 EXPECT_CLOSE(memref_create(bss_page, PAGE_SIZE, 0xF000)); in TEST() 228 EXPECT_CLOSE(memref_create((void*)ro_page, PAGE_SIZE, MM_RW)); in TEST() 230 handle_t mref = memref_create((void*)bss_page, PAGE_SIZE, in TEST()
|
/trusty/user/base/lib/libc-trusty/include/trusty/ |
D | memref.h | 38 int memref_create(void* addr, size_t size, uint32_t mmap_prot);
|
/trusty/user/base/lib/libc-trusty/ |
D | memref.c | 9 int memref_create(void* addr, size_t size, uint32_t mmap_prot) { in memref_create() function
|
/trusty/kernel/lib/trusty/ |
D | memref.c | 131 static struct memref* memref_create(uint32_t mmap_prot) { in memref_create() function 172 struct memref *memref = memref_create(mmap_prot); in memref_create_from_vmm_obj() 201 struct memref* memref = memref_create(mmap_prot); in memref_create_from_aspace()
|
/trusty/user/base/lib/scudo/test/ |
D | scudo_test.c | 188 ref = memref_create( in TEST_F() 210 ref = memref_create( in TEST_F() 228 ref = memref_create(mem, PAGE_SIZE, in TEST_F() 246 ref = memref_create(mem, PAGE_SIZE * 32, in TEST_F()
|
/trusty/user/app/sample/memref-test/lender/ |
D | lender.c | 57 int rc = memref_create(bss_page, PAGE_SIZE, MM_RW); in init() 65 rc = memref_create(rw_page, PAGE_SIZE, MM_RW); in init()
|
/trusty/user/base/lib/trusty-sys/src/ |
D | syscalls.rs | 35 pub use inc::_trusty_memref_create as memref_create;
|
/trusty/user/base/lib/coverage/common/ |
D | cov_shm.c | 44 rc = memref_create(base, shm_len, MMAP_FLAG_PROT_RW); in cov_shm_alloc()
|
/trusty/kernel/lib/trusty/include/ |
D | syscall_table.h | 67 DEF_SYSCALL(0x40, memref_create, long, 3, void *uaddr, uint32_t size, uint32_t mmap_prot)
|
/trusty/user/base/lib/hwasan/test/ |
D | hwasan_test.c | 266 TEST(hwasan, memref_create) { in TEST() argument 268 int handle = memref_create(a, PAGE_SIZE, in TEST()
|
/trusty/user/app/sample/secure_fb_mock_impl/ |
D | main.cpp | 98 memref_create(fb_base, fb_size, PROT_READ | PROT_WRITE); in Init()
|
/trusty/user/base/app/apploader/tests/ |
D | apploader_test.c | 108 handle = memref_create(app_start, aligned_app_size, MMAP_FLAG_PROT_READ); in load_test_app() 136 int rc = memref_create(base, size, in get_memory_buffer_from_malloc()
|
/trusty/user/base/app/hwaes-benchmark/ |
D | hwaes-bench.c | 219 (handle_t)memref_create(base, size, PROT_READ | PROT_WRITE); in shm_alloc()
|
/trusty/user/base/lib/spi/client/ |
D | client.c | 99 rc = memref_create(shm_base, shm_size, in shm_map()
|
/trusty/user/app/sample/app-mgmt-test/client/ |
D | main.c | 309 handle = memref_create(app_begin, aligned_app_size, MMAP_FLAG_PROT_READ); in load_app()
|
/trusty/user/base/app/hwaes-unittest/ |
D | hwaes-test.c | 378 rc = memref_create(shm_base, shm_len, PROT_READ | PROT_WRITE); in TEST_F_SETUP()
|