Searched refs:sorter (Results 1 – 2 of 2) sorted by relevance
208 int uds_make_radix_sorter(unsigned int count, struct radix_sorter **sorter) in uds_make_radix_sorter() argument221 *sorter = radix_sorter; in uds_make_radix_sorter()225 void uds_free_radix_sorter(struct radix_sorter *sorter) in uds_free_radix_sorter() argument227 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() argument238 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()[all …]
19 int __must_check uds_make_radix_sorter(unsigned int count, struct radix_sorter **sorter);21 void uds_free_radix_sorter(struct radix_sorter *sorter);23 int __must_check uds_radix_sort(struct radix_sorter *sorter, const unsigned char *keys[],