Home
last modified time | relevance | path

Searched refs:shmkey (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/ui/base/x/
Dx11_util.cc307 int shmkey = shmget(IPC_PRIVATE, 1, 0600); in DoQuerySharedMemorySupport() local
308 if (shmkey == -1) { in DoQuerySharedMemorySupport()
312 VLOG(1) << "Got shared memory segment " << shmkey; in DoQuerySharedMemorySupport()
315 void* address = shmat(shmkey, NULL, 0); in DoQuerySharedMemorySupport()
317 shmctl(shmkey, IPC_RMID, NULL); in DoQuerySharedMemorySupport()
321 shminfo.shmid = shmkey; in DoQuerySharedMemorySupport()
326 VLOG(1) << "X got shared memory segment " << shmkey; in DoQuerySharedMemorySupport()
328 LOG(WARNING) << "X failed to attach to shared memory segment " << shmkey; in DoQuerySharedMemorySupport()
333 LOG(WARNING) << "X failed to attach to shared memory segment " << shmkey; in DoQuerySharedMemorySupport()
337 VLOG(1) << "X attached to shared memory segment " << shmkey; in DoQuerySharedMemorySupport()