Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c44 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()
Dvmwgfx_bo.h86 struct rb_root res_tree; member
Dvmwgfx_bo.c53 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/
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.h560 struct rb_root res_tree[MLX4_NUM_OF_RESOURCE_TYPE]; member