/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd02.c | 52 } snd_buf[] = { variable 66 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1}, 68 {&bad_id, &snd_buf[0], MSGSIZE, EINVAL, 0}, 69 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0}, 70 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0}, 71 {&queue_id, &snd_buf[0], -1, EINVAL, 0}
|
D | msgsnd06.c | 39 } snd_buf = {1, "hello"}; variable 43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd() 63 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test() 64 snd_buf.type += 1; in do_test()
|
D | msgsnd05.c | 42 } snd_buf = {1, "hello"}; variable 56 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag)); in verify_msgsnd() 106 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup() 107 snd_buf.type += 1; in setup()
|
D | msgsnd01.c | 37 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable 43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget01.c | 40 } rcv_buf, snd_buf = {MSGTYPE, "hello, world"}; variable 52 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget() 56 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()
|