Searched refs:memPtr (Results 1 – 1 of 1) sorted by relevance
66 void* memPtr; in sysCreatePrivateMap() local68 memPtr = sysCreateAnonShmem(length); in sysCreatePrivateMap()69 if (memPtr == NULL) in sysCreatePrivateMap()72 pMap->addr = pMap->baseAddr = memPtr; in sysCreatePrivateMap()118 void* memPtr; in sysFakeMapFile() local125 memPtr = malloc(length); in sysFakeMapFile()126 if (read(fd, memPtr, length) < 0) { in sysFakeMapFile()132 pMap->baseAddr = pMap->addr = memPtr; in sysFakeMapFile()155 void* memPtr; in sysMapFileInShmemWritableReadOnly() local162 memPtr = mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_FILE | MAP_PRIVATE, in sysMapFileInShmemWritableReadOnly()[all …]