Home
last modified time | relevance | path

Searched refs:res_tree (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c43 struct rb_node **new = &backup->res_tree.rb_node, *parent = NULL; in vmw_resource_mob_attach()
59 rb_insert_color(&res->mob_node, &backup->res_tree); in vmw_resource_mob_attach()
74 rb_erase(&res->mob_node, &backup->res_tree); in vmw_resource_mob_detach()
751 while (!RB_EMPTY_ROOT(&vbo->res_tree)) { in vmw_resource_unbind_list()
752 struct rb_node *node = vbo->res_tree.rb_node; in vmw_resource_unbind_list()
1068 struct rb_node *cur = vbo->res_tree.rb_node; in vmw_resources_clean()
Dvmwgfx_bo.c390 WARN_ON(!RB_EMPTY_ROOT(&vmw_bo->res_tree)); in vmw_bo_bo_free()
512 vmw_bo->res_tree = RB_ROOT; in vmw_bo_init()
Dvmwgfx_gem.c130 WARN_ON(!RB_EMPTY_ROOT(&vbo->res_tree)); in vmw_gem_destroy()
Dvmwgfx_drv.h125 struct rb_root res_tree; member
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c523 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 …]
Dmlx4.h558 struct rb_root res_tree[MLX4_NUM_OF_RESOURCE_TYPE]; member