/openbsd/sys/kern/ |
H A D | sysv_msg.c | 241 size_t msgsz = SCARG(uap, msgsz); in sys_msgsnd() local 247 if (msgsz > que->msqid_ds.msg_qbytes || msgsz > msginfo.msgmax) in sys_msgsnd() 255 while (MSGQ_SPACE(que) < msgsz || num_msgs >= msginfo.msgtql) { in sys_msgsnd() 283 if ((error = msg_copyin(msg, (const char *)SCARG(uap, msgp), msgsz, p))) in sys_msgsnd() 317 size_t msgsz = SCARG(uap, msgsz); in sys_msgrcv() local 349 if ((error = msg_copyout(msg, msgp, &msgsz, p))) in sys_msgrcv() 366 *retval = msgsz; in sys_msgrcv()
|
/openbsd/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/usr.sbin/smtpd/ |
H A D | report_smtp.c | 215 report_smtp_tx_commit(const char *direction, uint64_t qid, uint32_t msgid, size_t msgsz) in report_smtp_tx_commit() argument 226 m_add_size(p_lka, msgsz); in report_smtp_tx_commit()
|
H A D | lka.c | 81 size_t msgsz; in lka_imsg() local 515 m_get_size(&m, &msgsz); in lka_imsg() 518 lka_report_smtp_tx_commit(direction, &tv, reqid, msgid, msgsz); in lka_imsg()
|
H A D | lka_filter.c | 1561 …_tx_commit(const char *direction, struct timeval *tv, uint64_t reqid, uint32_t msgid, size_t msgsz) in lka_report_smtp_tx_commit() argument 1564 msgid, msgsz); in lka_report_smtp_tx_commit()
|
H A D | mta_session.c | 1861 mta_report_tx_commit(struct mta_session *s, uint32_t msgid, size_t msgsz) in mta_report_tx_commit() argument 1866 report_smtp_tx_commit("smtp-out", s->id, msgid, msgsz); in mta_report_tx_commit()
|
H A D | smtp_session.c | 3060 smtp_report_tx_commit(struct smtp_session *s, uint32_t msgid, size_t msgsz) in smtp_report_tx_commit() argument 3065 report_smtp_tx_commit("smtp-in", s->id, msgid, msgsz); in smtp_report_tx_commit()
|
/openbsd/usr.bin/snmp/ |
H A D | snmp.c | 479 int msgsz; in snmp_unpackage() local 513 if (ober_scanf_elements(payload, "{idxi}pxe", &msgid, &msgsz, in snmp_unpackage()
|
/openbsd/gnu/llvm/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1294 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument 1296 (long)(msgsz), (long)(msgflg)) 1297 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument 1299 (long)(msgsz), (long)(msgflg)) 1300 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument 1302 (long)(msgsz), (long)(msgtyp), \ 1304 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument 1307 (long)(msgsz), (long)(msgtyp), \ 2747 void __sanitizer_syscall_pre_impl_msgsnd(long msqid, long msgp, long msgsz, 2750 long msgsz, long msgflg); [all …]
|
H A D | netbsd_syscall_hooks.h | 1180 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument 1182 (long long)(msgsz), (long long)(msgflg)) 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 1189 (long long)(msgsz), (long long)(msgtyp), \ 1191 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument 3746 long long msgsz, long long msgflg); 3748 long long msgp, long long msgsz, 3751 long long msgsz, long long msgtyp, [all …]
|
/openbsd/gnu/usr.bin/perl/ |
H A D | syscall_emulator.c | 1110 size_t msgsz = (size_t)va_arg(args, long); in syscall_emulator() local 1112 ret = msgsnd(msqid, msgp, msgsz, msgflg); in syscall_emulator() 1118 size_t msgsz = (size_t)va_arg(args, long); in syscall_emulator() local 1121 ret = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in syscall_emulator()
|
/openbsd/sys/sys/ |
H A D | syscallargs.h | 907 syscallarg(size_t) msgsz; 914 syscallarg(size_t) msgsz;
|
/openbsd/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) { 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) {
|
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); 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);
|