Searched refs:dev_select (Results 1 - 7 of 7) sorted by relevance
/freebsd-11-stable/usr.bin/systat/ |
H A D | devs.c | 88 struct device_selection *dev_select; variable in typeref:struct:device_selection 139 dev_select = NULL; 146 if (devstat_selectdevs(&dev_select, &num_selected, &num_selections, 186 retval = devstat_selectdevs(&dev_select, &num_selected, 262 retval = devstat_selectdevs(&dev_select, &num_selected, 312 asprintf(&buffer, "%s%d", dev_select[i].device_name, 313 dev_select[i].unit_number); 340 retval = devstat_selectdevs(&dev_select, &num_selected, 372 if (dev_select[i].selected) { 374 sprintf(tmpstr, "%s%d", dev_select[ [all...] |
H A D | iostat.c | 191 if (dev_select[i].selected) 206 if (dev_select[i].selected) { 212 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 213 dev_select[i].unit_number); 233 if (dev_select[i].selected) { 236 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 237 dev_select[i].unit_number); 268 if (dev_select[i].selected) { 281 if (dev_select[i].selected) { 304 di = dev_select[d [all...] |
H A D | extern.h | 61 extern struct device_selection *dev_select;
|
/freebsd-11-stable/lib/libdevstat/ |
H A D | devstat.c | 500 * - device selection list (dev_select) 550 devstat_selectdevs(struct device_selection **dev_select, int *num_selected, argument 565 if ((dev_select == NULL) || (devices == NULL) || (numdevs < 0)) 569 * We always want to make sure that we have as many dev_select 575 if (*dev_select == NULL) { 576 *dev_select = (struct device_selection *)malloc(numdevs * 587 *dev_select = (struct device_selection *)reallocf(*dev_select, 601 if (*dev_select == NULL) { 603 "%s: Cannot (re)allocate memory for dev_select argumen [all...] |
H A D | devstat.h | 159 int devstat_selectdevs(struct device_selection **dev_select, int *num_selected,
|
/freebsd-11-stable/usr.sbin/iostat/ |
H A D | iostat.c | 139 static struct device_selection *dev_select; variable in typeref:struct:device_selection 366 dev_select = NULL; 378 if (devstat_selectdevs(&dev_select, &num_selected, 533 retval = devstat_selectdevs(&dev_select, &num_selected, 570 retval = devstat_selectdevs(&dev_select, &num_selected, 739 if ((dev_select[i].selected != 0) 740 && (dev_select[i].selected <= maxshowdevs)) { 741 di = dev_select[i].position; 761 if ((dev_select[i].selected != 0) 762 && (dev_select[ [all...] |
/freebsd-11-stable/usr.bin/vmstat/ |
H A D | vmstat.c | 102 static struct device_selection *dev_select; variable in typeref:struct:device_selection 383 dev_select = NULL; 410 if (devstat_selectdevs(&dev_select, &num_selected, &num_selections, 749 retval = devstat_selectdevs(&dev_select, &num_selected, 881 if ((dev_select[i].selected) && 882 (dev_select[i].selected <= maxshowdevs)) 883 xo_emit("{T:/%c%c%d} ", dev_select[i].device_name[0], 884 dev_select[i].device_name[1], 885 dev_select[i].unit_number); 1122 if (dev_select[d [all...] |
Completed in 140 milliseconds