Searched refs:memPtr (Results 1 – 1 of 1) sorted by relevance
32 void* memPtr = mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in sysMapFD() local33 if (memPtr == MAP_FAILED) { in sysMapFD()38 pMap->addr = memPtr; in sysMapFD()44 munmap(memPtr, sb.st_size); in sysMapFD()47 pMap->ranges[0].addr = memPtr; in sysMapFD()