/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd02.c | 40 } snd_buf[] = { variable 54 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1}, 56 {&bad_id, &snd_buf[0], MSGSIZE, EINVAL, 0}, 57 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0}, 58 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0}, 59 {&queue_id, &snd_buf[0], -1, EINVAL, 0}
|
D | msgsnd06.c | 27 } snd_buf = {1, "hello"}; variable 31 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd() 51 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test() 52 snd_buf.type += 1; in do_test()
|
D | msgsnd05.c | 30 } snd_buf = {1, "hello"}; variable 44 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag)); in verify_msgsnd() 94 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup() 95 snd_buf.type += 1; in setup()
|
D | msgsnd01.c | 25 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable 31 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget01.c | 28 } rcv_buf, snd_buf = {MSGTYPE, "hello, world"}; variable 40 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget() 44 if (strcmp(snd_buf.text, rcv_buf.text) == 0) in verify_msgget()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv04.c | 69 MSGBUF snd_buf, rcv_buf; variable 162 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup() 165 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { in setup()
|
D | msgrcv01.c | 75 MSGBUF snd_buf, rcv_buf, cmp_buf; variable 117 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { in main() 196 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup()
|
D | msgrcv02.c | 77 MSGBUF snd_buf, rcv_buf; variable 177 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup() 180 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, IPC_NOWAIT) == -1) { in setup()
|