Home
last modified time | relevance | path

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

/lib/
Dparman.c127 struct parman_item *item, unsigned long to_index, in __parman_prio_move() argument
130 parman->ops->move(parman->priv, item->index, to_index, count); in __parman_prio_move()
137 unsigned long to_index; in parman_prio_shift_down() local
142 to_index = parman_prio_last_index(prio) + 1; in parman_prio_shift_down()
143 __parman_prio_move(parman, prio, item, to_index, 1); in parman_prio_shift_down()
145 item->index = to_index; in parman_prio_shift_down()
152 unsigned long to_index; in parman_prio_shift_up() local
157 to_index = parman_prio_first_index(prio) - 1; in parman_prio_shift_up()
158 __parman_prio_move(parman, prio, item, to_index, 1); in parman_prio_shift_up()
160 item->index = to_index; in parman_prio_shift_up()
[all …]
Dtest_parman.c114 unsigned long to_index, unsigned long count) in test_parman_move() argument
119 memmove(&prio_array[to_index], &prio_array[from_index], in test_parman_move()