Home
last modified time | relevance | path

Searched refs:prio_list (Results 1 – 7 of 7) sorted by relevance

/linux/lib/
A Dplist.c80 WARN_ON(!list_empty(&node->prio_list)); in plist_add()
94 iter = list_entry(iter->prio_list.next, in plist_add()
95 struct plist_node, prio_list); in plist_add()
99 list_add_tail(&node->prio_list, &iter->prio_list); in plist_add()
116 if (!list_empty(&node->prio_list)) { in plist_del()
124 if (list_empty(&next->prio_list)) in plist_del()
125 list_add(&next->prio_list, &node->prio_list); in plist_del()
127 list_del_init(&node->prio_list); in plist_del()
199 BUG_ON(!list_empty(&node_pos->prio_list)); in plist_test_check()
204 BUG_ON(prio_pos->prio_list.next != &node_pos->prio_list); in plist_test_check()
[all …]
A Dparman.c56 struct list_head prio_list; member
117 list_for_each_entry_from_reverse(prio, &parman->prio_list, list) { in parman_lsort_new_index_find()
196 list_for_each_entry_reverse(prio2, &parman->prio_list, list) { in parman_lsort_item_add()
212 list_for_each_entry_continue(prio, &parman->prio_list, list) in parman_lsort_item_remove()
274 INIT_LIST_HEAD(&parman->prio_list); in parman_create()
291 WARN_ON(!list_empty(&parman->prio_list)); in parman_destroy()
317 list_for_each(pos, &parman->prio_list) { in parman_prio_init()
/linux/net/sctp/
A Dstream_sched_prio.c54 list_for_each_entry(p, &stream->prio_list, prio_sched) { in sctp_sched_prio_get_head()
84 pos = p->next->prio_list.next; in sctp_sched_prio_next_stream()
94 if (!list_empty(&soute->prio_list)) { in sctp_sched_prio_unsched()
104 list_del_init(&soute->prio_list); in sctp_sched_prio_unsched()
125 if (!list_empty(&soute->prio_list)) in sctp_sched_prio_sched()
133 list_add(&soute->prio_list, prio_head->next->prio_list.prev); in sctp_sched_prio_sched()
137 list_add(&soute->prio_list, &prio_head->active); in sctp_sched_prio_sched()
147 list_add_tail(&prio_head->prio_sched, &stream->prio_list); in sctp_sched_prio_sched()
195 INIT_LIST_HEAD(&stream->prio_list); in sctp_sched_prio_init()
203 INIT_LIST_HEAD(&SCTP_SO(stream, sid)->ext->prio_list); in sctp_sched_prio_init_sid()
[all …]
/linux/drivers/bus/
A Dda8xx-mstpri.c207 const struct da8xx_mstpri_board_priorities *prio_list; in da8xx_mstpri_probe() local
223 prio_list = da8xx_mstpri_get_board_prio(); in da8xx_mstpri_probe()
224 if (!prio_list) { in da8xx_mstpri_probe()
229 for (i = 0; i < prio_list->numprio; i++) { in da8xx_mstpri_probe()
230 prio = &prio_list->priorities[i]; in da8xx_mstpri_probe()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dalloc.c214 struct list_head prio_list; member
269 list_for_each_entry(it, &zone_alloc->prios, prio_list) in mlx4_zone_add_one()
274 list_add_tail(&zone->prio_list, &it->prio_list); in mlx4_zone_add_one()
289 if (!list_empty(&entry->prio_list)) { in __mlx4_zone_remove_one_entry()
297 list_add_tail(&next->prio_list, &entry->prio_list); in __mlx4_zone_remove_one_entry()
300 list_del(&entry->prio_list); in __mlx4_zone_remove_one_entry()
309 list_for_each_entry(it, &zone_alloc->prios, prio_list) { in __mlx4_zone_remove_one_entry()
327 list_del(&zone->prio_list); in mlx4_zone_allocator_destroy()
393 if (list_is_last(&curr_node->prio_list, &zone_alloc->prios)) in __mlx4_alloc_from_zone()
396 curr_node = list_first_entry(&curr_node->prio_list, in __mlx4_alloc_from_zone()
[all …]
/linux/include/linux/
A Dplist.h88 struct list_head prio_list; member
116 .prio_list = LIST_HEAD_INIT((node).prio_list), \
138 INIT_LIST_HEAD(&node->prio_list); in plist_node_init()
/linux/include/net/sctp/
A Dstructs.h1422 struct list_head prio_list; member
1466 struct list_head prio_list; member

Completed in 27 milliseconds