/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
9-1-buildonly.c | 11 * int shmctl(int, int, struct shmid_ds *) 22 dummyvar = shmctl;
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
shmctl.cc | 16 int res = shmctl(id, IPC_STAT, &ds); 20 assert(-1 != shmctl(id, IPC_RMID, 0)); 23 res = shmctl(0, SHM_INFO, (struct shmid_ds *)&shmInfo);
|
/external/valgrind/memcheck/tests/solaris/ |
shmat.c | 23 int ret = shmctl(shmid, IPC_STAT, &stats); 25 perror("shmctl(IPC_STAT)"); 37 ret = shmctl(shmid, IPC_RMID, NULL); 39 perror("shmctl(IPC_RMID)");
|
/bionic/tests/ |
sys_shm_test.cpp | 37 if (shmctl(-1, IPC_STAT, nullptr) == -1 && errno == ENOSYS) { 51 ASSERT_EQ(0, shmctl(id, IPC_STAT, &ds)); 62 ASSERT_EQ(0, shmctl(id, IPC_RMID, 0)); 73 ASSERT_EQ(-1, shmctl(-1, IPC_STAT, nullptr));
|
/bionic/libc/include/sys/ |
shm.h | 46 int shmctl(int __shm_id, int __cmd, struct shmid_ds* __buf) __INTRODUCED_IN(26);
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
shm_comm.c | 72 shmctl(id, IPC_RMID, NULL); 88 shmctl(id, IPC_RMID, NULL); 105 shmctl(id, IPC_RMID, NULL); 117 shmctl(id, IPC_RMID, NULL);
|
shmnstest.c | 60 shmctl(id, IPC_RMID, NULL); 141 shmctl(id, IPC_RMID, NULL);
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
hugepage-shm.c | 71 shmctl(shmid, IPC_RMID, NULL); 94 shmctl(shmid, IPC_RMID, NULL); 98 shmctl(shmid, IPC_RMID, NULL);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
hugeshmat05.c | 73 shmctl(shmid, IPC_RMID, NULL); 82 shmctl(shmid, IPC_RMID, NULL); 86 shmctl(shmid, IPC_RMID, NULL);
|
hugeshmat04.c | 70 shmctl(shmid, IPC_RMID, NULL); 81 shmctl(shmid, IPC_RMID, NULL);
|
/external/strace/tests/ |
ipc_shm.c | 52 shmctl(id, IPC_RMID, NULL); 53 printf("shmctl\\(%d, (IPC_64\\|)?IPC_RMID, NULL\\) += 0\n", id); 132 rc = shmctl(bogus_id, bogus_cmd, NULL); 133 printf("shmctl\\(%d, (IPC_64\\|)?%#x /\\* SHM_\\?\\?\\? \\*/, NULL\\)" 136 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); 137 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, %p\\) += %s\n", 140 if (shmctl(id, IPC_STAT, &ds)) 141 perror_msg_and_skip("shmctl IPC_STAT"); 142 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{shm_perm=\\{uid=%u, gid=%u, " 154 if (shmctl(id, IPC_SET, &ds) [all...] |
/external/strace/tests-m32/ |
ipc_shm.c | 52 shmctl(id, IPC_RMID, NULL); 53 printf("shmctl\\(%d, (IPC_64\\|)?IPC_RMID, NULL\\) += 0\n", id); 132 rc = shmctl(bogus_id, bogus_cmd, NULL); 133 printf("shmctl\\(%d, (IPC_64\\|)?%#x /\\* SHM_\\?\\?\\? \\*/, NULL\\)" 136 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); 137 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, %p\\) += %s\n", 140 if (shmctl(id, IPC_STAT, &ds)) 141 perror_msg_and_skip("shmctl IPC_STAT"); 142 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{shm_perm=\\{uid=%u, gid=%u, " 154 if (shmctl(id, IPC_SET, &ds) [all...] |
/external/strace/tests-mx32/ |
ipc_shm.c | 52 shmctl(id, IPC_RMID, NULL); 53 printf("shmctl\\(%d, (IPC_64\\|)?IPC_RMID, NULL\\) += 0\n", id); 132 rc = shmctl(bogus_id, bogus_cmd, NULL); 133 printf("shmctl\\(%d, (IPC_64\\|)?%#x /\\* SHM_\\?\\?\\? \\*/, NULL\\)" 136 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); 137 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, %p\\) += %s\n", 140 if (shmctl(id, IPC_STAT, &ds)) 141 perror_msg_and_skip("shmctl IPC_STAT"); 142 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{shm_perm=\\{uid=%u, gid=%u, " 154 if (shmctl(id, IPC_SET, &ds) [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
ptrace-tm-spr.c | 144 shmctl(shm_id, IPC_RMID, NULL); 145 shmctl(shm_id1, IPC_RMID, NULL); 152 shmctl(shm_id, IPC_RMID, NULL); 153 shmctl(shm_id1, IPC_RMID, NULL);
|
ptrace-gpr.c | 99 shmctl(shm_id, IPC_RMID, NULL); 107 shmctl(shm_id, IPC_RMID, NULL);
|
ptrace-vsx.c | 94 shmctl(shm_id, IPC_RMID, NULL); 102 shmctl(shm_id, IPC_RMID, NULL);
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
shmctl04.c | 26 * they are used with shmctl() in ipcs 70 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
shm.h | 51 extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
shm.h | 51 extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/ |
ipc.h | 47 DO_TEST(shmctl, __NR_shmctl)
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
shmget01.c | 93 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { 94 tst_resm(TBROK, "shmctl failed in " 127 if (shmctl(shm_id_1, IPC_RMID, NULL) == -1) {
|
/bionic/libc/bionic/ |
sys_shm.cpp | 47 int shmctl(int id, int cmd, struct shmid_ds* buf) { function 56 return syscall(SYS_ipc, SHMCTL, id, cmd, 0, buf, 0);
|
/bionic/tests/headers/posix/ |
sys_shm_h.c | 55 FUNCTION(shmctl, int (*f)(int, int, struct shmid_ds*));
|
/external/fio/os/windows/posix/include/sys/ |
shm.h | 33 time_t shm_ctime; /* time of last change by shmctl() */ 36 int shmctl(int shmid, int cmd, struct shmid_ds *buf);
|
/external/ltp/testcases/kernel/mem/shmt/ |
shmt02.c | 28 * shmctl(2) shmget(2) 112 if (shmctl(shmid, IPC_RMID, NULL) == -1) { 113 perror("shmctl"); 116 "shmctl Failed to remove: shmid = %d, errno = %d\n",
|