Searched refs:msgmaps (Results 1 – 1 of 1) sorted by relevance
171 static struct msgmap *msgmaps; /* MSGSEG msgmap structures */ variable227 msgmaps = malloc(sizeof(struct msgmap) * msginfo.msgseg, M_MSG, M_WAITOK); in msginit()254 msgmaps[i-1].next = i; in msginit()255 msgmaps[i].next = -1; /* implies entry is available */ in msginit()347 free(msgmaps, M_MSG); in msgunload()393 next = msgmaps[msghdr->msg_spot].next; in msg_freehdr()394 msgmaps[msghdr->msg_spot].next = free_msgmaps; in msg_freehdr()986 free_msgmaps = msgmaps[next].next; in kern_msgsnd()988 msgmaps[next].next = msghdr->msg_spot; in kern_msgsnd()1035 next = msgmaps[next].next; in kern_msgsnd()[all …]