| /src/tests/lib/libc/sys/ |
| t_msgrcv.c | 76 atf_tc_set_md_var(tc, "descr", "A basic test of msgrcv(2)"); 89 (void)msgrcv(id, &msg2, MSG_LEN, MSG_MTYPE_1, IPC_NOWAIT); 106 atf_tc_set_md_var(tc, "descr", "Test that msgrcv(2) blocks"); 123 if (msgrcv(id, &msg, MSG_LEN, MSG_MTYPE_1, 0) < 0) 140 atf_tc_fail("msgrcv(2) did not block"); 153 atf_tc_set_md_var(tc, "descr", "Test errors from msgrcv(2)"); 166 ATF_REQUIRE_ERRNO(ENOMSG, msgrcv(id, &msg, 173 ATF_REQUIRE_ERRNO(EFAULT, msgrcv(id, (void *)-1, 178 ATF_REQUIRE_ERRNO(EINVAL, msgrcv(-1, &msg, 183 ATF_REQUIRE_ERRNO(EINVAL, msgrcv(-1, &msg [all...] |
| t_msgctl.c | 226 (void)msgrcv(id, &msg, 239 atf_tc_fail("the PID of last msgrcv(2) was not updated"); 325 atf_tc_fail("time of last msgrcv(2) was updated incorrectly"); 330 (void)msgrcv(id, &msg, sizeof(struct msg), MSG_MTYPE_1, IPC_NOWAIT); 334 atf_tc_fail("time of last msgrcv(2) was not updated");
|
| /src/sys/sys/ |
| msg.h | 83 pid_t msg_lrpid; /* process ID of last msgrcv() */ 85 time_t msg_rtime; /* time of last msgrcv() */ 205 ssize_t msgrcv(int, void *, size_t, long, int);
|
| /src/tests/kernel/ |
| t_sysv.c | 259 ATF_REQUIRE_MSG(msgrcv(sender_msqid, &m, MESSAGE_TEXT_LEN, 261 "sender: msgrcv 1 ack: %d", errno); 273 ATF_REQUIRE_MSG(msgrcv(sender_msqid, &m, MESSAGE_TEXT_LEN, 275 "sender: msgrcv 2 ack: %d", errno); 354 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_1, 0) 356 err(EXIT_FAILURE, "receiver: msgrcv 1"); 372 if (msgrcv(msqid, &m, MESSAGE_TEXT_LEN, MTYPE_2, 0) 374 err(EXIT_FAILURE, "receiver: msgrcv 2");
|
| /src/external/bsd/ntp/dist/libntp/ |
| adjtime.c | 242 if (msgrcv(mqid, &msgp->msgp, MSGSIZE, SERVER, 0) == -1)
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| msg.d | 205 ssize_t msgrcv(int msqid, void* msgp, size_t msgsz, c_long msgtyp, int msgflg);
|
| /src/lib/libpthread/ |
| pthread_cancelstub.c | 124 __typeof(msgrcv) _sys_msgrcv; 381 msgrcv(int msgid, void *msgp, size_t msgsz, long msgtyp, int msgflg) function 800 __strong_alias(_msgrcv, msgrcv)
|
| /src/lib/libc/sys/ |
| Makefile.inc | 185 msgrcv.S msgsnd.S __msync13.S __nanosleep50.S open.S openat.S \ 283 mprotect.2 mremap.2 msgctl.2 msgget.2 msgrcv.2 msgsnd.2 msync.2 \
|
| /src/external/bsd/ntp/dist/adjtimed/ |
| adjtimed.c | 221 if (msgrcv(mqid, &msg.msgp, MSGSIZE, CLIENT, 0) == -1) {
|
| /src/external/mit/libuv/dist/src/unix/ |
| os390-syscalls.c | 165 if (msgrcv(lst->msg_queue, &msg, sizeof(msg.body), 0, 0) != sizeof(msg.body))
|
| os390.c | 756 msglen = msgrcv(ep->msg_queue, &msg, sizeof(msg), 0, IPC_NOWAIT);
|
| /src/external/gpl3/gdb/dist/gdb/ |
| i386-syscalls.def | 415 SYSCALL (401, msgrcv)
|
| i386-linux-tdep.c | 800 SYSCALL_MAP (msgrcv);
|
| loongarch-linux-tdep.c | 781 SYSCALL_MAP (msgrcv);
|
| aarch64-linux-tdep.c | 2329 SYSCALL_MAP (msgrcv);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| i386-syscalls.def | 415 SYSCALL (401, msgrcv)
|
| i386-linux-tdep.c | 799 SYSCALL_MAP (msgrcv);
|
| loongarch-linux-tdep.c | 774 SYSCALL_MAP (msgrcv);
|
| aarch64-linux-tdep.c | 2237 SYSCALL_MAP (msgrcv);
|
| /src/tests/lib/libpthread/ |
| t_cancellation.c | 396 RL(msgrcv(msgid, buf, sizeof(buf), 0, 0));
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_common_interceptors.inc | 3274 INTERCEPTOR(SSIZE_T, msgrcv, int msqid, void *msgp, SIZE_T msgsz, 3277 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg); 3278 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg); 3286 COMMON_INTERCEPT_FUNCTION(msgrcv);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_common_interceptors.inc | 3211 INTERCEPTOR(SSIZE_T, msgrcv, int msqid, void *msgp, SIZE_T msgsz, 3214 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg); 3215 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg); 3223 COMMON_INTERCEPT_FUNCTION(msgrcv);
|