Home
last modified time | relevance | path

Searched refs:sorter (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dradix-sort.c208 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()
[all …]
Dradix-sort.h19 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[],