Home
last modified time | relevance | path

Searched refs:workstream_array (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.bin/netstat/
H A Dnetisr.c68 static struct sysctl_netisr_workstream *workstream_array; variable
299 workstream_array = calloc(numthreads, sizeof(*workstream_array)); in netisr_load_kvm_workstream()
300 if (workstream_array == NULL) in netisr_load_kvm_workstream()
312 snwsp = &workstream_array[wsid]; in netisr_load_kvm_workstream()
352 if (len % sizeof(*workstream_array) != 0) in netisr_load_sysctl_workstream()
354 workstream_array = malloc(len); in netisr_load_sysctl_workstream()
355 if (workstream_array == NULL) in netisr_load_sysctl_workstream()
357 if (sysctlbyname("net.isr.workstream", workstream_array, &len, NULL, in netisr_load_sysctl_workstream()
360 if (len % sizeof(*workstream_array) != 0) in netisr_load_sysctl_workstream()
362 workstream_array_len = len / sizeof(*workstream_array); in netisr_load_sysctl_workstream()
[all …]