HomeSort by relevance Sort by last modified time
    Searched full:shmid (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/valgrind/none/tests/linux/
mremap4.c 12 int shmid = shmget(IPC_PRIVATE, 100 * 4096, local
14 assert(shmid != -1);
16 void *addr = shmat(shmid, NULL, 0);
mremap5.c 12 int shmid = shmget(IPC_PRIVATE, 100 * 4096, local
14 assert(shmid != -1);
16 void *addr = shmat(shmid, NULL, 0);
mremap6.c 12 int shmid = shmget(IPC_PRIVATE, sz, local
14 assert(shmid != -1);
16 void *addr = shmat(shmid, NULL, 0);
  /external/valgrind/memcheck/tests/solaris/
shmat.c 10 int shmid = shmget(IPC_PRIVATE, SEGMENT_SIZE, IPC_CREAT | SHM_R | SHM_W); local
11 if (shmid < 0) {
16 void *addr = shmat(shmid, NULL, 0);
23 int ret = shmctl(shmid, IPC_STAT, &stats);
37 ret = shmctl(shmid, IPC_RMID, NULL);
scalar_shm_new.stderr.exp 7 Syscall param shmsys_shmctl_xstat64(shmid) contains uninitialised byte(s)
26 Syscall param shmsys_shmadv(shmid) contains uninitialised byte(s)
45 Syscall param shmsys_shmadv(shmid) contains uninitialised byte(s)
  /external/fio/os/windows/posix/include/sys/
shm.h 36 int shmctl(int shmid, int cmd, struct shmid_ds *buf);
38 void *shmat(int shmid, const void *shmaddr, int shmflg);
  /external/autotest/client/site_tests/security_SysVIPC/
security_SysVIPC.py 29 def find_attached(self, shmid):
35 @param shmid: the id as shown in ipcs and related utilities.
39 cmd = 'grep "%s */SYSV" /proc/*/maps | sed "s/maps.*/exe/g"' % shmid
55 shmid = fields[1]
58 attached = self.find_attached(shmid)
  /external/valgrind/none/tests/
map_unmap.c 128 int shmid; local
132 shmid = shmget(IPC_PRIVATE, HUGESZ,
134 if (shmid == -1) {
138 expect4 = shmat(shmid, NULL, 0);
147 if (shmctl(shmid, IPC_RMID, 0) != 0) {
  /external/webrtc/webrtc/modules/desktop_capture/x11/
x_server_pixel_buffer.cc 88 if (shm_segment_info_->shmid != -1)
89 shmctl(shm_segment_info_->shmid, IPC_RMID, 0);
129 shm_segment_info_->shmid = -1;
136 shm_segment_info_->shmid = shmget(
139 if (shm_segment_info_->shmid != -1) {
141 reinterpret_cast<char*>(shmat(shm_segment_info_->shmid, 0, 0));
150 << shm_segment_info_->shmid;
168 shmctl(shm_segment_info_->shmid, IPC_RMID, 0);
169 shm_segment_info_->shmid = -1;
  /external/autotest/client/tests/dbench/
dbench_startup.patch 24 + int shmid;
33 + shmid = shmget(IPC_PRIVATE, sizeof(*sema), IPC_CREAT | 0666);
34 + if (shmid < 0) {
38 + sema = shmat(shmid, NULL, 0);
  /external/mesa3d/src/gallium/winsys/sw/xlib/
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/toybox/toys/pending/
ipcs.c 13 usage: ipcs [[-smq] -i shmid] | [[-asmq] [-tcplu]]
130 printf("\nShared memory Segment shmid=%d\n"
152 int max_nr, i, shmid; local
192 "shmid", "owner", "attached", "detached", "changed");
196 "shmid", "owner", "cpid", "lpid");
200 "shmid", "perms", "cuid", "cgid", "uid", "gid");
204 "key", "shmid", "owner", "perms", "bytes", "nattch",
209 if ((shmid = shmctl(i, SHM_STAT, &buf)) < 0 ) continue;
212 printf("%-10d %-10.10s", shmid, pw->pw_name);
213 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid)
    [all...]
ipcrm.c 14 usage: ipcrm [ [-q msqid] [-m shmid] [-s semid]
  /external/webrtc/webrtc/modules/video_render/linux/
video_x11_channel.cc 253 _shminfo.shmid = shmget(IPC_PRIVATE, (_image->bytes_per_line
255 _shminfo.shmaddr = _image->data = (char*) shmat(_shminfo.shmid, 0, 0);
293 shmctl(_shminfo.shmid, IPC_RMID, 0);
294 _shminfo.shmid = 0;
  /external/mesa3d/src/mesa/drivers/x11/
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);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/
XShm.h 52 int shmid; /* kernel id */ member in struct:__anon40330
shmproto.h 77 CARD32 shmid B32;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/extensions/
XShm.h 54 int shmid; /* kernel id */ member in struct:__anon38472
shmproto.h 77 CARD32 shmid B32;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
global.h 130 struct snd_shm_area *snd_shm_area_create(int shmid, void *ptr);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
global.h 130 struct snd_shm_area *snd_shm_area_create(int shmid, void *ptr);
  /prebuilts/go/darwin-x86/src/syscall/
zsysnum_openbsd_386.go 156 SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
182 SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
zsysnum_openbsd_amd64.go 156 SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
182 SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
zsysnum_openbsd_arm.go 162 SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
188 SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \
  /prebuilts/go/linux-x86/src/syscall/
zsysnum_openbsd_386.go 156 SYS_SHMAT = 228 // { void *sys_shmat(int shmid, const void *shmaddr, \
182 SYS_SHMCTL = 296 // { int sys_shmctl(int shmid, int cmd, \

Completed in 3452 milliseconds

1 2 3