Home
last modified time | relevance | path

Searched refs:msgsz (Results 1 – 15 of 15) sorted by relevance

/openbsd/sys/kern/
H A Dsysv_msg.c241 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 Dw_msgsnd.c22 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 Dw_msgrcv.c22 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 Dreport_smtp.c215 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 Dlka.c81 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 Dlka_filter.c1548 …_tx_commit(const char *direction, struct timeval *tv, uint64_t reqid, uint32_t msgid, size_t msgsz) in lka_report_smtp_tx_commit() argument
1551 msgid, msgsz); in lka_report_smtp_tx_commit()
H A Dmta_session.c1861 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 Dsmtp_session.c3059 smtp_report_tx_commit(struct smtp_session *s, uint32_t msgid, size_t msgsz) in smtp_report_tx_commit() argument
3064 report_smtp_tx_commit("smtp-in", s->id, msgid, msgsz); in smtp_report_tx_commit()
/openbsd/usr.bin/snmp/
H A Dsnmp.c479 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 Dlinux_syscall_hooks.h1294 #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 Dnetbsd_syscall_hooks.h1180 #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 Dsyscall_emulator.c1110 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 Dsyscallargs.h907 syscallarg(size_t) msgsz;
914 syscallarg(size_t) msgsz;
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2269 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 Dsanitizer_common_interceptors.inc3334 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);