Lines Matching refs:msgmaps
102 struct msgmap *msgmaps; /* MSGSEG msgmap structures */ variable
243 msgmaps = kalloc_data(sizeof(struct msgmap) * msginfo.msgseg, Z_WAITOK); in msginit()
244 if (msgmaps == NULL) { in msginit()
265 msgmaps[i - 1].next = i; in msginit()
267 msgmaps[i].next = -1; /* implies entry is available */ in msginit()
300 kfree_data(msgmaps, sizeof(struct msgmap) * msginfo.msgseg); in msginit()
346 next = msgmaps[msghdr->msg_spot].next; in msg_freehdr()
347 msgmaps[msghdr->msg_spot].next = free_msgmaps; in msg_freehdr()
969 free_msgmaps = msgmaps[next].next; in msgsnd_nocancel()
971 msgmaps[next].next = msghdr->msg_spot; in msgsnd_nocancel()
1055 next = msgmaps[next].next; in msgsnd_nocancel()
1464 next = msgmaps[next].next; in msgrcv_nocancel()