/external/kernel-headers/original/linux/ |
H A D | shm.h | 98 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr); 100 static inline long do_shmat(int shmid, char __user *shmaddr, argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/xlib/ |
H A D | xlib_sw_winsys.c | 125 shminfo->shmid = -1; 128 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777); 129 if (shminfo->shmid < 0) { 133 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 135 shmctl(shminfo->shmid, IPC_RMID, 0); 252 if (xlib_dt->shminfo.shmid >= 0) { 254 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 256 xlib_dt->shminfo.shmid = -1;
|
/external/mesa3d/src/gallium/winsys/sw/xlib/ |
H A D | xlib_sw_winsys.c | 125 shminfo->shmid = -1; 128 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777); 129 if (shminfo->shmid < 0) { 133 shminfo->shmaddr = (char *) shmat(shminfo->shmid, 0, 0); 135 shmctl(shminfo->shmid, IPC_RMID, 0); 252 if (xlib_dt->shminfo.shmid >= 0) { 254 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); 256 xlib_dt->shminfo.shmid = -1;
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
H A D | SDL_x11image.c | 53 shminfo.shmid = shmget(IPC_PRIVATE, screen->h*screen->pitch, 55 if ( shminfo.shmid >= 0 ) { 56 shminfo.shmaddr = (char *)shmat(shminfo.shmid, 0, 0); 69 shmctl(shminfo.shmid, IPC_RMID, NULL);
|
H A D | SDL_x11yuv.c | 341 yuvshm->shmid = shmget(IPC_PRIVATE, hwdata->image->data_size, 343 if ( yuvshm->shmid >= 0 ) { 344 yuvshm->shmaddr = (char *)shmat(yuvshm->shmid, 0, 0); 357 shmctl(yuvshm->shmid, IPC_RMID, NULL);
|
/external/chromium_org/media/cast/test/ |
H A D | linux_output_window.cc | 94 shminfo_.shmid = shmget(IPC_PRIVATE, 97 shminfo_.shmaddr = image_->data = (char*) shmat(shminfo_.shmid, 0, 0);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xm_buffer.c | 91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 93 if (b->shminfo.shmid < 0) { 103 = (char*)shmat(b->shminfo.shmid, 0, 0); 107 shmctl(b->shminfo.shmid, IPC_RMID, 0); 127 shmctl(b->shminfo.shmid, IPC_RMID, 0); 134 shmctl(b->shminfo.shmid, IPC_RMID, 0); /* nobody else needs it */ 148 shmctl(b->shminfo.shmid, IPC_RMID, 0);
|
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | xm_buffer.c | 91 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line 93 if (b->shminfo.shmid < 0) { 103 = (char*)shmat(b->shminfo.shmid, 0, 0); 107 shmctl(b->shminfo.shmid, IPC_RMID, 0); 127 shmctl(b->shminfo.shmid, IPC_RMID, 0); 134 shmctl(b->shminfo.shmid, IPC_RMID, 0); /* nobody else needs it */ 148 shmctl(b->shminfo.shmid, IPC_RMID, 0);
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | backing_store_gtk.cc | 549 shminfo.shmid = shmget(IPC_PRIVATE, image->bytes_per_line * image->height, 551 if (shminfo.shmid == -1) { 557 VLOG(1) << "Got shared memory segment " << shminfo.shmid; 560 void* mapped_memory = shmat(shminfo.shmid, NULL, SHM_RDONLY); 561 shmctl(shminfo.shmid, IPC_RMID, 0); 577 VLOG(1) << "Using X shared memory segment " << shminfo.shmid;
|
/external/stressapptest/src/ |
H A D | os.cc | 447 int shmid; local 450 if ((shmid = shmget(2, length, 461 shmaddr = shmat(shmid, NULL, NULL); 468 if (shmctl(shmid, IPC_RMID, NULL) < 0) { 478 shmid_ = shmid; 481 shmid, shmaddr);
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
H A D | demo.cc | 497 int shmid; local 499 if ((shmid = shmget(IPC_PRIVATE, 4096, IPC_CREAT|0600)) < 0 || 500 (addr = shmat(shmid, NULL, 0)) == reinterpret_cast<void *>(-1) || 502 shmctl(shmid, IPC_RMID, NULL)) {
|
/external/chromium_org/ui/base/x/ |
H A D | x11_util.cc | 318 shminfo.shmid = shmkey; 1115 shminfo.shmid = shared_memory_key; 1122 << shminfo.shmid; 1125 VLOG(1) << "X attached to shared memory segment " << shminfo.shmid;
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-amd64-linux.c | 958 int, shmid, const void *, shmaddr, int, shmflg); 986 int, shmid, int, cmd, struct shmid_ds *, buf);
|
H A D | syswrap-generic.c | 1703 SizeT get_shm_size ( Int shmid ) 1710 SysRes __res = VG_(do_syscall3)(__NR_shmctl, shmid, 1713 SysRes __res = VG_(do_syscall3)(__NR_shmctl, shmid, 1718 SysRes __res = VG_(do_syscall3)(__NR_shmctl, shmid, VKI_IPC_STAT, (UWord)&buf); 1722 SysRes __res = VG_(do_syscall5)(__NR_ipc, 24 /* IPCOP_shmctl */, shmid, 1735 /* void *shmat(int shmid, const void *shmaddr, int shmflg); */ 1838 /* int shmctl(int shmid, int cmd, struct shmid_ds *buf); */
|
H A D | syswrap-arm-linux.c | 908 int, shmid, const void *, shmaddr, int, shmflg); 944 int, shmid, int, cmd, struct shmid_ds *, buf);
|
H A D | syswrap-mips32-linux.c | 887 PRE_REG_READ3 (long, "shmctl", int, shmid, int, cmd, struct shmid_ds *, buf);
|
H A D | syswrap-darwin.c | 1879 int, shmid, const void *, shmaddr, int, shmflg); 1895 int, shmid, int, cmd, struct vki_shmid_ds *, buf);
|
/external/valgrind/main/memcheck/tests/darwin/ |
H A D | scalar.stderr.exp | 534 Syscall param shmat(shmid) contains uninitialised byte(s) 546 Syscall param shmctl(shmid) contains uninitialised byte(s)
|