Home
last modified time | relevance | path

Searched refs:msqid (Results 1 - 13 of 13) sorted by relevance

/third_party/ltp/include/
H A Dtst_safe_sysv_ipc.h18 int safe_msgsnd(const char *file, const int lineno, int msqid, const void *msgp,
20 #define SAFE_MSGSND(msqid, msgp, msgsz, msgflg) \
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) \
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) ({ \
31 int tst_ret_ = safe_msgctl(__FILE__, __LINE__, (msqid), (cmd), (buf)); \
32 (msqid)
[all...]
/third_party/ltp/lib/
H A Dtst_safe_sysv_ipc.c82 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, cm in safe_msgctl()
[all...]
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl05.c23 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()
H A Dmsgctl04.c27 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/
H A Dipcs.c62 printf("\nMessage Queue msqid=%d\n" in show_msg_id()
341 int max_nr, i, msqid; in msg_array() local
371 "msqid", "owner", "send", "recv", "change"); in msg_array()
375 "msqid", "owner", "lspid", "lrpid"); in msg_array()
379 "msqid", "perms", "cuid", "cgid", "uid", "gid"); in msg_array()
383 "key", "msqid", "owner", "perms", "used-bytes", "messages"); in msg_array()
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, p in msg_array()
[all...]
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/
H A Dmod.rs489 msqid: ::c_int, in msgrcv()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/
H A Dmod.rs489 msqid: ::c_int, in msgrcv()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
H A Dmod.rs470 msqid: ::c_int, in msgrcv()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/
H A Dmod.rs458 msqid: ::c_int, in msgrcv()
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1855 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/fuchsia/
H A Dmod.rs3963 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/linux_like/linux/
H A Dmod.rs3922 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/unix/bsd/freebsdlike/freebsd/
H A Dmod.rs4095 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut ::msqid_ds) -> ::c_int; in msgctl()
4098 msqid: ::c_int, in msgsnd()

Completed in 47 milliseconds