Home
last modified time | relevance | path

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

12

/netbsd-src/sys/kern/
H A Dsysv_msg.c602 int msgflg = SCARG(uap, msgflg); in sys_msgget() local
609 MSG_PRINTF(("msgget(0x%x, 0%o)\n", key, msgflg)); in sys_msgget()
621 if ((msgflg & IPC_CREAT) && (msgflg & IPC_EXCL)) { in sys_msgget()
627 msgflg & 0700 ))) { in sys_msgget()
629 msgflg & 0700)); in sys_msgget()
637 if (key == IPC_PRIVATE || (msgflg & IPC_CREAT)) { in sys_msgget()
662 msqptr->msg_perm.mode = (msgflg & 0777); in sys_msgget()
701 SCARG(uap, msgsz), SCARG(uap, msgflg), sizeof(long), copyin); in sys_msgsnd()
706 int msgflg, size_t typesz, copyin_t fetch_type) in msgsnd1() argument
716 user_msgp, (long long)msgsz, msgflg)); in msgsnd1()
[all …]
H A Dsystrace_args.c1649 iarg[1] = SCARG(p, msgflg); /* int */ in systrace_args()
1659 iarg[3] = SCARG(p, msgflg); /* int */ in systrace_args()
1670 iarg[4] = SCARG(p, msgflg); /* int */ in systrace_args()
/netbsd-src/sys/compat/freebsd/
H A Dfreebsd_ipc.c221 SCARG(&msgget_args, msgflg) = SCARG(uap, a3); in freebsd_sys_msgsys()
228 SCARG(&msgsnd_args, msgflg) = SCARG(uap, a5); in freebsd_sys_msgsys()
236 SCARG(&msgrcv_args, msgflg) = SCARG(uap, a6); in freebsd_sys_msgsys()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dmsg.d204 int msgget(key_t key, int msgflg);
205 ssize_t msgrcv(int msqid, void* msgp, size_t msgsz, c_long msgtyp, int msgflg);
206 int msgsnd(int msqid, msgbuf* msgp, int msgsz, int msgflg);
/netbsd-src/sys/compat/common/
H A Dkern_ipc_10.c239 SCARG(&msgget_args, msgflg) = SCARG(uap, a3); in compat_10_sys_msgsys()
247 SCARG(&msgsnd_args, msgflg) = SCARG(uap, a5); in compat_10_sys_msgsys()
256 SCARG(&msgrcv_args, msgflg) = SCARG(uap, a6); in compat_10_sys_msgsys()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_ipccall.c213 SCARG(&bma, msgflg) = SCARG(uap, a3); in linux_msgsnd()
232 SCARG(&bma, msgflg) = SCARG(uap, a3); in linux_msgrcv()
243 SCARG(&bma, msgflg) = SCARG(uap, a2); in linux_msgget()
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_compat_10_sysv.c223 SCARG(&msgget_args, msgflg) = SCARG(uap, a3); in compat_10_netbsd32_msgsys()
230 SCARG(&msgsnd_args, msgflg) = SCARG(uap, a5); in compat_10_netbsd32_msgsys()
238 SCARG(&msgrcv_args, msgflg) = SCARG(uap, a6); in compat_10_netbsd32_msgsys()
H A Dnetbsd32_ipc.c271 NETBSD32TO64_UAP(msgflg); in netbsd32_msgget()
302 SCARG(uap, msgflg), sizeof(netbsd32_long), in netbsd32_msgsnd()
331 SCARG(uap, msgtyp), SCARG(uap, msgflg), sizeof(netbsd32_long), in netbsd32_msgrcv()
H A Dnetbsd32_syscallargs.h1175 syscallarg(int) msgflg;
1183 syscallarg(int) msgflg;
1192 syscallarg(int) msgflg;
H A Dnetbsd32_systrace_args.c1588 iarg[1] = SCARG(p, msgflg); /* int */ in systrace_args()
1598 iarg[3] = SCARG(p, msgflg); /* int */ in systrace_args()
1609 iarg[4] = SCARG(p, msgflg); /* int */ in systrace_args()
/netbsd-src/lib/libpthread/
H A Dpthread_cancelstub.c360 msgrcv(int msgid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument
367 retval = _sys_msgrcv(msgid, msgp, msgsz, msgtyp, msgflg); in msgrcv()
374 msgsnd(int msgid, const void *msgp, size_t msgsz, int msgflg) in msgsnd() argument
381 retval = _sys_msgsnd(msgid, msgp, msgsz, msgflg); in msgsnd()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
H A Dlinux_syscall_hooks.h1280 #define __sanitizer_syscall_pre_msgget(key, msgflg) \ argument
1281 __sanitizer_syscall_pre_impl_msgget((long)(key), (long)(msgflg))
1282 #define __sanitizer_syscall_post_msgget(res, key, msgflg) \ argument
1283 __sanitizer_syscall_post_impl_msgget(res, (long)(key), (long)(msgflg))
1284 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1286 (long)(msgsz), (long)(msgflg))
1287 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1289 (long)(msgsz), (long)(msgflg))
1290 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1293 (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 …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dlinux_syscall_hooks.h1282 #define __sanitizer_syscall_pre_msgget(key, msgflg) \ argument
1283 __sanitizer_syscall_pre_impl_msgget((long)(key), (long)(msgflg))
1284 #define __sanitizer_syscall_post_msgget(res, key, msgflg) \ argument
1285 __sanitizer_syscall_post_impl_msgget(res, (long)(key), (long)(msgflg))
1286 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1288 (long)(msgsz), (long)(msgflg))
1289 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1291 (long)(msgsz), (long)(msgflg))
1292 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1295 (long)(msgflg))
[all …]
H A Dnetbsd_syscall_hooks.h1149 #define __sanitizer_syscall_pre_msgget(key, msgflg) \ argument
1150 __sanitizer_syscall_pre_impl_msgget((long long)(key), (long long)(msgflg))
1151 #define __sanitizer_syscall_post_msgget(res, key, msgflg) \ argument
1153 (long long)(msgflg))
1154 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument
1156 (long long)(msgsz), (long long)(msgflg))
1157 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument
1160 (long long)(msgflg))
1161 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument
1164 (long long)(msgflg))
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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 …]
/netbsd-src/sys/compat/linux32/common/
H A Dlinux32_ipccall.c387 SCARG(&bma, msgflg) = SCARG(uap, a3); in linux32_msgsnd()
415 SCARG(&bma, msgflg) = SCARG(uap, a3); in linux32_msgrcv()
426 SCARG(&bma, msgflg) = SCARG(uap, a2); in linux32_msgget()
/netbsd-src/sys/compat/linux/arch/aarch64/
H A Dlinux_systrace_args.c1318 iarg[1] = SCARG(p, msgflg); /* int */ in systrace_args()
1338 iarg[4] = SCARG(p, msgflg); /* int */ in systrace_args()
1348 iarg[3] = SCARG(p, msgflg); /* int */ in systrace_args()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2067 PRE_SYSCALL(msgget)(long key, long msgflg) {}
2069 POST_SYSCALL(msgget)(long res, long key, long msgflg) {}
2071 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2076 long msgflg) {}
2079 long msgflg) {}
2082 long msgflg) {
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2065 PRE_SYSCALL(msgget)(long key, long msgflg) {}
2067 POST_SYSCALL(msgget)(long res, long key, long msgflg) {}
2069 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2074 long msgflg) {}
2077 long msgflg) {}
2080 long msgflg) {
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2260 PRE_SYSCALL(msgget)(long key, long msgflg) {}
2262 POST_SYSCALL(msgget)(long res, long key, long msgflg) {}
2264 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) {
2270 (long res, long msqid, void *msgp, long msgsz, long msgflg) {}
2273 (long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {}
2276 (long res, long msqid, void *msgp, long msgsz, long msgtyp, long msgflg) {
H A Dsanitizer_common_interceptors.inc3202 int msgflg) {
3204 COMMON_INTERCEPTOR_ENTER(ctx, msgsnd, msqid, msgp, msgsz, msgflg);
3207 int res = REAL(msgsnd)(msqid, msgp, msgsz, msgflg);
3212 long msgtyp, int msgflg) {
3214 COMMON_INTERCEPTOR_ENTER(ctx, msgrcv, msqid, msgp, msgsz, msgtyp, msgflg);
3215 SSIZE_T len = REAL(msgrcv)(msqid, msgp, msgsz, msgtyp, msgflg);
/netbsd-src/sys/compat/linux/arch/amd64/
H A Dlinux_systrace_args.c606 iarg[1] = SCARG(p, msgflg); /* int */ in systrace_args()
616 iarg[3] = SCARG(p, msgflg); /* int */ in systrace_args()
627 iarg[4] = SCARG(p, msgflg); /* int */ in systrace_args()
/netbsd-src/sys/sys/
H A Dsyscallargs.h1429 syscallarg(int) msgflg;
1439 syscallarg(int) msgflg;
1450 syscallarg(int) msgflg;

12