Lines Matching refs:msqid_ds
83 kmsq_t *msqs; /* MSGMNI msqid_ds struct's */
255 struct msqid_ds *mptr;
304 struct msqid_ds *nmptr, *mptr;
316 memcpy(nmptr, mptr, sizeof(struct msqid_ds));
451 syscallarg(struct msqid_ds *) buf;
453 struct msqid_ds msqbuf;
474 msgctl1(struct lwp *l, int msqid, int cmd, struct msqid_ds *msqbuf)
477 struct msqid_ds *msqptr;
604 struct msqid_ds *msqptr = NULL;
636 MSG_PRINTF(("need to allocate the msqid_ds\n"));
640 * Look for an unallocated and unlocked msqid_ds.
641 * msqid_ds's can be locked by msgsnd or msgrcv while
652 MSG_PRINTF(("no more msqid_ds's available\n"));
710 struct msqid_ds *msqptr;
800 MSG_PRINTF(("we don't own the msqid_ds\n"));
805 MSG_PRINTF(("we own the msqid_ds\n"));
862 * Re-lock the msqid_ds in case we page-fault when copying in the
956 * We've got the message. Unlock the msqid_ds.
962 * Make sure that the msqid_ds is still allocated.
1019 struct msqid_ds *msqptr;