Lines Matching defs:next
282 msgmaps[i-1].next = i;
283 msgmaps[i].next = -1; /* implies entry is available */
360 short next;
363 next = msgmaps[msghdr->msg_spot].next;
364 msgmaps[msghdr->msg_spot].next = free_msgmaps;
367 msghdr->msg_spot = next;
724 short next;
956 next = free_msgmaps;
957 if (next <= -1)
958 panic("next too low #1");
959 if (next >= msginfo.msgseg)
960 panic("next out of range #1");
962 printf("allocating segment %d to message\n", next);
964 free_msgmaps = msgmaps[next].next;
966 msgmaps[next].next = msghdr->msg_spot;
967 msghdr->msg_spot = next;
1018 next = msghdr->msg_spot;
1026 if (next <= -1)
1027 panic("next too low #2");
1028 if (next >= msginfo.msgseg)
1029 panic("next out of range #2");
1032 eval = copyin(user_msgp, &msgpool[next * msginfo.msgssz], tlen);
1047 next = msgmaps[next].next;
1049 if (next != -1)
1141 short next;
1418 next = msghdr->msg_spot;
1427 if (next <= -1)
1428 panic("next too low #3");
1429 if (next >= msginfo.msgseg)
1430 panic("next out of range #3");
1432 eval = copyout(&msgpool[next * msginfo.msgssz],
1445 next = msgmaps[next].next;