| /openbsd-src/lib/libc/net/ |
| H A D | res_comp.c | 437 _getshort(const u_char *msgp) in _getshort() argument 441 GETSHORT(u, msgp); in _getshort() 447 _getlong(const u_char *msgp) in _getlong() argument 451 GETLONG(u, msgp); in _getlong() 457 __putshort(u_int16_t s, u_char *msgp) in __putshort() argument 459 PUTSHORT(s, msgp); in __putshort() 463 __putlong(u_int32_t l, u_char *msgp) in __putlong() argument 465 PUTLONG(l, msgp); in __putlong()
|
| /openbsd-src/lib/libc/sys/ |
| H A D | w_msgsnd.c | 22 msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in msgsnd() argument 27 ret = HIDDEN(msgsnd)(msqid, msgp, msgsz, msgflg); in msgsnd()
|
| H A D | w_msgrcv.c | 22 msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument 27 ret = HIDDEN(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg); in msgrcv()
|
| /openbsd-src/usr.bin/rusers/ |
| H A D | rusers.c | 407 get_reply(int sock, in_port_t port, u_long xid, struct rpc_msg *msgp, in get_reply() argument 417 msgp->acpted_rply.ar_verf = _null_auth; in get_reply() 418 msgp->acpted_rply.ar_results.where = (caddr_t)resp; in get_reply() 419 msgp->acpted_rply.ar_results.proc = xdr_rmtcallres; in get_reply() 437 if (xdr_replymsg(&xdr, msgp)) { in get_reply() 438 if ((msgp->rm_xid == xid) && in get_reply() 439 (msgp->rm_reply.rp_stat == MSG_ACCEPTED) && in get_reply() 440 (msgp->acpted_rply.ar_stat == SUCCESS)) { in get_reply() 446 msgp->acpted_rply.ar_results.proc = xdr_void; in get_reply() 447 (void)xdr_replymsg(&xdr, msgp); in get_reply()
|
| /openbsd-src/usr.bin/dig/lib/dns/include/dns/ |
| H A D | message.h | 243 dns_message_create(unsigned int intent, dns_message_t **msgp); 254 *\li 'msgp' be non-null and '*msg' be NULL. 269 dns_message_destroy(dns_message_t **msgp); 275 *\li 'msgp' be valid. 278 *\li '*msgp' == NULL
|
| /openbsd-src/sys/kern/ |
| H A D | sysv_msg.c | 283 if ((error = msg_copyin(msg, (const char *)SCARG(uap, msgp), msgsz, p))) in sys_msgsnd() 314 char *msgp = SCARG(uap, msgp); in sys_msgrcv() local 349 if ((error = msg_copyout(msg, msgp, &msgsz, p))) in sys_msgrcv()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_platform_linux.cpp | 351 int ExtractRecvmsgFDs(void *msgp, int *fds, int nfd) { in ExtractRecvmsgFDs() argument 353 msghdr *msg = (msghdr*)msgp; in ExtractRecvmsgFDs()
|
| /openbsd-src/usr.bin/dig/lib/dns/ |
| H A D | message.c | 608 dns_message_create(unsigned int intent, dns_message_t **msgp) in dns_message_create() argument 615 REQUIRE(msgp != NULL); in dns_message_create() 616 REQUIRE(*msgp == NULL); in dns_message_create() 655 *msgp = m; in dns_message_create() 673 dns_message_destroy(dns_message_t **msgp) { in dns_message_destroy() argument 676 REQUIRE(msgp != NULL); in dns_message_destroy() 678 msg = *msgp; in dns_message_destroy() 679 *msgp = NULL; in dns_message_destroy()
|
| /openbsd-src/gnu/llvm/compiler-rt/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1294 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument 1295 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \ 1297 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument 1298 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \ 1300 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument 1301 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \ 1304 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument 1306 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \ 2747 void __sanitizer_syscall_pre_impl_msgsnd(long msqid, long msgp, long msgsz, 2749 void __sanitizer_syscall_post_impl_msgsnd(long res, long msqid, long msgp, [all …]
|
| H A D | netbsd_syscall_hooks.h | 1180 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument 1181 __sanitizer_syscall_pre_impl_msgsnd((long long)(msqid), (long long)(msgp), \ 1183 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument 1185 (long long)(msgp), (long long)(msgsz), \ 1187 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument 1188 __sanitizer_syscall_pre_impl_msgrcv((long long)(msqid), (long long)(msgp), \ 1191 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument 1194 res, (long long)(msqid), (long long)(msgp), (long long)(msgsz), \ 3745 void __sanitizer_syscall_pre_impl_msgsnd(long long msqid, long long msgp, 3748 long long msgp, long long msgsz, [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.trace/ |
| H A D | gdb_c_test.c | 3030 msgcmp (char **msgp, char *str) in msgcmp() argument 3034 if (msgp != 0 && str != 0) /* input validation */ in msgcmp() 3035 if ((next = *msgp) != 0) in msgcmp() 3043 return (int) (*msgp = next); /* advance msg ptr past str */ in msgcmp()
|
| /openbsd-src/gnu/usr.bin/perl/ |
| H A D | syscall_emulator.c | 1109 const void * msgp = (const void *)va_arg(args, long); in syscall_emulator() local 1112 ret = msgsnd(msqid, msgp, msgsz, msgflg); in syscall_emulator() 1117 void * msgp = (void *)va_arg(args, long); in syscall_emulator() local 1121 ret = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in syscall_emulator()
|
| /openbsd-src/sys/sys/ |
| H A D | syscallargs.h | 906 syscallarg(const void *) msgp; 913 syscallarg(void *) msgp;
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2269 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) { 2270 if (msgp) 2271 PRE_READ(msgp, msgsz); 2275 (long res, long msqid, void *msgp, long msgsz, long msgflg) {} 2278 (long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {} 2281 (long res, long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) { 2283 if (msgp) 2284 POST_WRITE(msgp, res);
|
| H A D | sanitizer_common_interceptors.inc | 3334 INTERCEPTOR(int, msgsnd, int msqid, const void *msgp, SIZE_T msgsz, 3337 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg); 3338 if (msgp) 3339 COMMON_INTERCEPTOR_READ_RANGE(ctx, msgp, sizeof(long) + msgsz); 3340 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg); 3344 INTERCEPTOR(SSIZE_T, msgrcv, int msqid, void *msgp, SIZE_T msgsz, 3347 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg); 3348 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg); 3350 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, msgp, sizeof(long) + len);
|
| /openbsd-src/sys/dev/pci/ |
| H A D | if_de.c | 3564 const char * const *msgp = tulip_status_bits; in tulip_print_abnormal_interrupt() local 3571 for (sep = " ", mask = 1; mask <= csr; mask <<= 1, msgp++) { in tulip_print_abnormal_interrupt() 3572 if ((csr & mask) && *msgp != NULL) { in tulip_print_abnormal_interrupt() 3573 printf("%s%s", sep, *msgp); in tulip_print_abnormal_interrupt()
|