Searched refs:dev_select (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/usr.bin/systat/ |
H A D | devs.c | 84 struct device_selection *dev_select; variable in typeref:struct:device_selection 135 dev_select = NULL; 142 if (devstat_selectdevs(&dev_select, &num_selected, &num_selections, 182 retval = devstat_selectdevs(&dev_select, &num_selected, 263 retval = devstat_selectdevs(&dev_select, &num_selected, 318 asprintf(&buffer, "%s%d", dev_select[i].device_name, 319 dev_select[i].unit_number); 346 retval = devstat_selectdevs(&dev_select, &num_selected, 378 if (dev_select[i].selected) { 380 sprintf(tmpstr, "%s%d", dev_select[ [all...] |
H A D | iostat.c | 188 if (dev_select[i].selected) 203 if (dev_select[i].selected) { 209 snprintf(tmpstr, sizeof(tmpstr), "%s%d", dev_select[i].device_name, 210 dev_select[i].unit_number); 230 if (dev_select[i].selected) { 233 snprintf(tmpstr, sizeof(tmpstr), "%s%d", dev_select[i].device_name, 234 dev_select[i].unit_number); 265 if (dev_select[i].selected) { 278 if (dev_select[i].selected) { 301 di = dev_select[d [all...] |
H A D | extern.h | 65 extern struct device_selection *dev_select;
|
/freebsd-current/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 * 601 if (*dev_select == NULL) { 603 "%s: Cannot (re)allocate memory for dev_select argument", 642 bcopy(*dev_select, old_dev_select, 647 *dev_select [all...] |
H A D | devstat.h | 159 int devstat_selectdevs(struct device_selection **dev_select, int *num_selected,
|
/freebsd-current/usr.sbin/iostat/ |
H A D | iostat.c | 139 static struct device_selection *dev_select; variable in typeref:struct:device_selection 364 dev_select = NULL; 376 if (devstat_selectdevs(&dev_select, &num_selected, 531 retval = devstat_selectdevs(&dev_select, &num_selected, 568 retval = devstat_selectdevs(&dev_select, &num_selected, 737 if ((dev_select[i].selected != 0) 738 && (dev_select[i].selected <= maxshowdevs)) { 739 di = dev_select[i].position; 759 if ((dev_select[i].selected != 0) 760 && (dev_select[ [all...] |
/freebsd-current/usr.bin/vmstat/ |
H A D | vmstat.c | 90 static struct device_selection *dev_select; variable in typeref:struct:device_selection 429 dev_select = NULL; 456 if (devstat_selectdevs(&dev_select, &num_selected, &num_selections, 727 retval = devstat_selectdevs(&dev_select, &num_selected, 836 if ((dev_select[i].selected) && 837 (dev_select[i].selected <= maxshowdevs)) 838 xo_emit("{T:/%3.3s%d} ", dev_select[i].device_name, 839 dev_select[i].unit_number); 1078 if (dev_select[dn].selected == 0 || 1079 dev_select[d [all...] |
Completed in 128 milliseconds