Lines Matching refs:msqids
100 struct msqid_kernel *msqids; /* MSGMNI msqid_kernel structs (wrapping user_msqid_ds structs) */
270 MALLOC(msqids, struct msqid_kernel *,
273 if (msqids == NULL) {
274 printf("msginit: can't allocate msqids");
301 /* init msqids */
303 msqids[i].u.msg_qbytes = 0; /* implies entry is available */
304 msqids[i].u.msg_perm._seq = 0; /* reset to a known value */
305 msqids[i].u.msg_perm.mode = 0;
307 mac_sysvmsq_label_init(&msqids[i]);
320 if (msqids != NULL)
321 FREE(msqids, M_SHM);
421 msqptr = &msqids[msqid];
609 msqptr = &msqids[msqid];
652 msqptr = &msqids[msqid];
752 msqptr = &msqids[msqid];
1169 msqptr = &msqids[msqid];
1533 if (msqids[cursor].u.msg_qbytes != 0) /* allocated */
1542 msqid_dsp = &msqids[cursor]; /* default: 64 bit */