/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl04.c | 29 return msgctl(msqid, cmd, buf); in libc_msgctl() 60 int (*msgctl)(int msqid, int cmd, void *buf); member 63 { .msgctl = libc_msgctl, .desc = "libc msgctl()"}, 65 { .msgctl = sys_msgctl, .desc = "__NR_msgctl syscall"}, 74 tv->msgctl == libc_msgctl) { in verify_msgctl() 79 TST_EXP_FAIL(tv->msgctl(*(tc[i].msg_id), tc[i].cmd, tc[i].buf), in verify_msgctl()
|
D | msgctl06.c | 108 TEST(msgctl(0, MSG_INFO, (struct msqid_ds *)&info)); in verify_msgctl() 115 msgid = msgctl(TST_RET, MSG_STAT_ANY, &buf); in verify_msgctl() 125 if (msgctl(i, MSG_STAT_ANY, &buf) != -1) in verify_msgctl() 149 TEST(msgctl(msg_id, MSG_STAT_ANY, &temp_buf)); in setup()
|
D | msgctl03.c | 24 TEST(msgctl(msg_q, IPC_RMID, NULL)); in verify_msgctl() 32 TEST(msgctl(msg_q, IPC_STAT, &buf)); in verify_msgctl()
|
D | msgctl05.c | 30 TEST(msgctl(msqid, IPC_STAT, (struct msqid_ds *)&buf_ds)); in run()
|
D | msgctl02.c | 27 TEST(msgctl(msg_id, IPC_SET, &buf)); in verify_msgctl()
|
D | msgctl12.c | 36 TEST(msgctl(*tc[i].msg_id, tc[i].cmd, tc[i].buf)); in verify_msgctl()
|
D | msgctl01.c | 30 TEST(msgctl(msg_id, IPC_STAT, &buf)); in verify_msgctl()
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | msg_comm.c | 79 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()
|
D | mesgq_nstest.c | 172 msgctl(id, IPC_RMID, NULL); in main()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress02.c | 229 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()
|
D | msgstress04.c | 255 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() 436 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 437 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup() 438 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
|
D | msgstress01.c | 221 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()
|
D | msgstress03.c | 225 TEST(msgctl(tid, IPC_RMID, 0)); in dotest() 246 TEST(msgctl(id, IPC_RMID, 0)); in dotest() 290 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 291 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup() 292 (void)msgctl(tid, IPC_RMID, NULL); in cleanup()
|
/third_party/musl/libc-test/src/functional/ |
D | ipc_msg.c | 43 T(msgctl(qid, IPC_RMID, 0)); in snd() 55 T(msgctl(qid, IPC_STAT, &qid_ds)); in snd() 75 T(msgctl(qid, IPC_STAT, &qid_ds)); in snd() 111 T(msgctl(qid, IPC_RMID, 0)); in rcv()
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 55 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()
|
D | ipcrm.c | 63 else if (ipc == 2) ret = msgctl(id, IPC_RMID, NULL);
|
/third_party/musl/ndk_musl_include/sys/ |
D | msg.h | 37 int msgctl (int, int, struct msqid_ds *);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | msg.h | 37 int msgctl (int, int, struct msqid_ds *);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | msg.h | 37 int msgctl (int, int, struct msqid_ds *);
|
/third_party/musl/include/sys/ |
D | msg.h | 37 int msgctl (int, int, struct msqid_ds *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | msg.h | 37 int msgctl (int, int, struct msqid_ds *);
|
/third_party/musl/libc-test/src/api/ |
D | sys_msg.c | 25 {int(*p)(int,int,struct msqid_ds*) = msgctl;} in f()
|
/third_party/musl/src/ipc/ |
D | msgctl.c | 10 int msgctl(int q, int cmd, struct msqid_ds *buf) in msgctl() function
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
D | msgctl.c | 12 int msgctl(int q, int cmd, struct msqid_ds *buf) in msgctl() function
|
/third_party/ltp/libs/libltpipc/ |
D | libipc.c | 89 if (msgctl(queue_id, IPC_RMID, NULL) == -1) { in rm_queue()
|