/external/strace/tests/ |
ipc_msgbuf.test | 3 # Check msgget, msgsnd, msgrcv, msgctl syscalls decoding. 8 run_strace -v -e msgget,msgsnd,msgrcv,msgctl $args
|
ipc_msg.c | 40 * provided in third argument of msgctl call (in case of IPC_SET cmd) 60 msgctl(id, IPC_RMID, NULL); 61 printf("msgctl\\(%d, (IPC_64\\|)?IPC_RMID, NULL\\) += 0\n", id); 96 rc = msgctl(bogus_msgid, bogus_cmd, NULL); 97 printf("msgctl\\(%d, (IPC_64\\|)?%#x /\\* MSG_\\?\\?\\? \\*/, NULL\\)" 101 rc = msgctl(bogus_msgid, IPC_SET, bogus_addr); 102 printf("msgctl\\(%d, (IPC_64\\|)?IPC_SET, %p\\) += %s\n", 106 if (msgctl(id, IPC_STAT, &ds)) 107 perror_msg_and_skip("msgctl IPC_STAT"); 108 printf("msgctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{msg_perm=\\{uid=%u [all...] |
ipc_msgbuf.c | 43 msgctl(msqid, IPC_RMID, 0);
|
/external/strace/tests-m32/ |
ipc_msgbuf.test | 3 # Check msgget, msgsnd, msgrcv, msgctl syscalls decoding. 8 run_strace -v -e msgget,msgsnd,msgrcv,msgctl $args
|
ipc_msg.c | 40 * provided in third argument of msgctl call (in case of IPC_SET cmd) 60 msgctl(id, IPC_RMID, NULL); 61 printf("msgctl\\(%d, (IPC_64\\|)?IPC_RMID, NULL\\) += 0\n", id); 96 rc = msgctl(bogus_msgid, bogus_cmd, NULL); 97 printf("msgctl\\(%d, (IPC_64\\|)?%#x /\\* MSG_\\?\\?\\? \\*/, NULL\\)" 101 rc = msgctl(bogus_msgid, IPC_SET, bogus_addr); 102 printf("msgctl\\(%d, (IPC_64\\|)?IPC_SET, %p\\) += %s\n", 106 if (msgctl(id, IPC_STAT, &ds)) 107 perror_msg_and_skip("msgctl IPC_STAT"); 108 printf("msgctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{msg_perm=\\{uid=%u [all...] |
ipc_msgbuf.c | 43 msgctl(msqid, IPC_RMID, 0);
|
/external/strace/tests-mx32/ |
ipc_msgbuf.test | 3 # Check msgget, msgsnd, msgrcv, msgctl syscalls decoding. 8 run_strace -v -e msgget,msgsnd,msgrcv,msgctl $args
|
ipc_msg.c | 40 * provided in third argument of msgctl call (in case of IPC_SET cmd) 60 msgctl(id, IPC_RMID, NULL); 61 printf("msgctl\\(%d, (IPC_64\\|)?IPC_RMID, NULL\\) += 0\n", id); 96 rc = msgctl(bogus_msgid, bogus_cmd, NULL); 97 printf("msgctl\\(%d, (IPC_64\\|)?%#x /\\* MSG_\\?\\?\\? \\*/, NULL\\)" 101 rc = msgctl(bogus_msgid, IPC_SET, bogus_addr); 102 printf("msgctl\\(%d, (IPC_64\\|)?IPC_SET, %p\\) += %s\n", 106 if (msgctl(id, IPC_STAT, &ds)) 107 perror_msg_and_skip("msgctl IPC_STAT"); 108 printf("msgctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{msg_perm=\\{uid=%u [all...] |
ipc_msgbuf.c | 43 msgctl(msqid, IPC_RMID, 0);
|
/bionic/libc/include/sys/ |
msg.h | 44 int msgctl(int, int, struct msqid_ds*) __INTRODUCED_IN(26);
|
/bionic/tests/ |
sys_msg_test.cpp | 37 if (msgctl(-1, IPC_STAT, nullptr) == -1 && errno == ENOSYS) { 51 ASSERT_EQ(0, msgctl(id, IPC_STAT, &ds)); 63 ASSERT_EQ(0, msgctl(id, IPC_STAT, &ds)); 74 ASSERT_EQ(0, msgctl(id, IPC_RMID, 0)); 79 ASSERT_EQ(-1, msgctl(-1, IPC_STAT, nullptr));
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl06.c | 29 * msgget(2) msgctl(2) 52 * msgctl3_t -- union of msgctl(2)'s possible argument # 3 types. 79 TEST(msgctl(msqid, IPC_STAT, &buf)); 83 "msgctl(msqid, IPC_STAT, &buf) failed"); 84 (void)msgctl(msqid, IPC_RMID, NULL); 134 (void)msgctl(msqid, IPC_RMID, NULL); 135 if ((status = msgctl(msqid, IPC_STAT, &buf)) != -1) { 136 (void)msgctl(msqid, IPC_RMID, NULL); 137 tst_resm(TFAIL, "msgctl(msqid, IPC_RMID) failed");
|
msgctl03.c | 30 * call msgctl() with the IPC_RMID command 80 TEST(msgctl(msg_q_1, IPC_RMID, NULL)); 83 tst_brkm(TFAIL | TTERRNO, cleanup, "msgctl() call failed"); 86 * if the queue is gone, then an IPC_STAT msgctl() 89 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf) == -1)) {
|
msgctl13.c | 69 TEST(msgctl(msg_q, IPC_RMID, NULL)); 72 tst_resm(TFAIL, "msgctl() test IPC_RMID failed with errno: %d", 77 TEST(msgctl(msg_q, IPC_STAT, &buf)); 79 tst_resm(TPASS, "msgctl() test IPC_RMID succeeded"); 81 tst_resm(TFAIL, "msgctl() test IPC_RMID failed unexpectedly");
|
msgctl02.c | 31 * call msgctl() with the IPC_SET command with a new msg_qbytes value 90 TEST(msgctl(msg_q_1, IPC_SET, &qs_buf)); 93 tst_resm(TFAIL | TTERRNO, "msgctl() call failed"); 96 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf) == -1)) { 155 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf)) == -1) {
|
msgctl07.c | 29 * msgget(2) msgctl(2) msgop(2) 90 (void)msgctl(msqid, IPC_RMID, NULL); 105 (void)msgctl(msqid, IPC_RMID, NULL); 118 (void)msgctl(msqid, IPC_RMID, NULL); 130 (void)msgctl(msqid, IPC_RMID, NULL); 145 (void)msgctl(msqid, IPC_RMID, NULL); 158 (void)msgctl(msqid, IPC_RMID, NULL); 167 (void)msgctl(msqid, IPC_RMID, NULL); 176 (void)msgctl(msqid, IPC_RMID, NULL); 192 (void)msgctl(msqid, IPC_RMID, NULL) [all...] |
msgctl12.c | 64 TEST(msgctl(*test_cases[i].queue_id, 69 "msgctl() test %s failed with errno: " 72 tst_resm(TPASS, "msgctl() test %s succeeded", 92 index_q = msgctl(msg_q, IPC_INFO, (struct msqid_ds *)&msginfo_buf);
|
msgctl09.c | 229 if (msgctl(tid, IPC_RMID, 0) < 0) { 230 tst_brkm(TFAIL | TERRNO, NULL, "Msgctl error in cleanup"); 296 if (msgctl(tid, IPC_RMID, 0) < 0) { 297 printf("msgctl() error: %s\n", 313 if (msgctl(tid, IPC_RMID, 0) < 0) { 314 printf("msgctl() error: %s\n", strerror(errno)); 318 if (msgctl(id, IPC_RMID, 0) < 0) { 319 printf("msgctl() failure in child group %d: %s\n", 399 (void)msgctl(tid, IPC_RMID, NULL); 400 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) [all...] |
msgctl11.c | 255 if (msgctl(tid, IPC_RMID, 0) < 0) { 256 printf("Msgctl error in cleanup_msgqueue %d\n", errno); 321 if (msgctl(tid, IPC_RMID, 0) < 0) { 322 printf("msgctl() error: %s\n", 338 if (msgctl(tid, IPC_RMID, 0) < 0) { 339 printf("msgctl() error: %s\n", strerror(errno)); 343 if (msgctl(id, IPC_RMID, 0) < 0) { 344 printf("msgctl() failure in child group %d: %s\n", 442 (void)msgctl(tid, IPC_RMID, NULL); 443 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) [all...] |
msgctl01.c | 31 * call msgctl() with the IPC_STAT command 88 TEST(msgctl(msg_q_1, IPC_STAT, &qs_buf)); 91 tst_resm(TFAIL | TTERRNO, "msgctl() call failed");
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
msg_comm.c | 79 msgctl(id, IPC_RMID, NULL); 91 msgctl(id, IPC_RMID, NULL); 102 msgctl(id, IPC_RMID, NULL); 121 msgctl(id, IPC_RMID, NULL); 128 msgctl(id, IPC_RMID, NULL);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/sys/ |
msg.h | 64 extern int msgctl (int __msqid, int __cmd, struct msqid_ds *__buf) __THROW;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
msg.h | 64 extern int msgctl (int __msqid, int __cmd, struct msqid_ds *__buf) __THROW;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
msg.h | 64 extern int msgctl (int __msqid, int __cmd, struct msqid_ds *__buf) __THROW;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/ |
ipc.h | 30 DO_TEST(msgctl, __NR_msgctl)
|