mcg_table 165 drivers/infiniband/hw/mlx4/mcg.c struct rb_node *node = ctx->mcg_table.rb_node; mcg_table 186 drivers/infiniband/hw/mlx4/mcg.c struct rb_node **link = &ctx->mcg_table.rb_node; mcg_table 205 drivers/infiniband/hw/mlx4/mcg.c rb_insert_color(&group->node, &ctx->mcg_table); mcg_table 461 drivers/infiniband/hw/mlx4/mcg.c rb_erase(&group->node, &ctx->mcg_table); mcg_table 1053 drivers/infiniband/hw/mlx4/mcg.c ctx->mcg_table = RB_ROOT; mcg_table 1069 drivers/infiniband/hw/mlx4/mcg.c rb_erase(&group->node, &group->demux->mcg_table); mcg_table 1088 drivers/infiniband/hw/mlx4/mcg.c for (p = rb_first(&ctx->mcg_table); p; p = rb_next(p)) mcg_table 1102 drivers/infiniband/hw/mlx4/mcg.c while ((p = rb_first(&ctx->mcg_table)) != NULL) { mcg_table 1231 drivers/infiniband/hw/mlx4/mcg.c for (p = rb_first(&ctx->mcg_table); p; p = rb_next(p)) { mcg_table 476 drivers/infiniband/hw/mlx4/mlx4_ib.h struct rb_root mcg_table; mcg_table 347 drivers/infiniband/hw/mthca/mthca_dev.h struct mthca_mcg_table mcg_table; mcg_table 507 drivers/infiniband/hw/mthca/mthca_main.c mdev->mcg_table.table = mthca_alloc_icm_table(mdev, init_hca->mc_base, mcg_table 514 drivers/infiniband/hw/mthca/mthca_main.c if (!mdev->mcg_table.table) { mcg_table 559 drivers/infiniband/hw/mthca/mthca_main.c mthca_free_icm_table(mdev, mdev->mcg_table.table); mcg_table 136 drivers/infiniband/hw/mthca/mthca_mcg.c mutex_lock(&dev->mcg_table.mutex); mcg_table 148 drivers/infiniband/hw/mthca/mthca_mcg.c index = mthca_alloc(&dev->mcg_table.alloc); mcg_table 206 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_free(&dev->mcg_table.alloc, index); mcg_table 208 drivers/infiniband/hw/mthca/mthca_mcg.c mutex_unlock(&dev->mcg_table.mutex); mcg_table 229 drivers/infiniband/hw/mthca/mthca_mcg.c mutex_lock(&dev->mcg_table.mutex); mcg_table 286 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_free(&dev->mcg_table.alloc, amgm_index_to_free); mcg_table 305 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_free(&dev->mcg_table.alloc, index); mcg_table 309 drivers/infiniband/hw/mthca/mthca_mcg.c mutex_unlock(&dev->mcg_table.mutex); mcg_table 320 drivers/infiniband/hw/mthca/mthca_mcg.c err = mthca_alloc_init(&dev->mcg_table.alloc, mcg_table 327 drivers/infiniband/hw/mthca/mthca_mcg.c mutex_init(&dev->mcg_table.mutex); mcg_table 334 drivers/infiniband/hw/mthca/mthca_mcg.c mthca_alloc_cleanup(&dev->mcg_table.alloc); mcg_table 1790 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_init_icm_table(dev, &priv->mcg_table.table, mcg_table 1849 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_cleanup_icm_table(dev, &priv->mcg_table.table); mcg_table 439 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_lock(&priv->mcg_table.mutex); mcg_table 534 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_unlock(&priv->mcg_table.mutex); mcg_table 544 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_unlock(&priv->mcg_table.mutex); mcg_table 568 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_lock(&priv->mcg_table.mutex); mcg_table 675 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_unlock(&priv->mcg_table.mutex); mcg_table 1124 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_lock(&priv->mcg_table.mutex); mcg_table 1138 drivers/net/ethernet/mellanox/mlx4/mcg.c index = mlx4_bitmap_alloc(&priv->mcg_table.bitmap); mcg_table 1205 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_bitmap_free(&priv->mcg_table.bitmap, mcg_table 1208 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_unlock(&priv->mcg_table.mutex); mcg_table 1232 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_lock(&priv->mcg_table.mutex); mcg_table 1301 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_bitmap_free(&priv->mcg_table.bitmap, mcg_table 1321 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_bitmap_free(&priv->mcg_table.bitmap, mcg_table 1326 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_unlock(&priv->mcg_table.mutex); mcg_table 1634 drivers/net/ethernet/mellanox/mlx4/mcg.c err = mlx4_bitmap_init(&priv->mcg_table.bitmap, dev->caps.num_amgms, mcg_table 1639 drivers/net/ethernet/mellanox/mlx4/mcg.c mutex_init(&priv->mcg_table.mutex); mcg_table 1648 drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_bitmap_cleanup(&mlx4_priv(dev)->mcg_table.bitmap); mcg_table 899 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_mcg_table mcg_table;