Lines Matching refs:msgmaps
98 struct msgmap *msgmaps; /* MSGSEG msgmap structures */
226 MALLOC(msgmaps, struct msgmap *,
229 if (msgmaps == NULL) {
230 printf("msginit: can't allocate msgmaps");
251 /* init msgmaps */
254 msgmaps[i-1].next = i;
255 msgmaps[i].next = -1; /* implies entry is available */
288 if (msgmaps != NULL)
289 FREE(msgmaps, M_SHM);
317 next = msgmaps[msghdr->msg_spot].next;
318 msgmaps[msghdr->msg_spot].next = free_msgmaps;
903 panic("not enough msgmaps");
914 free_msgmaps = msgmaps[next].next;
916 msgmaps[next].next = msghdr->msg_spot;
995 next = msgmaps[next].next;
1393 next = msgmaps[next].next;