/external/kernel-headers/original/linux/ |
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, in do_shmat() argument
|
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
D | SDL_x11image.c | 53 shminfo.shmid = shmget(IPC_PRIVATE, screen->h*screen->pitch, in try_mitshm() 55 if ( shminfo.shmid >= 0 ) { in try_mitshm() 56 shminfo.shmaddr = (char *)shmat(shminfo.shmid, 0, 0); in try_mitshm() 69 shmctl(shminfo.shmid, IPC_RMID, NULL); in try_mitshm()
|
D | SDL_x11yuv.c | 341 yuvshm->shmid = shmget(IPC_PRIVATE, hwdata->image->data_size, in X11_CreateYUVOverlay() 343 if ( yuvshm->shmid >= 0 ) { in X11_CreateYUVOverlay() 344 yuvshm->shmaddr = (char *)shmat(yuvshm->shmid, 0, 0); in X11_CreateYUVOverlay() 357 shmctl(yuvshm->shmid, IPC_RMID, NULL); in X11_CreateYUVOverlay()
|
/external/stressapptest/src/ |
D | os.cc | 447 int shmid; in AllocateTestMem() local 450 if ((shmid = shmget(2, length, in AllocateTestMem() 461 shmaddr = shmat(shmid, NULL, NULL); in AllocateTestMem() 468 if (shmctl(shmid, IPC_RMID, NULL) < 0) { in AllocateTestMem() 478 shmid_ = shmid; in AllocateTestMem() 481 shmid, shmaddr); in AllocateTestMem()
|
/external/quake/quake/src/QW/client/ |
D | vid_x.c | 335 x_shminfo[frm].shmid = shmget((key_t)key, size, IPC_CREAT|0777); in ResetSharedFrameBuffers() 336 if (x_shminfo[frm].shmid==-1) in ResetSharedFrameBuffers() 341 (void *) shmat(x_shminfo[frm].shmid, 0, 0); in ResetSharedFrameBuffers() 343 printf("VID: shared memory id=%d, addr=0x%lx\n", x_shminfo[frm].shmid, in ResetSharedFrameBuffers() 353 shmctl(x_shminfo[frm].shmid, IPC_RMID, 0); in ResetSharedFrameBuffers()
|
/external/quake/quake/src/WinQuake/ |
D | vid_x.cpp | 414 x_shminfo[frm].shmid = shmget((key_t)key, size, IPC_CREAT|0777); in ResetSharedFrameBuffers() 415 if (x_shminfo[frm].shmid==-1) in ResetSharedFrameBuffers() 420 (void *) shmat(x_shminfo[frm].shmid, 0, 0); in ResetSharedFrameBuffers() 422 printf("VID: shared memory id=%d, addr=0x%lx\n", x_shminfo[frm].shmid, in ResetSharedFrameBuffers() 432 shmctl(x_shminfo[frm].shmid, IPC_RMID, 0); in ResetSharedFrameBuffers()
|
D | vid_sunx.cpp | 469 x_shminfo[frm].shmid = shmget((key_t)key, size, IPC_CREAT|0777); in ResetSharedFrameBuffers() 470 if (x_shminfo[frm].shmid==-1) in ResetSharedFrameBuffers() 475 (void *) shmat(x_shminfo[frm].shmid, 0, 0); in ResetSharedFrameBuffers() 477 printf("VID: shared memory id=%d, addr=0x%x\n", x_shminfo[frm].shmid, in ResetSharedFrameBuffers() 487 shmctl(x_shminfo[frm].shmid, IPC_RMID, 0); in ResetSharedFrameBuffers()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-amd64-linux.c | 958 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 986 int, shmid, int, cmd, struct shmid_ds *, buf); in PRE()
|
D | syswrap-generic.c | 1703 SizeT get_shm_size ( Int shmid ) in get_shm_size() argument 1710 SysRes __res = VG_(do_syscall3)(__NR_shmctl, shmid, in get_shm_size() 1713 SysRes __res = VG_(do_syscall3)(__NR_shmctl, shmid, in get_shm_size() 1718 SysRes __res = VG_(do_syscall3)(__NR_shmctl, shmid, VKI_IPC_STAT, (UWord)&buf); in get_shm_size() 1722 SysRes __res = VG_(do_syscall5)(__NR_ipc, 24 /* IPCOP_shmctl */, shmid, in get_shm_size()
|
D | syswrap-arm-linux.c | 908 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 944 int, shmid, int, cmd, struct shmid_ds *, buf); in PRE()
|
D | syswrap-mips32-linux.c | 887 PRE_REG_READ3 (long, "shmctl", int, shmid, int, cmd, struct shmid_ds *, buf); in PRE()
|
D | syswrap-darwin.c | 1879 int, shmid, const void *, shmaddr, int, shmflg); in PRE() 1895 int, shmid, int, cmd, struct vki_shmid_ds *, buf); in PRE()
|
/external/valgrind/main/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 534 Syscall param shmat(shmid) contains uninitialised byte(s) 546 Syscall param shmctl(shmid) contains uninitialised byte(s)
|