Home
last modified time | relevance | path

Searched refs:msgctl (Results 1 – 25 of 63) sorted by relevance

123

/external/strace/tests-mx32/
Dipc_msg.c101 msgctl(id, IPC_RMID, NULL); in cleanup()
135 rc = msgctl(bogus_msgid, bogus_cmd, NULL); in main()
140 rc = msgctl(bogus_msgid, IPC_SET, bogus_addr); in main()
146 if (msgctl(id, IPC_STAT, &ds)) in main()
161 if (msgctl(id, IPC_SET, &ds)) in main()
168 rc = msgctl(0, MSG_INFO, &ds); in main()
172 rc = msgctl(id, MSG_STAT, &ds); in main()
176 rc = msgctl(id, MSG_STAT_ANY, &ds); in main()
Dipc_msgbuf.test8 run_strace -a26 -v -e msgget,msgsnd,msgrcv,msgctl "$@" $args > "$EXP"
Dipc_msgbuf.c65 int rc = msgctl(msqid, IPC_RMID, 0); in cleanup()
/external/strace/tests/
Dipc_msg.c101 msgctl(id, IPC_RMID, NULL); in cleanup()
135 rc = msgctl(bogus_msgid, bogus_cmd, NULL); in main()
140 rc = msgctl(bogus_msgid, IPC_SET, bogus_addr); in main()
146 if (msgctl(id, IPC_STAT, &ds)) in main()
161 if (msgctl(id, IPC_SET, &ds)) in main()
168 rc = msgctl(0, MSG_INFO, &ds); in main()
172 rc = msgctl(id, MSG_STAT, &ds); in main()
176 rc = msgctl(id, MSG_STAT_ANY, &ds); in main()
Dipc_msgbuf.test8 run_strace -a26 -v -e msgget,msgsnd,msgrcv,msgctl "$@" $args > "$EXP"
Dipc_msgbuf.c65 int rc = msgctl(msqid, IPC_RMID, 0); in cleanup()
/external/strace/tests-m32/
Dipc_msg.c101 msgctl(id, IPC_RMID, NULL); in cleanup()
135 rc = msgctl(bogus_msgid, bogus_cmd, NULL); in main()
140 rc = msgctl(bogus_msgid, IPC_SET, bogus_addr); in main()
146 if (msgctl(id, IPC_STAT, &ds)) in main()
161 if (msgctl(id, IPC_SET, &ds)) in main()
168 rc = msgctl(0, MSG_INFO, &ds); in main()
172 rc = msgctl(id, MSG_STAT, &ds); in main()
176 rc = msgctl(id, MSG_STAT_ANY, &ds); in main()
Dipc_msgbuf.test8 run_strace -a26 -v -e msgget,msgsnd,msgrcv,msgctl "$@" $args > "$EXP"
Dipc_msgbuf.c65 int rc = msgctl(msqid, IPC_RMID, 0); in cleanup()
/external/ltp/testcases/kernel/containers/sysvipc/
Dmsg_comm.c79 msgctl(id, IPC_RMID, NULL); in chld1_msg()
91 msgctl(id, IPC_RMID, NULL); in chld1_msg()
102 msgctl(id, IPC_RMID, NULL); in chld1_msg()
121 msgctl(id, IPC_RMID, NULL); in chld2_msg()
128 msgctl(id, IPC_RMID, NULL); in chld2_msg()
/external/ltp/testcases/kernel/syscalls/ipc/msgstress/
Dmsgstress02.c229 if (msgctl(tid, IPC_RMID, 0) < 0) { in cleanup_msgqueue()
296 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
313 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
318 if (msgctl(id, IPC_RMID, 0) < 0) { in dotest()
399 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
400 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup()
401 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgstress04.c255 if (msgctl(tid, IPC_RMID, 0) < 0) { in cleanup_msgqueue()
321 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
338 if (msgctl(tid, IPC_RMID, 0) < 0) { in dotest()
343 if (msgctl(id, IPC_RMID, 0) < 0) { in dotest()
442 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
443 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup()
444 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgstress03.c217 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
238 TEST(msgctl(id, IPC_RMID, 0)); in dotest()
282 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
283 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup()
284 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
Dmsgstress01.c221 TEST(msgctl(tid, IPC_RMID, 0)); in dotest()
243 TEST(msgctl(id, IPC_RMID, 0)); in dotest()
293 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
294 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup()
295 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c76 if (msgctl(id, IPC_RMID, 0)) in restore_queue()
123 if (msgctl(msgque->msq_id, IPC_RMID, 0)) { in check_and_destroy_queue()
137 ret = msgctl(kern_id, MSG_STAT, &ds); in dump_queue()
248 if (msgctl(msgque.msq_id, IPC_RMID, 0)) { in main()
/external/syzkaller/sys/linux/
Dipc.txt20 msgctl$IPC_STAT(msqid ipc_msq, cmd const[IPC_STAT], buf buffer[out])
21 msgctl$IPC_SET(msqid ipc_msq, cmd const[IPC_SET], buf ptr[in, msqid_ds])
22 msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID])
23 msgctl$IPC_INFO(msqid ipc_msq, cmd const[IPC_INFO], buf buffer[out])
24 msgctl$MSG_INFO(msqid ipc_msq, cmd const[MSG_INFO], buf buffer[out])
25 msgctl$MSG_STAT(msqid ipc_msq, cmd const[MSG_STAT], buf buffer[out])
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl03.c34 TEST(msgctl(msg_q, IPC_RMID, NULL)); in verify_msgctl()
42 TEST(msgctl(msg_q, IPC_STAT, &buf)); in verify_msgctl()
Dmsgctl12.c46 TEST(msgctl(*tc[i].msg_id, tc[i].cmd, tc[i].buf)); in verify_msgctl()
Dmsgctl02.c40 TEST(msgctl(msg_id, IPC_SET, &buf)); in verify_msgctl()
/external/syzkaller/sys/freebsd/
Dipc.txt23 msgctl$IPC_STAT(msqid ipc_msq, cmd const[IPC_STAT], buf buffer[out])
24 msgctl$IPC_SET(msqid ipc_msq, cmd const[IPC_SET], buf ptr[in, msqid_ds])
25 msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID])
26 msgctl$IPC_INFO(msqid ipc_msq, cmd const[IPC_INFO], buf buffer[out])
/external/toybox/toys/pending/
Dipcs.c55 if ((ret = msgctl(TT.id, IPC_STAT, &buf)) < 0) { in show_msg_id()
345 if ((max_nr = msgctl(0, MSG_INFO, (struct msqid_ds*)&info_buf)) < 0) { in msg_array()
359 if ((msgctl(0, 3, (struct msqid_ds*)&info_buf)) < 0) return; //IPC_INFO in msg_array()
387 if ((msqid = msgctl(i, MSG_STAT, &buf)) < 0 ) continue; in msg_array()
/external/syzkaller/sys/netbsd/
Dipc.txt23 msgctl$IPC_STAT(msqid ipc_msq, cmd const[IPC_STAT], buf buffer[out])
24 msgctl$IPC_SET(msqid ipc_msq, cmd const[IPC_SET], buf ptr[in, msqid_ds])
25 msgctl$IPC_RMID(msqid ipc_msq, cmd const[IPC_RMID])
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/
Dipc.h31 DO_TEST(msgctl, __NR_msgctl)
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv08.c96 if (msgctl(msqid, IPC_RMID, 0)) in msgrcv_test()
/external/strace/
Dipc_msgctl.c98 SYS_FUNC(msgctl) in SYS_FUNC() argument

123