Lines Matching refs:shm_handle
619 HANDLE shm_handle = NULL, info_handle = NULL; in shmget() local
626 shm_handle = OpenFileMapping(FILE_MAP_ALL_ACCESS, FALSE, shm_segment); in shmget()
630 if (!shm_handle && !info_handle) { in shmget()
639 …shm_handle = CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, high, low, key == IPC_P… in shmget()
643 if (!shm_handle || !info_handle) { in shmget()
644 if (shm_handle) { in shmget()
645 CloseHandle(shm_handle); in shmget()
654 if (shm_handle) { in shmget()
655 CloseHandle(shm_handle); in shmget()
666 CloseHandle(shm_handle); in shmget()
670 shm->segment = shm_handle; in shmget()