Searched refs:mapAddr (Results 1 – 2 of 2) sorted by relevance
/aosp12/system/logging/liblog/ |
H A D | event_tag_map.cpp | 46 void* mapAddr[NUM_MAPS]; member 57 memset(mapAddr, 0, sizeof(mapAddr)); in EventTagMap() 65 if (mapAddr[which]) { in ~EventTagMap() 66 munmap(mapAddr[which], mapLen[which]); in ~EventTagMap() 67 mapAddr[which] = 0; in ~EventTagMap() 223 const char* cp = static_cast<char*>(map->mapAddr[which]); in parseMapLines() 323 newTagMap->mapAddr[which] = in android_openEventTagMap() 329 if ((newTagMap->mapAddr[which] != MAP_FAILED) && in android_openEventTagMap() 330 (newTagMap->mapAddr[which] != NULL)) { in android_openEventTagMap()
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | mali_gralloc_bufferallocation.cpp | 1413 int *mapAddr = (int*)mmap(0, sizeof(int), PROT_READ|PROT_WRITE, MAP_SHARED, hnd->fds[1], 0); in mali_gralloc_buffer_allocate() local 1414 if(mapAddr == NULL || mapAddr == MAP_FAILED) in mali_gralloc_buffer_allocate() 1427 memcpy(mapAddr, &afbc_flag, AFBC_INFO_SIZE); in mali_gralloc_buffer_allocate() 1428 munmap(mapAddr, sizeof(int)); in mali_gralloc_buffer_allocate()
|