/external/strace/tests/ |
shmxt.c | 16 # define SHMAT "osf_shmat" 18 # define SHMAT "shmat" 40 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); 42 SHMAT, bogus_shmid, bogus_shmaddr, bogus_shmflg & ~0xf000, 45 shmat(id, NULL, SHM_REMAP); 47 SHMAT, id, errno2name()); 49 void *shmaddr = shmat(id, NULL, SHM_RDONLY); 51 perror_msg_and_skip("shmat SHM_RDONLY"); 52 printf("%s(%d, NULL, SHM_RDONLY) = %p\n", SHMAT, id, shmaddr) [all...] |
/external/strace/tests-m32/ |
shmxt.c | 16 # define SHMAT "osf_shmat" 18 # define SHMAT "shmat" 40 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); 42 SHMAT, bogus_shmid, bogus_shmaddr, bogus_shmflg & ~0xf000, 45 shmat(id, NULL, SHM_REMAP); 47 SHMAT, id, errno2name()); 49 void *shmaddr = shmat(id, NULL, SHM_RDONLY); 51 perror_msg_and_skip("shmat SHM_RDONLY"); 52 printf("%s(%d, NULL, SHM_RDONLY) = %p\n", SHMAT, id, shmaddr) [all...] |
/external/strace/tests-mx32/ |
shmxt.c | 16 # define SHMAT "osf_shmat" 18 # define SHMAT "shmat" 40 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); 42 SHMAT, bogus_shmid, bogus_shmaddr, bogus_shmflg & ~0xf000, 45 shmat(id, NULL, SHM_REMAP); 47 SHMAT, id, errno2name()); 49 void *shmaddr = shmat(id, NULL, SHM_RDONLY); 51 perror_msg_and_skip("shmat SHM_RDONLY"); 52 printf("%s(%d, NULL, SHM_RDONLY) = %p\n", SHMAT, id, shmaddr) [all...] |
/external/strace/xlat/ |
ipccalls.h | 62 #if defined(SHMAT) || (defined(HAVE_DECL_SHMAT) && HAVE_DECL_SHMAT) 64 static_assert((SHMAT) == (21), "SHMAT != 21"); 67 # define SHMAT 21 109 XLAT(SHMAT),
|
/bionic/libc/bionic/ |
sys_shm.cpp | 34 void* shmat(int id, const void* address, int flags) { function 40 if (syscall(SYS_ipc, SHMAT, id, flags, &result, address, 0) == -1) {
|
/bionic/libc/kernel/uapi/linux/ |
ipc.h | 56 #define SHMAT 21
|
/external/kernel-headers/original/uapi/linux/ |
ipc.h | 71 #define SHMAT 21
|