Lines Matching refs:shm_ptr
76 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()
226 if (consumer_ctx.shm_ptr) { in reportVendorAtom()
227 volatile ShmContent* content = (ShmContent*)consumer_ctx.shm_ptr; in reportVendorAtom()
317 if (consumer_ctx.shm_ptr) { in main()