/external/strace/tests/ |
D | ipc_msgbuf.c | 42 static int msqid = -1; variable 64 if (msqid != -1) { in cleanup() 65 int rc = msgctl(msqid, IPC_RMID, 0); in cleanup() 67 msqid, str_ipc_64, str_ipc_rmid); in cleanup() 68 msqid = -1; in cleanup() 77 sys_msgrcv(int msqid, void *msgp, size_t sz, kernel_long_t msgtyp, in sys_msgrcv() argument 81 return syscall(__NR_msgrcv, msqid, msgp, sz, msgtyp, msgflg); in sys_msgrcv() 83 return msgrcv(msqid, msgp, sz, msgtyp, msgflg); in sys_msgrcv() 99 msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU); in main() 100 if (msqid == -1) in main() [all …]
|
D | ipc.c | 104 const int msqid = -2; in main() local 109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); in main() 111 msqid, efault, msgsz, msgtyp, rc, errno2name()); in main()
|
/external/strace/tests-m32/ |
D | ipc_msgbuf.c | 42 static int msqid = -1; variable 64 if (msqid != -1) { in cleanup() 65 int rc = msgctl(msqid, IPC_RMID, 0); in cleanup() 67 msqid, str_ipc_64, str_ipc_rmid); in cleanup() 68 msqid = -1; in cleanup() 77 sys_msgrcv(int msqid, void *msgp, size_t sz, kernel_long_t msgtyp, in sys_msgrcv() argument 81 return syscall(__NR_msgrcv, msqid, msgp, sz, msgtyp, msgflg); in sys_msgrcv() 83 return msgrcv(msqid, msgp, sz, msgtyp, msgflg); in sys_msgrcv() 99 msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU); in main() 100 if (msqid == -1) in main() [all …]
|
D | ipc.c | 104 const int msqid = -2; in main() local 109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); in main() 111 msqid, efault, msgsz, msgtyp, rc, errno2name()); in main()
|
/external/strace/tests-mx32/ |
D | ipc_msgbuf.c | 42 static int msqid = -1; variable 64 if (msqid != -1) { in cleanup() 65 int rc = msgctl(msqid, IPC_RMID, 0); in cleanup() 67 msqid, str_ipc_64, str_ipc_rmid); in cleanup() 68 msqid = -1; in cleanup() 77 sys_msgrcv(int msqid, void *msgp, size_t sz, kernel_long_t msgtyp, in sys_msgrcv() argument 81 return syscall(__NR_msgrcv, msqid, msgp, sz, msgtyp, msgflg); in sys_msgrcv() 83 return msgrcv(msqid, msgp, sz, msgtyp, msgflg); in sys_msgrcv() 99 msqid = msgget(IPC_PRIVATE, IPC_CREAT | S_IRWXU); in main() 100 if (msqid == -1) in main() [all …]
|
D | ipc.c | 104 const int msqid = -2; in main() local 109 msqid, msgsz, IPC_NOWAIT, (long) efault, msgtyp); in main() 111 msqid, efault, msgsz, msgtyp, rc, errno2name()); in main()
|
/external/ltp/include/ |
D | tst_safe_sysv_ipc.h | 18 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp, 20 #define SAFE_MSGSND(msqid, msgp, msgsz, msgflg) \ argument 21 safe_msgsnd(__FILE__, __LINE__, (msqid), (msgp), (msgsz), (msgflg)) 23 ssize_t safe_msgrcv(const char *file, const int lineno, int msqid, void *msgp, 25 #define SAFE_MSGRCV(msqid, msgp, msgsz, msgtyp, msgflg) \ argument 26 safe_msgrcv(__FILE__, __LINE__, (msqid), (msgp), (msgsz), (msgtyp), (msgflg)) 28 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd, 30 #define SAFE_MSGCTL(msqid, cmd, buf) ({ \ argument 31 int tst_ret_ = safe_msgctl(__FILE__, __LINE__, (msqid), (cmd), (buf)); \ 32 (msqid) = ((cmd) == IPC_RMID ? -1 : (msqid)); \
|
/external/ltp/lib/ |
D | tst_safe_sysv_ipc.c | 82 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp, in safe_msgsnd() argument 87 rval = msgsnd(msqid, msgp, msgsz, msgflg); in safe_msgsnd() 91 "msgsnd(%i, %p, %zu, %x) failed", msqid, msgp, msgsz, in safe_msgsnd() 96 msqid, msgp, msgsz, msgflg, rval); in safe_msgsnd() 102 ssize_t safe_msgrcv(const char *file, const int lineno, int msqid, void *msgp, in safe_msgrcv() argument 107 rval = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in safe_msgrcv() 112 msqid, msgp, msgsz, msgtyp, msgflg); in safe_msgrcv() 116 msqid, msgp, msgsz, msgtyp, msgflg, rval); in safe_msgrcv() 122 int safe_msgctl(const char *file, const int lineno, int msqid, int cmd, in safe_msgctl() argument 127 rval = msgctl(msqid, cmd, buf); in safe_msgctl() [all …]
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl05.c | 23 int msqid; in run() local 28 msqid = SAFE_MSGGET(key, IPC_CREAT | IPC_EXCL | MSG_RW | 0600); in run() 30 TEST(msgctl(msqid, IPC_STAT, (struct msqid_ds *)&buf_ds)); in run() 39 SAFE_MSGCTL(msqid, IPC_RMID, NULL); in run()
|
D | msgctl04.c | 27 static int libc_msgctl(int msqid, int cmd, void *buf) in libc_msgctl() argument 29 return msgctl(msqid, cmd, buf); in libc_msgctl() 32 static int sys_msgctl(int msqid, int cmd, void *buf) in sys_msgctl() argument 34 return tst_syscall(__NR_msgctl, msqid, cmd, buf); in sys_msgctl() 60 int (*msgctl)(int msqid, int cmd, void *buf);
|
/external/toybox/toys/pending/ |
D | ipcs.c | 341 int max_nr, i, msqid; in msg_array() local 387 if ((msqid = msgctl(i, MSG_STAT, &buf)) < 0 ) continue; in msg_array() 390 if (pw) printf("%-8d %-10.10s", msqid, pw->pw_name); in msg_array() 391 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); in msg_array() 399 if (pw) printf("%-8d %-10.10s", msqid, pw->pw_name); in msg_array() 400 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); in msg_array() 403 printf("%-10d %-10o", msqid, buf.msg_perm.mode & 0777); in msg_array() 414 if (pw) printf("%-10d %-10.10s", msqid, pw->pw_name); in msg_array() 415 else printf("%-10d %-10d", msqid, buf.msg_perm.uid); in msg_array()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1286 #define __sanitizer_syscall_pre_msgsnd(msqid, msgp, msgsz, msgflg) \ argument 1287 __sanitizer_syscall_pre_impl_msgsnd((long)(msqid), (long)(msgp), \ 1289 #define __sanitizer_syscall_post_msgsnd(res, msqid, msgp, msgsz, msgflg) \ argument 1290 __sanitizer_syscall_post_impl_msgsnd(res, (long)(msqid), (long)(msgp), \ 1292 #define __sanitizer_syscall_pre_msgrcv(msqid, msgp, msgsz, msgtyp, msgflg) \ argument 1293 __sanitizer_syscall_pre_impl_msgrcv((long)(msqid), (long)(msgp), \ 1296 #define __sanitizer_syscall_post_msgrcv(res, msqid, msgp, msgsz, msgtyp, \ argument 1298 __sanitizer_syscall_post_impl_msgrcv(res, (long)(msqid), (long)(msgp), \ 1301 #define __sanitizer_syscall_pre_msgctl(msqid, cmd, buf) \ argument 1302 __sanitizer_syscall_pre_impl_msgctl((long)(msqid), (long)(cmd), (long)(buf)) [all …]
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
D | mod.rs | 458 msqid: ::c_int, in msgrcv()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 470 msqid: ::c_int, in msgrcv()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 489 msqid: ::c_int, in msgrcv()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
D | mod.rs | 489 msqid: ::c_int, in msgrcv()
|
/external/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1855 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut msqid_ds) -> ::c_int; in msgctl() 1858 msqid: ::c_int, in msgrcv() 1865 msqid: ::c_int, in msgsnd()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 2071 PRE_SYSCALL(msgsnd)(long msqid, void *msgp, long msgsz, long msgflg) { 2075 POST_SYSCALL(msgsnd)(long res, long msqid, void *msgp, long msgsz, 2078 PRE_SYSCALL(msgrcv)(long msqid, void *msgp, long msgsz, long msgtyp, 2081 POST_SYSCALL(msgrcv)(long res, long msqid, void *msgp, long msgsz, long msgtyp, 2089 PRE_SYSCALL(msgctl)(long msqid, long cmd, void *buf) {} 2091 POST_SYSCALL(msgctl)(long res, long msqid, long cmd, void *buf) {
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3856 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut msqid_ds) -> ::c_int; in msgctl() 3859 msqid: ::c_int, in msgrcv() 3866 msqid: ::c_int, in msgsnd()
|
/external/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3963 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut msqid_ds) -> ::c_int; in msgctl() 3966 msqid: ::c_int, in msgrcv() 3973 msqid: ::c_int, in msgsnd()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
D | mod.rs | 4095 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut ::msqid_ds) -> ::c_int; in msgctl() 4098 msqid: ::c_int, in msgsnd()
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 10003 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 10012 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 10596 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 10729 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 10738 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa…
|
/external/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 17923 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 17940 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 19020 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 19267 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 19284 …<parameter type-id='type-id-38' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa…
|
/external/strace/ |
D | ChangeLog | 25465 * ipc_msgctl.c (SYS_FUNC(msgctl)): As msqid argument is treated as int 52731 (sys_msgsnd): Print msqid parameter as int instead of long.
|