Searched refs:msgmaps (Results 1 – 1 of 1) sorted by relevance
154 static struct msgmap *msgmaps; /* MSGSEG msgmap structures */ variable201 msgmaps = malloc(sizeof(struct msgmap) * msginfo.msgseg, M_MSG, M_WAITOK); in msginit()228 msgmaps[i-1].next = i; in msginit()229 msgmaps[i].next = -1; /* implies entry is available */ in msginit()302 free(msgmaps, M_MSG); in msgunload()350 next = msgmaps[msghdr->msg_spot].next;351 msgmaps[msghdr->msg_spot].next = free_msgmaps;889 free_msgmaps = msgmaps[next].next;891 msgmaps[next].next = msghdr->msg_spot;938 next = msgmaps[next].next;[all …]