Home | History | Annotate | Download | only in src

Lines Matching refs:start

39 		int	start, end;
41 start = end = (int)strtol(s, &next, 0);
57 if (start < 0 || start >= CPU_SETSIZE) {
58 ERROR(0, "bad cpu number '%d' in cpu set", start);
67 if (end < start) {
68 ERROR(0, "bad range '%d-%d' in cpu set", start, end);
72 for (cpu = start; cpu <= end; ++cpu)
87 int start, int end)
91 if (start == end)
92 n = snprintf(buf, len, "%s%d", prefix, start);
94 n = snprintf(buf, len, "%s%d-%d", prefix, start, end);
113 int start = -1;
120 if (start < 0)
121 start = cpu;
123 } else if (start >= 0) {
125 if ((n = show_range(bufp, len, sep, start, end)) < 0)
130 start = end = -1;
134 if (start >= 0) {
136 if ((n = show_range(bufp, len, sep, start, end)) < 0)