Home
last modified time | relevance | path

Searched refs:shm_ptr (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/sample/stats-test/consumer/
Dconsumer.cpp76 void* shm_ptr; member
83 .shm_ptr = nullptr,
103 assert(!consumer_ctx.shm_ptr); in test_ctl_on_connect()
193 assert(!ctx->shm_ptr); in test_ctl_on_message()
194 ctx->shm_ptr = in test_ctl_on_message()
196 if (ctx->shm_ptr == MAP_FAILED) { in test_ctl_on_message()
198 ctx->shm_ptr = nullptr; in test_ctl_on_message()
204 if (ctx->shm_ptr) { in test_ctl_on_message()
205 munmap((void*)ctx->shm_ptr, page_size); in test_ctl_on_message()
206 ctx->shm_ptr = nullptr; in test_ctl_on_message()
[all …]
/trusty/user/base/lib/hwaes/
Dhwaes.c267 struct hwaes_shm* shm_ptr) { in hwaes_send_req() argument
273 .handles = shm_ptr->handles, in hwaes_send_req()
274 .num_handles = shm_ptr->num_handles, in hwaes_send_req()