/external/strace/tests/ |
shmxt.test | 3 # Check shmat and shmdt syscalls decoding. 8 alpha) shmat=osf_shmat ;; 9 *) shmat=shmat ;; 12 run_strace_match_diff -e trace=$shmat,shmdt -a11
|
shmxt.c | 16 # define SHMAT "osf_shmat" 18 # define SHMAT "shmat" 36 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); 38 SHMAT, bogus_shmid, bogus_shmaddr, bogus_shmflg & ~0x7000, 41 shmat(id, NULL, SHM_REMAP); 43 SHMAT, id, errno2name()); 45 void *shmaddr = shmat(id, NULL, SHM_RDONLY); 47 perror_msg_and_skip("shmat SHM_RDONLY"); 48 printf("%s(%d, NULL, SHM_RDONLY) = %p\n", SHMAT, id, shmaddr) [all...] |
/external/strace/tests-m32/ |
shmxt.test | 3 # Check shmat and shmdt syscalls decoding. 8 alpha) shmat=osf_shmat ;; 9 *) shmat=shmat ;; 12 run_strace_match_diff -e trace=$shmat,shmdt -a11
|
shmxt.c | 16 # define SHMAT "osf_shmat" 18 # define SHMAT "shmat" 36 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); 38 SHMAT, bogus_shmid, bogus_shmaddr, bogus_shmflg & ~0x7000, 41 shmat(id, NULL, SHM_REMAP); 43 SHMAT, id, errno2name()); 45 void *shmaddr = shmat(id, NULL, SHM_RDONLY); 47 perror_msg_and_skip("shmat SHM_RDONLY"); 48 printf("%s(%d, NULL, SHM_RDONLY) = %p\n", SHMAT, id, shmaddr) [all...] |
/external/strace/tests-mx32/ |
shmxt.test | 3 # Check shmat and shmdt syscalls decoding. 8 alpha) shmat=osf_shmat ;; 9 *) shmat=shmat ;; 12 run_strace_match_diff -e trace=$shmat,shmdt -a11
|
shmxt.c | 16 # define SHMAT "osf_shmat" 18 # define SHMAT "shmat" 36 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); 38 SHMAT, bogus_shmid, bogus_shmaddr, bogus_shmflg & ~0x7000, 41 shmat(id, NULL, SHM_REMAP); 43 SHMAT, id, errno2name()); 45 void *shmaddr = shmat(id, NULL, SHM_RDONLY); 47 perror_msg_and_skip("shmat SHM_RDONLY"); 48 printf("%s(%d, NULL, SHM_RDONLY) = %p\n", SHMAT, id, shmaddr) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
8-1-buildonly.c | 11 * void *shmat(int, const void *, int) 22 dummyvar = shmat;
|
/bionic/libc/include/sys/ |
shm.h | 45 void* shmat(int, const void*, int) __INTRODUCED_IN(26);
|
/external/valgrind/none/tests/linux/ |
mremap4.c | 16 void *addr = shmat(shmid, NULL, 0);
|
mremap5.c | 16 void *addr = shmat(shmid, NULL, 0);
|
mremap6.c | 16 void *addr = shmat(shmid, NULL, 0);
|
/external/ltp/testcases/kernel/syscalls/ipc/shmat/ |
shmat_common.h | 20 p = shmat(shm_id, NULL, 0); 22 tst_brkm(TBROK, cleanup, "probe: shmat failed");
|
/external/valgrind/memcheck/tests/solaris/ |
shmat.c | 16 void *addr = shmat(shmid, NULL, 0); 18 perror("shmat()");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
shm.h | 57 extern void *shmat (int __shmid, __const void *__shmaddr, int __shmflg)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
shm.h | 57 extern void *shmat (int __shmid, __const void *__shmaddr, int __shmflg)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
shm.h | 57 extern void *shmat (int __shmid, __const void *__shmaddr, int __shmflg)
|
/bionic/tests/ |
sys_shm_test.cpp | 55 void* p = shmat(id, 0, SHM_RDONLY); 67 ASSERT_EQ(reinterpret_cast<void*>(-1), shmat(-1, 0, SHM_RDONLY));
|
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/ |
ipc.h | 34 DO_TEST(shmat, __NR_shmat)
|
/external/ltp/testcases/kernel/mem/shmt/ |
shmt03.c | 28 * shmctl(2) shmget(2) shmat(2) 79 if ((cp1 = shmat(shmid, NULL, 0)) == (char *)-1) { 80 perror("shmat"); 81 tst_resm(TFAIL, "shmat Failed: shmid = %d, errno = %d\n", 89 tst_resm(TPASS, "1st shmat"); 93 if ((cp2 = shmat(shmid, NULL, 0)) == (char *)-1) { 94 perror("shmat"); 95 tst_resm(TFAIL, "shmat Failed: shmid = %d, errno = %d\n", 105 tst_resm(TPASS, "2nd shmat");
|
shmt05.c | 28 * shmctl(2) shmget(2) shmat(2) 79 cp = shmat(shmid, NULL, 0); 82 tst_resm(TFAIL, "shmat"); 87 tst_resm(TPASS, "shmget & shmat"); 97 cp1 = shmat(shmid1, cp + (SIZE / 2), 0); 99 perror("shmat"); 101 "Error: shmat: shmid1 = %d, addr= %p, errno = %d\n", 104 tst_resm(TPASS, "2nd shmget & shmat");
|
shmt08.c | 28 * shmctl(2) shmget(2) shmat(2) shmdt(2) 72 cp = shmat(shmid, NULL, 0); 79 cp1 = shmat(shmid, NULL, 0); 86 tst_resm(TPASS, "shmget,shmat");
|
shmt06.c | 28 * shmctl(2) shmget(2) shmat(2) 96 cp = shmat(shmid, NULL, 0); 99 perror("shmat"); 101 "Error: shmat: shmid = %d, errno = %d\n", 128 tst_resm(TPASS, "shmget,shmat"); 159 cp = shmat(shmid, NULL, 0); 162 perror("shmat:child process"); 164 "Error: shmat: errno=%d, shmid=%d, child_pid=%d\n", 185 cp = shmat(shmid, NULL, 0); 188 perror("shmat:child process") [all...] |
shmt09.c | 102 c1 = shmat(shmid, NULL, 0); 104 perror("shmat"); 106 "Error: shmat Failed, shmid = %d, errno = %d\n", 112 tst_resm(TPASS, "sbrk, sbrk, shmget, shmat"); 123 c2 = shmat(shmid, vp, 0); 126 "ERROR: shmat: succeeded!: shmid = %d, shmaddr = %p, " 132 tst_resm(TPASS, "sbrk, shmat"); 151 c3 = shmat(shmid, vp, SHM_RND); 155 "Error: shmat Failed, shmid = %d, errno = %d\n", 161 tst_resm(TPASS, "sbrk, shmat"); [all...] |
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/ |
shmdt01.c | 56 * - Fix wrong return value check on shmat system call (leading to 107 shared = shmat(shm_id_1, 0, 0); 202 shared = shmat(shm_id_1, 0, 0);
|
/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) {
|