srq_table 100 drivers/infiniband/hw/cxgb4/iw_cxgb4.h struct c4iw_id_table srq_table; srq_table 72 drivers/infiniband/hw/cxgb4/resource.c err = c4iw_id_table_alloc(&rdev->resource.srq_table, 0, srq_table 75 drivers/infiniband/hw/cxgb4/resource.c err = c4iw_id_table_alloc(&rdev->resource.srq_table, 0, srq_table 431 drivers/infiniband/hw/cxgb4/resource.c idx = c4iw_id_alloc(&rdev->resource.srq_table); srq_table 447 drivers/infiniband/hw/cxgb4/resource.c c4iw_id_free(&rdev->resource.srq_table, idx); srq_table 1030 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_srq_table srq_table; srq_table 1095 drivers/infiniband/hw/hns/hns_roce_hem.c &hr_dev->srq_table.table); srq_table 655 drivers/infiniband/hw/hns/hns_roce_main.c ret = hns_roce_init_hem_table(hr_dev, &hr_dev->srq_table.table, srq_table 755 drivers/infiniband/hw/hns/hns_roce_main.c hns_roce_cleanup_hem_table(hr_dev, &hr_dev->srq_table.table); srq_table 14 drivers/infiniband/hw/hns/hns_roce_srq.c struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; srq_table 17 drivers/infiniband/hw/hns/hns_roce_srq.c xa_lock(&srq_table->xa); srq_table 18 drivers/infiniband/hw/hns/hns_roce_srq.c srq = xa_load(&srq_table->xa, srqn & (hr_dev->caps.num_srqs - 1)); srq_table 21 drivers/infiniband/hw/hns/hns_roce_srq.c xa_unlock(&srq_table->xa); srq_table 84 drivers/infiniband/hw/hns/hns_roce_srq.c struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; srq_table 113 drivers/infiniband/hw/hns/hns_roce_srq.c ret = hns_roce_bitmap_alloc(&srq_table->bitmap, &srq->srqn); srq_table 119 drivers/infiniband/hw/hns/hns_roce_srq.c ret = hns_roce_table_get(hr_dev, &srq_table->table, srq->srqn); srq_table 123 drivers/infiniband/hw/hns/hns_roce_srq.c ret = xa_err(xa_store(&srq_table->xa, srq->srqn, srq, GFP_KERNEL)); srq_table 147 drivers/infiniband/hw/hns/hns_roce_srq.c xa_erase(&srq_table->xa, srq->srqn); srq_table 150 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_table_put(hr_dev, &srq_table->table, srq->srqn); srq_table 153 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_bitmap_free(&srq_table->bitmap, srq->srqn, BITMAP_NO_RR); srq_table 160 drivers/infiniband/hw/hns/hns_roce_srq.c struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; srq_table 168 drivers/infiniband/hw/hns/hns_roce_srq.c xa_erase(&srq_table->xa, srq->srqn); srq_table 174 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_table_put(hr_dev, &srq_table->table, srq->srqn); srq_table 175 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_bitmap_free(&srq_table->bitmap, srq->srqn, BITMAP_NO_RR); srq_table 465 drivers/infiniband/hw/hns/hns_roce_srq.c struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; srq_table 467 drivers/infiniband/hw/hns/hns_roce_srq.c xa_init(&srq_table->xa); srq_table 469 drivers/infiniband/hw/hns/hns_roce_srq.c return hns_roce_bitmap_init(&srq_table->bitmap, hr_dev->caps.num_srqs, srq_table 476 drivers/infiniband/hw/hns/hns_roce_srq.c hns_roce_bitmap_cleanup(&hr_dev->srq_table.bitmap); srq_table 1000 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_srq_table srq_table; srq_table 83 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_table *table = &dev->srq_table; srq_table 577 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_table *table = &dev->srq_table; srq_table 612 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_table *table = &dev->srq_table; srq_table 693 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_table *table = &dev->srq_table; srq_table 706 drivers/infiniband/hw/mlx5/srq_cmd.c struct mlx5_srq_table *table = &dev->srq_table; srq_table 344 drivers/infiniband/hw/mthca/mthca_dev.h struct mthca_srq_table srq_table; srq_table 488 drivers/infiniband/hw/mthca/mthca_main.c mdev->srq_table.table = srq_table 494 drivers/infiniband/hw/mthca/mthca_main.c if (!mdev->srq_table.table) { srq_table 524 drivers/infiniband/hw/mthca/mthca_main.c mthca_free_icm_table(mdev, mdev->srq_table.table); srq_table 561 drivers/infiniband/hw/mthca/mthca_main.c mthca_free_icm_table(mdev, mdev->srq_table.table); srq_table 237 drivers/infiniband/hw/mthca/mthca_srq.c srq->srqn = mthca_alloc(&dev->srq_table.alloc); srq_table 242 drivers/infiniband/hw/mthca/mthca_srq.c err = mthca_table_get(dev, dev->srq_table.table, srq->srqn); srq_table 283 drivers/infiniband/hw/mthca/mthca_srq.c spin_lock_irq(&dev->srq_table.lock); srq_table 284 drivers/infiniband/hw/mthca/mthca_srq.c if (mthca_array_set(&dev->srq_table.srq, srq_table 287 drivers/infiniband/hw/mthca/mthca_srq.c spin_unlock_irq(&dev->srq_table.lock); srq_table 290 drivers/infiniband/hw/mthca/mthca_srq.c spin_unlock_irq(&dev->srq_table.lock); srq_table 319 drivers/infiniband/hw/mthca/mthca_srq.c mthca_table_put(dev, dev->srq_table.table, srq->srqn); srq_table 322 drivers/infiniband/hw/mthca/mthca_srq.c mthca_free(&dev->srq_table.alloc, srq->srqn); srq_table 331 drivers/infiniband/hw/mthca/mthca_srq.c spin_lock_irq(&dev->srq_table.lock); srq_table 333 drivers/infiniband/hw/mthca/mthca_srq.c spin_unlock_irq(&dev->srq_table.lock); srq_table 353 drivers/infiniband/hw/mthca/mthca_srq.c spin_lock_irq(&dev->srq_table.lock); srq_table 354 drivers/infiniband/hw/mthca/mthca_srq.c mthca_array_clear(&dev->srq_table.srq, srq_table 357 drivers/infiniband/hw/mthca/mthca_srq.c spin_unlock_irq(&dev->srq_table.lock); srq_table 367 drivers/infiniband/hw/mthca/mthca_srq.c mthca_table_put(dev, dev->srq_table.table, srq->srqn); srq_table 368 drivers/infiniband/hw/mthca/mthca_srq.c mthca_free(&dev->srq_table.alloc, srq->srqn); srq_table 436 drivers/infiniband/hw/mthca/mthca_srq.c spin_lock(&dev->srq_table.lock); srq_table 437 drivers/infiniband/hw/mthca/mthca_srq.c srq = mthca_array_get(&dev->srq_table.srq, srqn & (dev->limits.num_srqs - 1)); srq_table 440 drivers/infiniband/hw/mthca/mthca_srq.c spin_unlock(&dev->srq_table.lock); srq_table 456 drivers/infiniband/hw/mthca/mthca_srq.c spin_lock(&dev->srq_table.lock); srq_table 459 drivers/infiniband/hw/mthca/mthca_srq.c spin_unlock(&dev->srq_table.lock); srq_table 674 drivers/infiniband/hw/mthca/mthca_srq.c spin_lock_init(&dev->srq_table.lock); srq_table 676 drivers/infiniband/hw/mthca/mthca_srq.c err = mthca_alloc_init(&dev->srq_table.alloc, srq_table 683 drivers/infiniband/hw/mthca/mthca_srq.c err = mthca_array_init(&dev->srq_table.srq, srq_table 686 drivers/infiniband/hw/mthca/mthca_srq.c mthca_alloc_cleanup(&dev->srq_table.alloc); srq_table 696 drivers/infiniband/hw/mthca/mthca_srq.c mthca_array_cleanup(&dev->srq_table.srq, dev->limits.num_srqs); srq_table 697 drivers/infiniband/hw/mthca/mthca_srq.c mthca_alloc_cleanup(&dev->srq_table.alloc); srq_table 1599 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_init_icm_table(dev, &priv->srq_table.cmpt_table, srq_table 1632 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_cleanup_icm_table(dev, &priv->srq_table.cmpt_table); srq_table 1773 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_init_icm_table(dev, &priv->srq_table.table, srq_table 1804 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_cleanup_icm_table(dev, &priv->srq_table.table); srq_table 1833 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_cleanup_icm_table(dev, &priv->srq_table.cmpt_table); srq_table 1850 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_cleanup_icm_table(dev, &priv->srq_table.table); srq_table 1861 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_cleanup_icm_table(dev, &priv->srq_table.cmpt_table); srq_table 897 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_srq_table srq_table; srq_table 45 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 49 drivers/net/ethernet/mellanox/mlx4/srq.c srq = radix_tree_lookup(&srq_table->tree, srqn & (dev->caps.num_srqs - 1)); srq_table 95 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 99 drivers/net/ethernet/mellanox/mlx4/srq.c *srqn = mlx4_bitmap_alloc(&srq_table->bitmap); srq_table 103 drivers/net/ethernet/mellanox/mlx4/srq.c err = mlx4_table_get(dev, &srq_table->table, *srqn); srq_table 107 drivers/net/ethernet/mellanox/mlx4/srq.c err = mlx4_table_get(dev, &srq_table->cmpt_table, *srqn); srq_table 113 drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_table_put(dev, &srq_table->table, *srqn); srq_table 116 drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_bitmap_free(&srq_table->bitmap, *srqn, MLX4_NO_RR); srq_table 140 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 142 drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_table_put(dev, &srq_table->cmpt_table, srqn); srq_table 143 drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_table_put(dev, &srq_table->table, srqn); srq_table 144 drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_bitmap_free(&srq_table->bitmap, srqn, MLX4_NO_RR); srq_table 165 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 175 drivers/net/ethernet/mellanox/mlx4/srq.c spin_lock_irq(&srq_table->lock); srq_table 176 drivers/net/ethernet/mellanox/mlx4/srq.c err = radix_tree_insert(&srq_table->tree, srq->srqn, srq); srq_table 177 drivers/net/ethernet/mellanox/mlx4/srq.c spin_unlock_irq(&srq_table->lock); srq_table 212 drivers/net/ethernet/mellanox/mlx4/srq.c spin_lock_irq(&srq_table->lock); srq_table 213 drivers/net/ethernet/mellanox/mlx4/srq.c radix_tree_delete(&srq_table->tree, srq->srqn); srq_table 214 drivers/net/ethernet/mellanox/mlx4/srq.c spin_unlock_irq(&srq_table->lock); srq_table 224 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 231 drivers/net/ethernet/mellanox/mlx4/srq.c spin_lock_irq(&srq_table->lock); srq_table 232 drivers/net/ethernet/mellanox/mlx4/srq.c radix_tree_delete(&srq_table->tree, srq->srqn); srq_table 233 drivers/net/ethernet/mellanox/mlx4/srq.c spin_unlock_irq(&srq_table->lock); srq_table 274 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 277 drivers/net/ethernet/mellanox/mlx4/srq.c spin_lock_init(&srq_table->lock); srq_table 278 drivers/net/ethernet/mellanox/mlx4/srq.c INIT_RADIX_TREE(&srq_table->tree, GFP_ATOMIC); srq_table 282 drivers/net/ethernet/mellanox/mlx4/srq.c err = mlx4_bitmap_init(&srq_table->bitmap, dev->caps.num_srqs, srq_table 294 drivers/net/ethernet/mellanox/mlx4/srq.c mlx4_bitmap_cleanup(&mlx4_priv(dev)->srq_table.bitmap); srq_table 299 drivers/net/ethernet/mellanox/mlx4/srq.c struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; srq_table 303 drivers/net/ethernet/mellanox/mlx4/srq.c srq = radix_tree_lookup(&srq_table->tree,