Searched refs:msgmaps (Results 1 – 1 of 1) sorted by relevance
168 static struct msgmap *msgmaps; /* MSGSEG msgmap structures */ variable224 msgmaps = malloc(sizeof(struct msgmap) * msginfo.msgseg, M_MSG, M_WAITOK); in msginit()251 msgmaps[i-1].next = i; in msginit()252 msgmaps[i].next = -1; /* implies entry is available */ in msginit()344 free(msgmaps, M_MSG); in msgunload()390 next = msgmaps[msghdr->msg_spot].next; in msg_freehdr()391 msgmaps[msghdr->msg_spot].next = free_msgmaps; in msg_freehdr()983 free_msgmaps = msgmaps[next].next; in kern_msgsnd()985 msgmaps[next].next = msghdr->msg_spot; in kern_msgsnd()1032 next = msgmaps[next].next; in kern_msgsnd()[all …]