/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);
|
/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:__anon38064
|
/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:__anon39922
|
/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/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...] |