Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dplist.c59 plist_check_list(&plist_first(head)->prio_list); in plist_check_head()
80 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()
[all …]
Dparman.c56 struct list_head prio_list; member
118 list_for_each_entry_from_reverse(prio, &parman->prio_list, list) { in parman_lsort_new_index_find()
197 list_for_each_entry_reverse(prio2, &parman->prio_list, list) { in parman_lsort_item_add()
213 list_for_each_entry_continue(prio, &parman->prio_list, list) in parman_lsort_item_remove()
275 INIT_LIST_HEAD(&parman->prio_list); in parman_create()
292 WARN_ON(!list_empty(&parman->prio_list)); in parman_destroy()
318 list_for_each(pos, &parman->prio_list) { in parman_prio_init()
/kernel/linux/linux-5.10/net/sctp/
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()
87 p->next = list_entry(pos, struct sctp_stream_out_ext, prio_list); 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()
140 list_for_each_entry(prio, &stream->prio_list, prio_sched) { in sctp_sched_prio_sched()
147 list_add_tail(&prio_head->prio_sched, &stream->prio_list); in sctp_sched_prio_sched()
[all …]
/kernel/linux/linux-5.10/drivers/bus/
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()
/kernel/linux/linux-5.10/include/linux/
Dplist.h85 struct list_head prio_list; member
113 .prio_list = LIST_HEAD_INIT((node).prio_list), \
135 INIT_LIST_HEAD(&node->prio_list); in plist_node_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c214 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 …]
/kernel/linux/linux-5.10/include/net/sctp/
Dstructs.h1406 struct list_head prio_list; member
1450 struct list_head prio_list; member