Home
last modified time | relevance | path

Searched refs:msqid (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dmsgsys.c52 msgctl(int msqid, int cmd, struct msqid_ds *buf) in msgctl() argument
59 return (syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf)); in msgctl()
63 msgctl64(int msqid, int cmd, struct msqid_ds64 *buf) in msgctl64() argument
70 return (syscall(SYS_msgsys, MSGCTL, msqid, cmd, buf)); in msgctl64()
85 error = __systemcall(&rval, SYS_msgsys, MSGRCV, msqid, in __msgrcv()
91 return ((ssize_t)syscall(SYS_msgsys, MSGRCV, msqid, in __msgrcv()
96 __msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in __msgsnd() argument
102 error = __systemcall(&rval, SYS_msgsys, MSGSND, msqid, in __msgsnd()
108 return (syscall(SYS_msgsys, MSGSND, msqid, msgp, msgsz, msgflg)); in __msgsnd()
118 msgsnap(int msqid, void *buf, size_t bufsz, long msgtyp) in msgsnap() argument
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c174 msq_print(kmsqid_t *msqid, uintptr_t addr) in msq_print() argument
180 " qmax: 0t%lu\n", msqid->msg_cbytes, msqid->msg_qnum, in msq_print()
181 msqid->msg_qbytes, msqid->msg_qmax); in msq_print()
183 (int)msqid->msg_lspid, (int)msqid->msg_lrpid); in msq_print()
184 printtime_nice("stime: ", msqid->msg_stime); in msq_print()
185 printtime_nice("rtime: ", msqid->msg_rtime); in msq_print()
186 printtime_nice("ctime: ", msqid->msg_ctime); in msq_print()
188 msqid->msg_snd_cnt, msqid->msg_snd_cv._opaque, in msq_print()
193 total += msgq_check_for_waiters(&msqid->msg_cpy_block, in msq_print()
199 total += msgq_check_for_waiters(&msqid->msg_wait_rcv, in msq_print()
[all …]
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_events.c229 int msqid; in nwam_event_send() local
257 if ((msqid = msgget(key, 0644)) == -1) { in nwam_event_send()
266 if (msgctl(msqid, IPC_STAT, &buf) == -1) { in nwam_event_send()
290 if (msgsnd(msqid, (struct msgbuf *)event, event->nwe_size, in nwam_event_send()
315 int msqid; in nwam_event_queue_fini() local
318 (msqid = msgget(key, 0644)) != -1 && in nwam_event_queue_fini()
319 msgctl(msqid, IPC_RMID, NULL) != -1) in nwam_event_queue_fini()
/illumos-gate/usr/src/uts/common/os/
H A Dmsg.c666 msgrcv(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument
680 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) { in msgrcv()
968 msgsnap(int msqid, caddr_t buf, size_t bufsz, long msgtyp) in msgsnap() argument
987 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) in msgsnap()
1094 msgsnd(int msqid, struct ipcmsgbuf *msgp, size_t msgsz, int msgflg) in msgsnd() argument
1147 if ((lock = ipc_lookup(msq_svc, msqid, (kipc_perm_t **)&qp)) == NULL) { in msgsnd()
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c458 dumpmsgq(int msqid) in dumpmsgq() argument
475 if (msgsnap(msqid, buf, bufsize, mtype) != 0) { in dumpmsgq()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c795 msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in msgrcv() argument
800 PERFORM(__msgrcv(msqid, msgp, msgsz, msgtyp, msgflg)) in msgrcv()
804 msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg) in msgsnd() argument
809 PERFORM(__msgsnd(msqid, msgp, msgsz, msgflg)) in msgsnd()