Searched refs:shm_handle (Results 1 – 4 of 4) sorted by relevance
/trusty/user/base/lib/spi/srv/tipc/ |
D | tipc.c | 39 handle_t shm_handle; member 44 return ctx->shm.buf && ctx->shm_handle != INVALID_IPC_HANDLE; in shm_is_mapped() 51 close(ctx->shm_handle); in shm_unmap() 52 ctx->shm_handle = INVALID_IPC_HANDLE; in shm_unmap() 119 handle_t shm_handle) { in handle_msg_shm_map_req() argument 126 0, shm_handle, 0); in handle_msg_shm_map_req() 147 ctx->shm_handle = shm_handle; in handle_msg_shm_map_req() 206 ctx->shm_handle = INVALID_IPC_HANDLE; in on_connect()
|
/trusty/user/app/confirmationui/src/ |
D | main.cpp | 124 handle_t shm_handle, in handle_init() argument 140 rc = handle_prot_secure(shm_handle, false); in handle_init() 146 rc = handle_prot_prot_id(shm_handle, 0); in handle_init() 152 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, 0, shm_handle, 0); in handle_init() 265 handle_t shm_handle = INVALID_IPC_HANDLE; in on_message() local 270 rc = confirmationui_recv(chan, &req, &shm_handle); in on_message() 284 rc = handle_init(chan, shm_handle, req.init_args.shm_len, ctx); in on_message() 298 close(shm_handle); in on_message()
|
/trusty/user/app/sample/stats-test/consumer/ |
D | consumer.cpp | 158 handle_t shm_handle = INVALID_IPC_HANDLE; in test_ctl_on_message() local 167 .handles = &shm_handle, in test_ctl_on_message() 186 close(shm_handle); in test_ctl_on_message() 195 mmap(0, page_size, PROT_READ | PROT_WRITE, 0, shm_handle, 0); in test_ctl_on_message() 197 close(shm_handle); in test_ctl_on_message() 213 close(shm_handle); in test_ctl_on_message()
|
/trusty/user/base/app/hwaes-unittest/ |
D | hwaes-test.c | 244 struct hwcrypt_shm_hd* shm_handle, in parse_vector() argument 261 uint8_t* base = (uint8_t*)shm_handle->base; in parse_vector() 265 args->text_out.shm_hd_ptr = shm_handle; in parse_vector() 270 args->tag_out.shm_hd_ptr = shm_handle; in parse_vector()
|