Home
last modified time | relevance | path

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

123

/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c29 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()
Dmsgctl06.c108 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()
Dmsgctl03.c24 TEST(msgctl(msg_q, IPC_RMID, NULL)); in verify_msgctl()
32 TEST(msgctl(msg_q, IPC_STAT, &buf)); in verify_msgctl()
Dmsgctl05.c30 TEST(msgctl(msqid, IPC_STAT, (struct msqid_ds *)&buf_ds)); in run()
Dmsgctl02.c27 TEST(msgctl(msg_id, IPC_SET, &buf)); in verify_msgctl()
Dmsgctl12.c36 TEST(msgctl(*tc[i].msg_id, tc[i].cmd, tc[i].buf)); in verify_msgctl()
Dmsgctl01.c30 TEST(msgctl(msg_id, IPC_STAT, &buf)); in verify_msgctl()
/third_party/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()
Dmesgq_nstest.c172 msgctl(id, IPC_RMID, NULL); in main()
/third_party/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()
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()
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()
Dmsgstress03.c225 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/
Dipc_msg.c43 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/
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()
Dipcrm.c63 else if (ipc == 2) ret = msgctl(id, IPC_RMID, NULL);
/third_party/musl/ndk_musl_include/sys/
Dmsg.h37 int msgctl (int, int, struct msqid_ds *);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmsg.h37 int msgctl (int, int, struct msqid_ds *);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmsg.h37 int msgctl (int, int, struct msqid_ds *);
/third_party/musl/include/sys/
Dmsg.h37 int msgctl (int, int, struct msqid_ds *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmsg.h37 int msgctl (int, int, struct msqid_ds *);
/third_party/musl/libc-test/src/api/
Dsys_msg.c25 {int(*p)(int,int,struct msqid_ds*) = msgctl;} in f()
/third_party/musl/src/ipc/
Dmsgctl.c10 int msgctl(int q, int cmd, struct msqid_ds *buf) in msgctl() function
/third_party/musl/porting/liteos_a/user/src/ipc/
Dmsgctl.c12 int msgctl(int q, int cmd, struct msqid_ds *buf) in msgctl() function
/third_party/ltp/libs/libltpipc/
Dlibipc.c89 if (msgctl(queue_id, IPC_RMID, NULL) == -1) { in rm_queue()

123