Home
last modified time | relevance | path

Searched refs:snd_buf (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd02.c52 } 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}
Dmsgsnd06.c39 } 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()
Dmsgsnd05.c42 } 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()
Dmsgsnd01.c37 } 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/
Dmsgget01.c40 } 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/
Dmsgrcv04.c69 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()
Dmsgrcv01.c75 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()
Dmsgrcv02.c77 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()