Searched refs:mem (Results 1 – 6 of 6) sorted by relevance
59 void * mem = in mmap_executable() local62 if (mem == MAP_FAILED) { in mmap_executable()67 if (munmap(mem, stat_buf.st_size - kOffset) == -1) { in mmap_executable()
57 int TestSensorManager::createDirectChannel(const TestSharedMemory &mem) { in createDirectChannel() argument61 switch (mem.getType()) { in createDirectChannel()64 mem.getSharedMemoryFd(), mem.getSize()); in createDirectChannel()67 mem.getHardwareBuffer(), mem.getSize()); in createDirectChannel()
158 std::unique_ptr<TestSharedMemory> mem(TestSharedMemory::create(channelType, kMemSize)); in testDirectReport() local159 ASSERT_NE(mem, nullptr); in testDirectReport()160 ASSERT_NE(mem->getBuffer(), nullptr); in testDirectReport()163 ASSERT_GT(mem->getSharedMemoryFd(), 0); in testDirectReport()166 ASSERT_NOT_NULL(mem->getHardwareBuffer()); in testDirectReport()170 char* buffer = mem->getBuffer(); in testDirectReport()177 channel = mManager->createDirectChannel(*mem); in testDirectReport()188 auto events = mem->parseEvents(); in testDirectReport()
59 int createDirectChannel(const TestSharedMemory &mem);
44 __u32 mem; member150 g_error_notifier.mem = g_nvmap_hdl.handle; in prepare_data()
55 __u32 mem; member179 err1.mem = dma1; in main()