Lines Matching defs:next
156 sysctlgetnext(int *oid, int nlen, int *next, size_t *nextlen)
167 if (sysctl(mib, nlen + 2, next, nextlen, 0, 0) == -1)
250 int i, root[5], *next, *oid;
280 /* Find the size of the next mib. */
286 /* Alocate and read the next mib. */
287 next = (int *)malloc(nextlen);
288 if (next == NULL) {
295 if (sysctlgetnext(oid, len, next, &nextlen) == -1) {
297 free(next);
301 /* Check if we care about the next mib. */
303 if (next[i] != root[i]) {
304 free(next);
312 free(next);
315 memcpy(oid, next, nextlen);
316 free(next);