Searched refs:prio_list (Results 1 – 8 of 8) sorted by relevance
/linux/lib/ |
H A D | plist.c | 59 plist_check_list(&plist_first(head)->prio_list); in plist_check_head() 80 WARN_ON(!list_empty(&node->prio_list)); in plist_add() 86 last = reverse_iter = list_entry(first->prio_list.prev, struct plist_node, prio_list); in plist_add() 94 iter = list_entry(reverse_iter->prio_list.next, in plist_add() 95 struct plist_node, prio_list); in plist_add() 102 iter = list_entry(iter->prio_list.next, in plist_add() 103 struct plist_node, prio_list); in plist_add() 104 reverse_iter = list_entry(reverse_iter->prio_list.prev, in plist_add() 105 struct plist_node, prio_list); in plist_add() 109 list_add_tail(&node->prio_list, &iter->prio_list); in plist_add() [all …]
|
H A D | parman.c | 56 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/ |
H A D | stream_sched_prio.c | 67 list_for_each_entry(p, &stream->prio_list, prio_sched) { in sctp_sched_prio_get_head() 97 pos = p->next->prio_list.next; in sctp_sched_prio_next_stream() 100 p->next = list_entry(pos, struct sctp_stream_out_ext, prio_list); in sctp_sched_prio_next_stream() 107 if (!list_empty(&soute->prio_list)) { in sctp_sched_prio_unsched() 117 list_del_init(&soute->prio_list); in sctp_sched_prio_unsched() 138 if (!list_empty(&soute->prio_list)) in sctp_sched_prio_sched() 146 list_add(&soute->prio_list, prio_head->next->prio_list.prev); in sctp_sched_prio_sched() 150 list_add(&soute->prio_list, &prio_head->active); in sctp_sched_prio_sched() 153 list_for_each_entry(prio, &stream->prio_list, prio_sched) { in sctp_sched_prio_sched() 160 list_add_tail(&prio_head->prio_sched, &stream->prio_list); in sctp_sched_prio_sched() [all …]
|
/linux/drivers/bus/ |
H A D | da8xx-mstpri.c | 207 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/ |
H A D | alloc.c | 214 struct list_head prio_list; member 269 list_for_each_entry(it, &zone_alloc->prios, prio_list) in mlx4_zone_add_one() 273 if (&it->prio_list == &zone_alloc->prios || it->priority > priority) 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() 353 list_for_each_entry(curr_node, &zone_alloc->prios, prio_list) { in __mlx4_alloc_from_zone() [all …]
|
/linux/include/linux/ |
H A D | plist.h | 106 .prio_list = LIST_HEAD_INIT((node).prio_list), \ 128 INIT_LIST_HEAD(&node->prio_list); in plist_node_init()
|
H A D | plist_types.h | 13 struct list_head prio_list; member
|
/linux/include/net/sctp/ |
H A D | structs.h | 1420 struct list_head prio_list; member 1469 struct list_head prio_list; member
|