Lines Matching defs:segs_needed
690 int msqix, segs_needed, error = 0;
753 segs_needed = (msgsz + msginfo.msgssz - 1) / msginfo.msgssz;
754 DPRINTF(("msgsz=%zu, msgssz=%d, segs_needed=%d\n", msgsz,
755 msginfo.msgssz, segs_needed));
778 if (segs_needed > nfree_msgmaps) {
779 DPRINTF(("segs_needed > nfree_msgmaps\n"));
846 if (segs_needed > nfree_msgmaps)
847 panic("segs_needed > nfree_msgmaps");
884 while (segs_needed > 0) {
899 segs_needed--;