Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c45 struct rb_node **new = &gbo->res_tree.rb_node, *parent = NULL; in vmw_resource_mob_attach()
61 rb_insert_color(&res->mob_node, &gbo->res_tree); in vmw_resource_mob_attach()
77 rb_erase(&res->mob_node, &gbo->res_tree); in vmw_resource_mob_detach()
768 while (!RB_EMPTY_ROOT(&vbo->res_tree)) { in vmw_resource_unbind_list()
769 struct rb_node *node = vbo->res_tree.rb_node; in vmw_resource_unbind_list()
1103 struct rb_node *cur = vbo->res_tree.rb_node; in vmw_resources_clean()
Dvmwgfx_bo.c77 WARN_ON(!RB_EMPTY_ROOT(&vbo->res_tree)); in vmw_bo_free()
430 vmw_bo->res_tree = RB_ROOT; in vmw_bo_init()
866 struct rb_node *rb_itr = vbo->res_tree.rb_node; in vmw_bo_surface()
878 for (rb_itr = rb_first(&vbo->res_tree); rb_itr; in vmw_bo_surface()
Dvmwgfx_bo.h91 struct rb_root res_tree; member
/linux-6.12.1/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