Home
last modified time | relevance | path

Searched refs:rb_tree_node (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/scheduler/
Dsched_main.c82 struct drm_sched_entity *ent_a = rb_entry((a), struct drm_sched_entity, rb_tree_node); in drm_sched_entity_compare_before()
83 struct drm_sched_entity *ent_b = rb_entry((b), struct drm_sched_entity, rb_tree_node); in drm_sched_entity_compare_before()
92 if (!RB_EMPTY_NODE(&entity->rb_tree_node)) { in drm_sched_rq_remove_fifo_locked()
93 rb_erase_cached(&entity->rb_tree_node, &rq->rb_tree_root); in drm_sched_rq_remove_fifo_locked()
94 RB_CLEAR_NODE(&entity->rb_tree_node); in drm_sched_rq_remove_fifo_locked()
112 rb_add_cached(&entity->rb_tree_node, &entity->rq->rb_tree_root, in drm_sched_rq_update_fifo()
247 entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); in drm_sched_rq_select_entity_fifo()
256 return rb ? rb_entry(rb, struct drm_sched_entity, rb_tree_node) : NULL; in drm_sched_rq_select_entity_fifo()
Dsched_entity.c76 RB_CLEAR_NODE(&entity->rb_tree_node); in drm_sched_entity_init()
/Linux-v6.6/include/drm/
Dgpu_scheduler.h239 struct rb_node rb_tree_node; member