Lines Matching refs:user_msqid_ds
100 struct msqid_kernel *msqids; /* MSGMNI msqid_kernel structs (wrapping user_msqid_ds structs) */
154 msqid_ds_64to32(struct user_msqid_ds *in, struct msqid_ds *out)
173 msqid_ds_32to64(struct msqid_ds *in, struct user_msqid_ds *out)
243 sizeof(struct user_msqid_ds) * msginfo.msgmni,
348 struct user_msqid_ds msqbuf;
350 struct user_msqid_ds umsds;
460 eval = copyin(uap->buf, &msqbuf, sizeof(struct user_msqid_ds));
509 bcopy(msqptr, &umsds, sizeof(struct user_msqid_ds));
513 eval = copyout(&umsds, uap->buf, sizeof(struct user_msqid_ds));
592 printf("need to allocate the user_msqid_ds\n");
597 * Look for an unallocated and unlocked user_msqid_ds.
598 * user_msqid_ds's can be locked by msgsnd or msgrcv
609 printf("no more user_msqid_ds's available\n");
759 * If the user_msqid_ds is already locked, we need to sleep on
813 printf("we don't own the user_msqid_ds\n");
820 printf("we own the user_msqid_ds\n");
879 * Re-lock the user_msqid_ds in case we page-fault when copying in
883 panic("user_msqid_ds is already locked");
1001 * We've got the message. Unlock the user_msqid_ds.
1007 * Make sure that the user_msqid_ds is still allocated.
1422 size_t msqid_ds_sz = sizeof(struct user_msqid_ds);