Searched refs:res_tree (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 44 struct rb_node **new = &gbo->res_tree.rb_node, *parent = NULL; in vmw_resource_mob_attach() 60 rb_insert_color(&res->mob_node, &gbo->res_tree); in vmw_resource_mob_attach() 75 rb_erase(&res->mob_node, &gbo->res_tree); in vmw_resource_mob_detach() 759 while (!RB_EMPTY_ROOT(&vbo->res_tree)) { in vmw_resource_unbind_list() 760 struct rb_node *node = vbo->res_tree.rb_node; in vmw_resource_unbind_list() 1078 struct rb_node *cur = vbo->res_tree.rb_node; in vmw_resources_clean()
|
D | vmwgfx_bo.h | 86 struct rb_root res_tree; member
|
D | vmwgfx_bo.c | 53 WARN_ON(!RB_EMPTY_ROOT(&vbo->res_tree)); in vmw_bo_free() 392 vmw_bo->res_tree = RB_ROOT; in vmw_bo_init()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 523 priv->mfunc.master.res_tracker.res_tree[i] = RB_ROOT; in mlx4_init_resource_tracker() 887 return res_tracker_lookup(&priv->mfunc.master.res_tracker.res_tree[type], in find_res() 1286 struct rb_root *root = &tracker->res_tree[type]; in add_res_range() 1476 r = res_tracker_lookup(&tracker->res_tree[type], i); in rem_res_range() 1491 r = res_tracker_lookup(&tracker->res_tree[type], i); in rem_res_range() 1492 rb_erase(&r->node, &tracker->res_tree[type]); in rem_res_range() 1514 r = res_tracker_lookup(&tracker->res_tree[RES_QP], qpn); in qp_res_start_move_to() 1578 r = res_tracker_lookup(&tracker->res_tree[RES_MPT], index); in mr_res_start_move_to() 1631 r = res_tracker_lookup(&tracker->res_tree[RES_EQ], index); in eq_res_start_move_to() 1680 r = res_tracker_lookup(&tracker->res_tree[RES_CQ], cqn); in cq_res_start_move_to() [all …]
|
D | mlx4.h | 560 struct rb_root res_tree[MLX4_NUM_OF_RESOURCE_TYPE]; member
|