Searched refs:sort32 (Results 1 – 1 of 1) sorted by relevance
1224 uint32_t *sort32; in dladm_list2range() local1233 sort32 = malloc(nelem * sizeof (uint32_t)); in dladm_list2range()1234 if (sort32 == NULL) { in dladm_list2range()1241 sort32[i] = elem32[i]; in dladm_list2range()1243 qsort(sort32, nelem, sizeof (uint32_t), uint32cmp); in dladm_list2range()1247 ur->mpur_min = ur->mpur_max = sort32[0]; in dladm_list2range()1249 if (sort32[i]-sort32[i-1] == 1) { in dladm_list2range()1251 ur->mpur_max = sort32[i]; in dladm_list2range()1255 ur->mpur_min = ur->mpur_max = sort32[i]; in dladm_list2range()1258 free(sort32); in dladm_list2range()