Lines Matching refs:sl_id_map
156 struct rb_root *sl_id_map = &to_mdev(ibdev)->sriov.sl_id_map; in id_map_find_by_sl_id() local
157 struct rb_node *node = sl_id_map->rb_node; in id_map_find_by_sl_id()
184 struct rb_root *sl_id_map = &sriov->sl_id_map; in id_map_ent_timeout() local
191 rb_erase(&found_ent->node, sl_id_map); in id_map_ent_timeout()
201 struct rb_root *sl_id_map = &to_mdev(ibdev)->sriov.sl_id_map; in sl_id_map_add() local
202 struct rb_node **link = &sl_id_map->rb_node, *parent = NULL; in sl_id_map_add()
212 rb_replace_node(&ent->node, &new->node, sl_id_map); in sl_id_map_add()
228 rb_insert_color(&new->node, sl_id_map); in sl_id_map_add()
489 dev->sriov.sl_id_map = RB_ROOT; in mlx4_ib_cm_paravirt_init()
526 struct rb_root *sl_id_map = &sriov->sl_id_map; in mlx4_ib_cm_paravirt_clean() local
549 while (rb_first(sl_id_map)) { in mlx4_ib_cm_paravirt_clean()
551 rb_entry(rb_first(sl_id_map), in mlx4_ib_cm_paravirt_clean()
554 rb_erase(&ent->node, sl_id_map); in mlx4_ib_cm_paravirt_clean()
560 nd = rb_first(sl_id_map); in mlx4_ib_cm_paravirt_clean()
570 rb_erase(&map->node, sl_id_map); in mlx4_ib_cm_paravirt_clean()