Lines Matching defs:workstream_array
69 static struct sysctl_netisr_workstream *workstream_array;
300 workstream_array = calloc(numthreads, sizeof(*workstream_array));
301 if (workstream_array == NULL)
313 snwsp = &workstream_array[wsid];
353 if (len % sizeof(*workstream_array) != 0)
355 workstream_array = malloc(len);
356 if (workstream_array == NULL)
358 if (sysctlbyname("net.isr.workstream", workstream_array, &len, NULL,
361 if (len % sizeof(*workstream_array) != 0)
363 workstream_array_len = len / sizeof(*workstream_array);
366 if (workstream_array[0].snws_version != sizeof(workstream_array[0]))
501 snwsp = &workstream_array[i];