Searched refs:msgmaps (Results 1 – 1 of 1) sorted by relevance
164 static struct msgmap *msgmaps; /* MSGSEG msgmap structures */ variable220 msgmaps = malloc(sizeof(struct msgmap) * msginfo.msgseg, M_MSG, M_WAITOK); in msginit()247 msgmaps[i-1].next = i; in msginit()248 msgmaps[i].next = -1; /* implies entry is available */ in msginit()340 free(msgmaps, M_MSG); in msgunload()388 next = msgmaps[msghdr->msg_spot].next;389 msgmaps[msghdr->msg_spot].next = free_msgmaps;971 free_msgmaps = msgmaps[next].next; in kern_msgsnd()973 msgmaps[next].next = msghdr->msg_spot; in kern_msgsnd()1020 next = msgmaps[next].next; in kern_msgsnd()[all …]