Home
last modified time | relevance | path

Searched refs:shm (Results 1 – 25 of 82) sorted by relevance

1234

/system/core/trusty/apploader/
Dapploader.cpp129 void* shm = mmap(0, file_page_size, PROT_READ | PROT_WRITE, MAP_SHARED, dmabuf_fd, 0); in read_file() local
130 if (shm == MAP_FAILED) { in read_file()
137 pread(file_fd, (char*)shm + file_offset, file_size - file_offset, file_offset)); in read_file()
152 munmap(shm, file_page_size); in read_file()
174 struct trusty_shm shm = { in send_load_message() local
178 return tipc_send(tipc_fd, tx, 2, &shm, 1); in send_load_message()
/system/core/trusty/coverage/
Dcoverage.cpp92 trusty_shm shm = { in Rpc() local
97 rc = tipc_send(coverage_srv_fd_, &iov, 1, &shm, 1); in Rpc()
150 void* shm = mmap(0, shm_len_, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in Open() local
151 if (shm == MAP_FAILED) { in Open()
162 shm_ = shm; in Open()
/system/sepolicy/prebuilts/api/28.0/private/
Dfs_use21 fs_use_trans shm u:object_r:shm:s0;
/system/sepolicy/prebuilts/api/26.0/private/
Dfs_use21 fs_use_trans shm u:object_r:shm:s0;
/system/sepolicy/prebuilts/api/27.0/private/
Dfs_use21 fs_use_trans shm u:object_r:shm:s0;
Dsecurity_classes43 class shm
/system/sepolicy/prebuilts/api/29.0/private/
Dfs_use23 fs_use_trans shm u:object_r:shm:s0;
Dsecurity_classes43 class shm
/system/sepolicy/prebuilts/api/30.0/private/
Dfs_use24 fs_use_trans shm u:object_r:shm:s0;
/system/sepolicy/private/
Dfs_use25 fs_use_trans shm u:object_r:shm:s0;
/system/sepolicy/prebuilts/api/31.0/private/
Dfs_use25 fs_use_trans shm u:object_r:shm:s0;
/system/core/trusty/libtrusty/include/trusty/
Dtipc.h28 ssize_t tipc_send(int fd, const struct iovec* iov, int iovcnt, struct trusty_shm* shm, int shmcnt);
Dipc.h64 __u64 shm; member
/system/core/trusty/apploader/fuzz/
Dapp_fuzzer.cpp67 trusty_shm shm = { in SendLoadMsg() local
72 int rc = tipc_send(chan, iov, 2, &shm, 1); in SendLoadMsg()
/system/core/trusty/confirmationui/fuzz/
Dmsg_fuzzer.cpp95 trusty_shm shm = { in Init() local
100 int rc = tipc_send(chan, iov, countof(iov), &shm, 1); in Init()
/system/core/trusty/confirmationui/
DTrustyApp.cpp126 trusty_shm shm = { in TrustyApp() local
131 int rc = tipc_send(tipc_handle, iov, 2, &shm, 1); in TrustyApp()
/system/core/trusty/libtrusty/
Dtrusty.c60 req.shm = (__u64)shms; in tipc_send()
/system/core/trusty/utils/acvp/
Dtrusty_modulewrapper.cpp140 struct trusty_shm shm = { in SendMessage() local
145 int rc = tipc_send(tipc_fd_, &iov, 1, &shm, 1); in SendMessage()
/system/sepolicy/prebuilts/api/27.0/public/
Dglobal_macros16 define(`ipc_class_set', `{ sem msgq shm ipc }')
/system/sepolicy/prebuilts/api/26.0/public/
Dglobal_macros16 define(`ipc_class_set', `{ sem msgq shm ipc }')
/system/sepolicy/prebuilts/api/31.0/public/
Dglobal_macros19 define(`ipc_class_set', `{ sem msgq shm ipc }')
/system/sepolicy/prebuilts/api/28.0/public/
Dglobal_macros18 define(`ipc_class_set', `{ sem msgq shm ipc }')
/system/sepolicy/prebuilts/api/30.0/public/
Dglobal_macros19 define(`ipc_class_set', `{ sem msgq shm ipc }')
/system/sepolicy/prebuilts/api/29.0/public/
Dglobal_macros19 define(`ipc_class_set', `{ sem msgq shm ipc }')
/system/sepolicy/public/
Dglobal_macros19 define(`ipc_class_set', `{ sem msgq shm ipc }')

1234