HomeSort by relevance Sort by last modified time
    Searched refs:msg_q_1 (Results 1 - 11 of 11) sorted by null

  /external/ltp/testcases/kernel/syscalls/ipc/msgctl/
msgctl03.c 65 int msg_q_1 = -1; /* to hold the message queue id */ variable
80 TEST(msgctl(msg_q_1, IPC_RMID, NULL));
89 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf) == -1)) {
100 msg_q_1 = -1;
127 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
139 rm_queue(msg_q_1);
msgctl01.c 66 int msg_q_1 = -1; /* to hold the message queue id */ variable
88 TEST(msgctl(msg_q_1, IPC_STAT, &qs_buf));
137 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
149 rm_queue(msg_q_1);
msgctl02.c 66 int msg_q_1 = -1; /* to hold the message queue id */ variable
90 TEST(msgctl(msg_q_1, IPC_SET, &qs_buf));
96 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf) == -1)) {
150 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
155 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf)) == -1) {
171 rm_queue(msg_q_1);
msgctl05.c 67 int msg_q_1 = -1; /* The message queue id created in setup */ variable
100 rm_queue(msg_q_1);
127 TEST(msgctl(msg_q_1, IPC_RMID, NULL));
171 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
msgctl04.c 69 int msg_q_1 = -1; /* The message queue id created in setup */ variable
83 &msg_q_1, IPC_STAT, &q_buf, EACCES},
175 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL)) == -1) {
197 rm_queue(msg_q_1);
  /external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
msgrcv06.c 78 int msg_q_1 = -1; /* The message queue id created in setup */ variable
90 maybe_run_child(&do_child_uclinux, "d", &msg_q_1);
108 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW))
128 if (self_exec(av[0], "d", msg_q_1) < 0) {
138 rm_queue(msg_q_1);
152 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0));
165 msg_q_1 = -1;
175 rm_queue(msg_q_1);
msgrcv01.c 74 int msg_q_1; variable
88 maybe_run_child(&do_child, "d", &msg_q_1);
109 if (self_exec(av[0], "d", msg_q_1) < 0) {
117 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) {
146 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0));
191 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
206 rm_queue(msg_q_1);
msgrcv05.c 77 int msg_q_1 = -1; /* The message queue id created in setup */ variable
89 maybe_run_child(&do_child_uclinux, "d", &msg_q_1);
111 if (self_exec(av[0], "d", msg_q_1) < 0)
133 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0));
191 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1)
202 rm_queue(msg_q_1);
msgrcv04.c 65 int msg_q_1 = -1; /* The message queue id created in setup */ variable
112 TEST(msgrcv(msg_q_1, &rcv_buf, TC[i].size, TC[i].type,
157 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
165 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) {
177 rm_queue(msg_q_1);
msgrcv03.c 63 int msg_q_1 = -1; /* The message queue id created in setup */ variable
77 &msg_q_1, -1, EINVAL}
146 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
158 rm_queue(msg_q_1);
msgrcv02.c 75 int msg_q_1 = -1; /* The message queue ID created in setup */ variable
89 &msg_q_1, (MSGBUF *) - 1, EFAULT}
172 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) {
180 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, IPC_NOWAIT) == -1) {
197 rm_queue(msg_q_1);

Completed in 108 milliseconds