Lines Matching refs:shm_handle
637 HANDLE shm_handle = NULL, info_handle = NULL; in shmget() local
644 shm_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_segment); in shmget()
651 if (!shm_handle && !info_handle) { in shmget()
660 …shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, high, low, key == IPC_P… in shmget()
664 if (!shm_handle || !info_handle) { in shmget()
665 if (shm_handle) { in shmget()
666 CloseHandle(shm_handle); in shmget()
675 if (shm_handle) { in shmget()
676 CloseHandle(shm_handle); in shmget()
700 CloseHandle(shm_handle); in shmget()
704 shm->segment = shm_handle; in shmget()