Home
last modified time | relevance | path

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

/trusty/user/app/sample/memref-test/
Dmemref-test.c160 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/
Dmemref.h38 int memref_create(void* addr, size_t size, uint32_t mmap_prot);
/trusty/user/base/lib/libc-trusty/
Dmemref.c9 int memref_create(void* addr, size_t size, uint32_t mmap_prot) { in memref_create() function
/trusty/kernel/lib/trusty/
Dmemref.c131 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/
Dscudo_test.c188 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/
Dlender.c57 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/
Dsyscalls.rs35 pub use inc::_trusty_memref_create as memref_create;
/trusty/user/base/lib/coverage/common/
Dcov_shm.c44 rc = memref_create(base, shm_len, MMAP_FLAG_PROT_RW); in cov_shm_alloc()
/trusty/kernel/lib/trusty/include/
Dsyscall_table.h67 DEF_SYSCALL(0x40, memref_create, long, 3, void *uaddr, uint32_t size, uint32_t mmap_prot)
/trusty/user/base/lib/hwasan/test/
Dhwasan_test.c266 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/
Dmain.cpp98 memref_create(fb_base, fb_size, PROT_READ | PROT_WRITE); in Init()
/trusty/user/base/app/apploader/tests/
Dapploader_test.c108 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/
Dhwaes-bench.c219 (handle_t)memref_create(base, size, PROT_READ | PROT_WRITE); in shm_alloc()
/trusty/user/base/lib/spi/client/
Dclient.c99 rc = memref_create(shm_base, shm_size, in shm_map()
/trusty/user/app/sample/app-mgmt-test/client/
Dmain.c309 handle = memref_create(app_begin, aligned_app_size, MMAP_FLAG_PROT_READ); in load_app()
/trusty/user/base/app/hwaes-unittest/
Dhwaes-test.c378 rc = memref_create(shm_base, shm_len, PROT_READ | PROT_WRITE); in TEST_F_SETUP()