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.c40 } 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}
Dmsgsnd06.c27 } 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()
Dmsgsnd05.c30 } 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()
Dmsgsnd01.c25 } 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/
Dmsgget01.c28 } 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/
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()