Searched refs:dev_select (Results 1 - 8 of 8) sorted by relevance
/freebsd-10-stable/lib/libdevstat/ |
H A D | devstat.c | 495 * - device selection list (dev_select) 545 devstat_selectdevs(struct device_selection **dev_select, int *num_selected, argument 560 if ((dev_select == NULL) || (devices == NULL) || (numdevs < 0)) 564 * We always want to make sure that we have as many dev_select 570 if (*dev_select == NULL) { 571 *dev_select = (struct device_selection *)malloc(numdevs * 582 *dev_select = (struct device_selection *)reallocf(*dev_select, 596 if (*dev_select == NULL) { 598 "%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-10-stable/usr.bin/systat/ |
H A D | devs.c | 86 struct device_selection *dev_select; variable in typeref:struct:device_selection 127 dev_select = NULL; 134 if (devstat_selectdevs(&dev_select, &num_selected, &num_selections, 156 retval = devstat_selectdevs(&dev_select, &num_selected, 232 retval = devstat_selectdevs(&dev_select, &num_selected, 282 asprintf(&buffer, "%s%d", dev_select[i].device_name, 283 dev_select[i].unit_number); 310 retval = devstat_selectdevs(&dev_select, &num_selected,
|
H A D | iostat.c | 199 if (dev_select[i].selected) 214 if (dev_select[i].selected) { 220 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 221 dev_select[i].unit_number); 241 if (dev_select[i].selected) { 244 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 245 dev_select[i].unit_number); 276 if (dev_select[i].selected) { 289 if (dev_select[i].selected) { 312 di = dev_select[d [all...] |
H A D | extern.h | 61 extern struct device_selection *dev_select;
|
H A D | vmstat.c | 375 if (dev_select[i].selected) { 377 sprintf(tmpstr, "%s%d", dev_select[i].device_name, 378 dev_select[i].unit_number); 530 if (dev_select[i].selected) { 859 di = dev_select[dn].position;
|
/freebsd-10-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-10-stable/usr.bin/vmstat/ |
H A D | vmstat.c | 118 static struct device_selection *dev_select; variable in typeref:struct:device_selection 369 dev_select = NULL; 397 if (devstat_selectdevs(&dev_select, &num_selected, &num_selections, 744 retval = devstat_selectdevs(&dev_select, &num_selected, 846 if ((dev_select[i].selected) 847 && (dev_select[i].selected <= maxshowdevs)) 848 (void)printf("%c%c%d ", dev_select[i].device_name[0], 849 dev_select[i].device_name[1], 850 dev_select[i].unit_number); 1057 if ((dev_select[d [all...] |
Completed in 77 milliseconds