Searched refs:rb_tree_node (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/gpu/drm/scheduler/ |
H A D | sched_main.c | 82 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()
|
H A D | sched_entity.c | 76 RB_CLEAR_NODE(&entity->rb_tree_node); in drm_sched_entity_init()
|
/openbmc/linux/include/drm/ |
H A D | gpu_scheduler.h | 239 struct rb_node rb_tree_node; member
|