Lines Matching refs:sorter
208 int uds_make_radix_sorter(unsigned int count, struct radix_sorter **sorter) in uds_make_radix_sorter() argument
221 *sorter = radix_sorter; in uds_make_radix_sorter()
225 void uds_free_radix_sorter(struct radix_sorter *sorter) in uds_free_radix_sorter() argument
227 vdo_free(sorter); in uds_free_radix_sorter()
234 int uds_radix_sort(struct radix_sorter *sorter, const unsigned char *keys[], in uds_radix_sort() argument
238 struct histogram *bins = &sorter->bins; in uds_radix_sort()
239 sort_key_t **pile = sorter->pile; in uds_radix_sort()
240 struct task *task_stack = sorter->stack; in uds_radix_sort()
259 if (count > sorter->count) in uds_radix_sort()
268 for (*task_stack = start; task_stack >= sorter->stack; task_stack--) { in uds_radix_sort()
281 insertion_task_list = sorter->insertion_list; in uds_radix_sort()
282 result = push_bins(&task_stack, sorter->end_of_stack, in uds_radix_sort()
325 while (--insertion_task_list >= sorter->insertion_list) in uds_radix_sort()