Lines Matching refs:device_selection

550 devstat_selectdevs(struct device_selection **dev_select, int *num_selected,  in devstat_selectdevs()
560 struct device_selection *old_dev_select = NULL; in devstat_selectdevs()
576 *dev_select = (struct device_selection *)malloc(numdevs * in devstat_selectdevs()
577 sizeof(struct device_selection)); in devstat_selectdevs()
633 old_dev_select = (struct device_selection *)malloc( in devstat_selectdevs()
634 *num_selections * sizeof(struct device_selection)); in devstat_selectdevs()
643 sizeof(struct device_selection) * *num_selections); in devstat_selectdevs()
647 *dev_select = (struct device_selection *)reallocf(*dev_select, in devstat_selectdevs()
648 numdevs * sizeof(struct device_selection)); in devstat_selectdevs()
652 bzero(*dev_select, sizeof(struct device_selection) * numdevs); in devstat_selectdevs()
865 sizeof(struct device_selection), in devstat_selectdevs()
1012 if ((((const struct device_selection *)arg1)->selected) in compare_select()
1013 && (((const struct device_selection *)arg2)->selected == 0)) in compare_select()
1015 else if ((((const struct device_selection *)arg1)->selected == 0) in compare_select()
1016 && (((const struct device_selection *)arg2)->selected)) in compare_select()
1018 else if (((const struct device_selection *)arg2)->bytes < in compare_select()
1019 ((const struct device_selection *)arg1)->bytes) in compare_select()
1021 else if (((const struct device_selection *)arg2)->bytes > in compare_select()
1022 ((const struct device_selection *)arg1)->bytes) in compare_select()