/third_party/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)); \
|
/third_party/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 …]
|
/third_party/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);
|
/third_party/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()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
D | mod.rs | 458 msqid: ::c_int, in msgrcv()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 470 msqid: ::c_int, in msgrcv()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
D | mod.rs | 489 msqid: ::c_int, in msgrcv()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 489 msqid: ::c_int, in msgrcv()
|
/third_party/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()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3922 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut msqid_ds) -> ::c_int; in msgctl() 3925 msqid: ::c_int, in msgrcv() 3932 msqid: ::c_int, in msgsnd()
|
/third_party/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()
|
/third_party/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()
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 11294 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 11302 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 11309 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 11318 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 11326 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 11333 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa…
|
/third_party/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 20010 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 20025 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 20038 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 20055 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 20070 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa… 20083 …<parameter type-id='type-id-41' name='msqid' filepath='../../.././libsanitizer/sanitizer_common/sa…
|