Lines Matching refs:parman_prio
44 int (*item_add)(struct parman *parman, struct parman_prio *prio,
46 void (*item_remove)(struct parman *parman, struct parman_prio *prio,
87 static bool parman_prio_used(struct parman_prio *prio) in parman_prio_used()
92 static struct parman_item *parman_prio_first_item(struct parman_prio *prio) in parman_prio_first_item()
98 static unsigned long parman_prio_first_index(struct parman_prio *prio) in parman_prio_first_index()
103 static struct parman_item *parman_prio_last_item(struct parman_prio *prio) in parman_prio_last_item()
109 static unsigned long parman_prio_last_index(struct parman_prio *prio) in parman_prio_last_index()
115 struct parman_prio *prio) in parman_lsort_new_index_find()
125 static void __parman_prio_move(struct parman *parman, struct parman_prio *prio, in __parman_prio_move()
133 struct parman_prio *prio) in parman_prio_shift_down()
148 struct parman_prio *prio) in parman_prio_shift_up()
163 struct parman_prio *prio, in parman_prio_item_remove()
182 struct parman_prio *prio, in parman_lsort_item_add()
185 struct parman_prio *prio2; in parman_lsort_item_add()
208 struct parman_prio *prio, in parman_lsort_item_remove()
307 void parman_prio_init(struct parman *parman, struct parman_prio *prio, in parman_prio_init()
310 struct parman_prio *prio2; in parman_prio_init()
332 void parman_prio_fini(struct parman_prio *prio) in parman_prio_fini()
351 int parman_item_add(struct parman *parman, struct parman_prio *prio, in parman_item_add()
366 void parman_item_remove(struct parman *parman, struct parman_prio *prio, in parman_item_remove()