Home
last modified time | relevance | path

Searched refs:msgflg (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/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-src/sys/kern/
H A Dsysv_msg.c191 int msgflg = SCARG(uap, msgflg); in sys_msgget() local
198 if ((msgflg & IPC_CREAT) && (msgflg & IPC_EXCL)) in sys_msgget()
201 msgflg & 0700))) in sys_msgget()
208 if (key != IPC_PRIVATE && !(msgflg & IPC_CREAT)) in sys_msgget()
219 if ((que = que_create(key, cred, msgflg & 0777)) == NULL) in sys_msgget()
257 if (SCARG(uap, msgflg) & IPC_NOWAIT) { in sys_msgsnd()
332 if (SCARG(uap, msgflg) & IPC_NOWAIT) { in sys_msgrcv()
/openbsd-src/gnu/llvm/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1290 #define __sanitizer_syscall_pre_msgget(key, msgflg) \ argument
1291 __sanitizer_syscall_pre_impl_msgget((long)(key), (long)(msgflg))
1292 #define __sanitizer_syscall_post_msgget(res, key, msgflg) \ argument
1293 __sanitizer_syscall_post_impl_msgget(res, (long)(key), (long)(msgflg))
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
1303 (long)(msgflg))
[all …]
H A Dnetbsd_syscall_hooks.h1175 #define __sanitizer_syscall_pre_msgget(key, msgflg) \ argument
1176 __sanitizer_syscall_pre_impl_msgget((long long)(key), (long long)(msgflg))
1177 #define __sanitizer_syscall_post_msgget(res, key, msgflg) \ argument
1179 (long long)(msgflg))
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
1186 (long long)(msgflg))
1187 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1190 (long long)(msgflg))
[all …]
/openbsd-src/gnu/usr.bin/perl/
H A Dsyscall_emulator.c1103 int msgflg = (int)va_arg(args, long); in syscall_emulator() local
1104 ret = msgget(key, msgflg); in syscall_emulator()
1111 int msgflg = (int)va_arg(args, long); in syscall_emulator() local
1112 ret = msgsnd(msqid, msgp, msgsz, msgflg); in syscall_emulator()
1120 int msgflg = (int)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 Dsyscallargs.h901 syscallarg(int) msgflg;
908 syscallarg(int) msgflg;
916 syscallarg(int) msgflg;
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2265 PRE_SYSCALL(msgget)(long key, long msgflg) {}
2267 POST_SYSCALL(msgget)(long res, long key, long msgflg) {}
2269 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
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.inc3335 int msgflg) {
3337 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg);
3340 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg);
3345 long msgtyp, int msgflg) {
3347 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg);
3348 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg);