Searched refs:kstat_instance_t (Results 1 – 1 of 1) sorted by relevance
60 } kstat_instance_t; typedef104 kstat_instance_t *l = *((kstat_instance_t **)lhs); in kstat_instances_compare()105 kstat_instance_t *r = *((kstat_instance_t **)rhs); in kstat_instances_compare()121 kstat_instances_update(kstat_ctl_t *kcp, kstat_instance_t **head, in kstat_instances_update()125 kstat_instance_t **sorted, *ksi, *next; in kstat_instances_update()139 kstat_instance_t *last = NULL; in kstat_instances_update()166 if ((ksi = malloc(sizeof (kstat_instance_t))) == NULL) in kstat_instances_update()169 bzero(ksi, sizeof (kstat_instance_t)); in kstat_instances_update()190 sorted = (void *)alloca(ninstances * sizeof (kstat_instance_t *)); in kstat_instances_update()208 qsort(sorted, ninstances, sizeof (kstat_instance_t *), in kstat_instances_update()[all …]