Lines Matching defs:msgmaps
98 struct msgmap *msgmaps; /* MSGSEG msgmap structures */
254 MALLOC(msgmaps, struct msgmap *,
257 if (msgmaps == NULL) {
258 printf("msginit: can't allocate msgmaps");
279 /* init msgmaps */
282 msgmaps[i-1].next = i;
283 msgmaps[i].next = -1; /* implies entry is available */
316 if (msgmaps != NULL)
317 FREE(msgmaps, M_SHM);
363 next = msgmaps[msghdr->msg_spot].next;
364 msgmaps[msghdr->msg_spot].next = free_msgmaps;
953 panic("not enough msgmaps");
964 free_msgmaps = msgmaps[next].next;
966 msgmaps[next].next = msghdr->msg_spot;
1047 next = msgmaps[next].next;
1445 next = msgmaps[next].next;