Home
last modified time | relevance | path

Searched refs:swap_func (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/lib/
H A Dsort.c193 swap_r_func_t swap_func, in __sort_r() argument
207 swap_func = NULL; in __sort_r()
209 if (!swap_func) { in __sort_r()
211 swap_func = SWAP_WORDS_64; in __sort_r()
213 swap_func = SWAP_WORDS_32; in __sort_r()
215 swap_func = SWAP_BYTES; in __sort_r()
305 swap_r_func_t swap_func, in sort_r() argument
335 swap_func_t swap_func) in sort() argument
339 .swap = swap_func, in sort()
348 swap_func_t swap_func) in sort_nonatomic() argument
[all …]
/linux-6.15/fs/bcachefs/
H A Deytzinger.c118 swap_func_t swap_func; member
132 if (swap_func == SWAP_WORDS_64) in do_swap()
166 size, swap_func, priv); in eytzinger1_do_swap()
177 if (swap_func == SWAP_WRAPPER && !((struct wrapper *)priv)->swap_func) in eytzinger1_sort_r()
178 swap_func = NULL; in eytzinger1_sort_r()
180 if (!swap_func) { in eytzinger1_sort_r()
182 swap_func = SWAP_WORDS_64; in eytzinger1_sort_r()
184 swap_func = SWAP_WORDS_32; in eytzinger1_sort_r()
186 swap_func = SWAP_BYTES; in eytzinger1_sort_r()
246 swap_func_t swap_func) in eytzinger0_sort() argument
[all …]
/linux-6.15/include/linux/
H A Dsort.h9 swap_r_func_t swap_func,
14 swap_func_t swap_func);
20 swap_r_func_t swap_func,
25 swap_func_t swap_func);
H A Dmin_heap.h180 void do_swap(void *a, void *b, size_t size, void (*swap_func)(void *lhs, void *rhs, void *args), in do_swap()
183 if (swap_func == SWAP_WORDS_64) in do_swap()
185 else if (swap_func == SWAP_WORDS_32) in do_swap()
187 else if (swap_func == SWAP_BYTES) in do_swap()
190 swap_func(a, b, priv); in do_swap()