Lines Matching refs:device_selection

552 devstat_selectdevs(struct device_selection **dev_select, int *num_selected,  in devstat_selectdevs()
562 struct device_selection *old_dev_select = NULL; in devstat_selectdevs()
578 *dev_select = (struct device_selection *)malloc(numdevs * in devstat_selectdevs()
579 sizeof(struct device_selection)); in devstat_selectdevs()
589 *dev_select = (struct device_selection *)reallocf(*dev_select, in devstat_selectdevs()
590 numdevs * sizeof(struct device_selection)); in devstat_selectdevs()
635 old_dev_select = (struct device_selection *)malloc( in devstat_selectdevs()
636 *num_selections * sizeof(struct device_selection)); in devstat_selectdevs()
645 sizeof(struct device_selection) * *num_selections); in devstat_selectdevs()
649 bzero(*dev_select, sizeof(struct device_selection) * numdevs); in devstat_selectdevs()
862 sizeof(struct device_selection), in devstat_selectdevs()
1009 if ((((const struct device_selection *)arg1)->selected) in compare_select()
1010 && (((const struct device_selection *)arg2)->selected == 0)) in compare_select()
1012 else if ((((const struct device_selection *)arg1)->selected == 0) in compare_select()
1013 && (((const struct device_selection *)arg2)->selected)) in compare_select()
1015 else if (((const struct device_selection *)arg2)->bytes < in compare_select()
1016 ((const struct device_selection *)arg1)->bytes) 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()