Home
last modified time | relevance | path

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

/trusty/kernel/include/uapi/uapi/
Dmm.h86 #define MMAP_FLAG_PROT_READ 0x1 macro
92 (MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE | MMAP_FLAG_PROT_EXEC | \
/trusty/user/base/lib/trusty-sys/src/
Dlib.rs48 IPC_CONNECT_WAIT_FOR_PORT, MMAP_FLAG_IO_HANDLE, MMAP_FLAG_PROT_READ, MMAP_FLAG_PROT_WRITE,
/trusty/kernel/lib/trusty/
Dutil.c47 if (!(mmap_prot & MMAP_FLAG_PROT_READ)) { in is_prot_valid()
Dtipc_virtio_dev.c676 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE, &handles[shm_idx]); in handle_chan_msg()
/trusty/user/base/lib/scudo/test/
Dscudo_test.c190 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE | MMAP_FLAG_PROT_MTE); in TEST_F()
212 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE | MMAP_FLAG_PROT_MTE); in TEST_F()
229 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE); in TEST_F()
247 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE); in TEST_F()
/trusty/user/base/lib/trusty-sys/
Drules.mk52 MMAP_FLAG_PROT_READ \
/trusty/user/base/lib/scudo/test/srv/
Dscudo_app.cpp331 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE | MMAP_FLAG_PROT_MTE, in scudo_on_message()
342 0, memrefsize, MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE, 0, in scudo_on_message()
364 0, memrefsize, MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE, 0, in scudo_on_message()
/trusty/user/base/lib/coverage/common/
Dcov_shm.c30 #define MMAP_FLAG_PROT_RW (MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE)
/trusty/user/base/lib/vmm_obj/
Dvmm_obj.c115 base = mmap(0, aligned_size, MMAP_FLAG_PROT_READ, 0, memref, 0); in vmm_obj_map_ro()
/trusty/user/app/sample/memref-test/
Dmemref-test.c156 #define MM_RW (MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE)
231 MMAP_FLAG_PROT_READ); in TEST()
/trusty/kernel/lib/vmm_obj_service/
Dvmm_obj_service.c76 rc = memref_create_from_vmm_obj(obj, offset, size, MMAP_FLAG_PROT_READ, in vmm_obj_service_create_ro()
/trusty/user/app/sample/memref-test/lender/
Dlender.c47 #define MM_RW (MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE)
/trusty/user/base/lib/tipc/rust/src/
Dhandle.rs340 MMapFlags::Read => trusty_sys::MMAP_FLAG_PROT_READ as c_int, in mmap()
343 (trusty_sys::MMAP_FLAG_PROT_READ | trusty_sys::MMAP_FLAG_PROT_WRITE) as c_int in mmap()
/trusty/user/base/lib/spi/srv/tipc/
Dtipc.c125 shm_base = mmap(0, shm_req->len, MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE, in handle_msg_shm_map_req()
/trusty/user/base/lib/hwasan/test/
Dhwasan_test.c269 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE); in TEST()
/trusty/kernel/services/apploader/
Dapploader_service.c157 uint32_t prot_flags = MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE; in apploader_service_handle_cmd_get_memory()
/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()
137 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE); in get_memory_buffer_from_malloc()
/trusty/user/base/lib/spi/client/
Dclient.c100 MMAP_FLAG_PROT_READ | MMAP_FLAG_PROT_WRITE); 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()