Searched refs:rb_tree_node (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 156 struct drm_sched_entity *ent_a = rb_entry((a), struct drm_sched_entity, rb_tree_node); in drm_sched_entity_compare_before() 157 struct drm_sched_entity *ent_b = rb_entry((b), struct drm_sched_entity, rb_tree_node); in drm_sched_entity_compare_before() 165 if (!RB_EMPTY_NODE(&entity->rb_tree_node)) { in drm_sched_rq_remove_fifo_locked() 166 rb_erase_cached(&entity->rb_tree_node, &rq->rb_tree_root); in drm_sched_rq_remove_fifo_locked() 167 RB_CLEAR_NODE(&entity->rb_tree_node); in drm_sched_rq_remove_fifo_locked() 187 rb_add_cached(&entity->rb_tree_node, &rq->rb_tree_root, in drm_sched_rq_update_fifo_locked() 347 entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); in drm_sched_rq_select_entity_fifo() 363 return rb ? rb_entry(rb, struct drm_sched_entity, rb_tree_node) : NULL; in drm_sched_rq_select_entity_fifo()
|
/linux/include/drm/ |
H A D | gpu_scheduler.h | 240 struct rb_node rb_tree_node; member
|