Home
last modified time | relevance | path

Searched refs:MSGSIZE (Results 1 – 22 of 22) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd02.c51 char text[MSGSIZE];
66 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1},
67 {&queue_id, NULL, MSGSIZE, EFAULT, 0},
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},
Dmsgsnd01.c36 char text[MSGSIZE];
43 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
51 if (qs_buf.msg_cbytes == MSGSIZE && qs_buf.msg_qnum == 1) in verify_msgsnd()
56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
Dmsgsnd06.c38 char text[MSGSIZE];
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()
Dmsgsnd05.c41 char text[MSGSIZE];
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()
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv01.c117 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { in main()
146 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
157 init_buf(&cmp_buf, MSGTYPE, MSGSIZE); in do_child()
196 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup()
Dmsgrcv07.c83 if (msgsnd(msgq_id, &snd_buf1, MSGSIZE, 0) == -1) in test_msg_except()
86 if (msgsnd(msgq_id, &snd_buf2, MSGSIZE, 0) == -1) in test_msg_except()
96 TEST(msgrcv(msgq_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); in test_msg_except()
124 if (msgsnd(msgq_id, &snd_buf1, MSGSIZE, 0) == -1) in test_msg_noerror()
Dmsgrcv04.c88 MSGSIZE, 2, IPC_NOWAIT, ENOMSG}
162 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup()
165 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, 0) == -1) { in setup()
Dmsgrcv02.c113 TEST(msgrcv(*(TC[i].queue_id), TC[i].mbuf, MSGSIZE, in main()
177 init_buf(&snd_buf, MSGTYPE, MSGSIZE); in setup()
180 if (msgsnd(msg_q_1, &snd_buf, MSGSIZE, IPC_NOWAIT) == -1) { in setup()
Dmsgrcv03.c74 &bad_q, MSGSIZE, EINVAL},
Dmsgrcv06.c152 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
Dmsgrcv05.c133 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c60 #define MSGSIZE 150 macro
71 char DIR_A[MSGSIZE], DIR_B[MSGSIZE]; in main()
72 char setgid_A[MSGSIZE], nosetgid_A[MSGSIZE]; in main()
73 char setgid_B[MSGSIZE], nosetgid_B[MSGSIZE], root_setgid_B[MSGSIZE]; in main()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c70 #define MSGSIZE 150 macro
75 static char DIR_A[MSGSIZE], DIR_B[MSGSIZE];
76 static char setgid_A[MSGSIZE], nosetgid_A[MSGSIZE];
77 static char setgid_B[MSGSIZE], nosetgid_B[MSGSIZE], root_setgid_B[MSGSIZE];
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/
D2-1.c24 #define MSGSIZE 10 // < strlen(MSGSTR) macro
36 attr.mq_msgsize = MSGSIZE; in main()
37 attr.mq_maxmsg = MSGSIZE; in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget01.c39 char text[MSGSIZE];
52 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget()
54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
D2-1.c25 #define MSGSIZE 10 // < strlen(MSGSTR) macro
38 attr.mq_msgsize = MSGSIZE; in main()
39 attr.mq_maxmsg = MSGSIZE; in main()
/external/ltp/testcases/kernel/syscalls/ipc/lib/
Dipcmsg.h41 #define MSGSIZE 1024 /* a resonable size for a message */ macro
50 char mtext[MSGSIZE + 1]; /* add 1 here so the message can be 1024 */
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D13-1.c25 #define MSGSIZE 5 macro
37 attr.mq_msgsize = MSGSIZE; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_getattr/
D3-1.c33 #define MSGSIZE 50 macro
46 mqstat.mq_msgsize = MSGSIZE; in main()
D4-1.c31 #define MSGSIZE 50 macro
46 mqstat.mq_msgsize = MSGSIZE; in main()
/external/ltp/testcases/kernel/containers/sysvipc/
Dmsg_comm.c41 #define MSGSIZE 50 macro
47 char mtext[MSGSIZE];
/external/ltp/testcases/kernel/syscalls/ipc/libnewipc/
Dlibnewipc.h28 #define MSGSIZE 1024 macro