Searched refs:srq_table (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | srq.c | 45 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_srq_event() local 95 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in __mlx4_srq_alloc_icm() local 140 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in __mlx4_srq_free_icm() local 165 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_srq_alloc() local 175 spin_lock_irq(&srq_table->lock); in mlx4_srq_alloc() 212 spin_lock_irq(&srq_table->lock); in mlx4_srq_alloc() 224 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_srq_free() local 231 spin_lock_irq(&srq_table->lock); in mlx4_srq_free() 274 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table; in mlx4_init_srq_table() local 276 spin_lock_init(&srq_table->lock); in mlx4_init_srq_table() [all …]
|
A D | main.c | 1600 err = mlx4_init_icm_table(dev, &priv->srq_table.cmpt_table, in mlx4_init_cmpt_table() 1633 mlx4_cleanup_icm_table(dev, &priv->srq_table.cmpt_table); in mlx4_init_cmpt_table() 1774 err = mlx4_init_icm_table(dev, &priv->srq_table.table, in mlx4_init_icm() 1805 mlx4_cleanup_icm_table(dev, &priv->srq_table.table); in mlx4_init_icm() 1834 mlx4_cleanup_icm_table(dev, &priv->srq_table.cmpt_table); in mlx4_init_icm() 1851 mlx4_cleanup_icm_table(dev, &priv->srq_table.table); in mlx4_free_icms() 1862 mlx4_cleanup_icm_table(dev, &priv->srq_table.cmpt_table); in mlx4_free_icms()
|
A D | mlx4.h | 898 struct mlx4_srq_table srq_table; member
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_srq.c | 14 struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; in hns_roce_srq_event() local 17 xa_lock(&srq_table->xa); in hns_roce_srq_event() 21 xa_unlock(&srq_table->xa); in hns_roce_srq_event() 82 struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; in alloc_srqc() local 135 xa_erase(&srq_table->xa, srq->srqn); in alloc_srqc() 146 struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; in free_srqc() local 154 xa_erase(&srq_table->xa, srq->srqn); in free_srqc() 161 ida_free(&srq_table->srq_ida.ida, (int)srq->srqn); in free_srqc() 449 struct hns_roce_srq_table *srq_table = &hr_dev->srq_table; in hns_roce_init_srq_table() local 450 struct hns_roce_ida *srq_ida = &srq_table->srq_ida; in hns_roce_init_srq_table() [all …]
|
A D | hns_roce_alloc.c | 181 ida_destroy(&hr_dev->srq_table.srq_ida.ida); in hns_roce_cleanup_bitmap()
|
A D | hns_roce_main.c | 709 ret = hns_roce_init_hem_table(hr_dev, &hr_dev->srq_table.table, in hns_roce_init_hem() 786 hns_roce_cleanup_hem_table(hr_dev, &hr_dev->srq_table.table); in hns_roce_init_hem()
|
A D | hns_roce_device.h | 990 struct hns_roce_srq_table srq_table; member
|
A D | hns_roce_hem.c | 948 &hr_dev->srq_table.table); in hns_roce_cleanup_hem()
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_srq.c | 283 spin_lock_irq(&dev->srq_table.lock); in mthca_alloc_srq() 290 spin_unlock_irq(&dev->srq_table.lock); in mthca_alloc_srq() 331 spin_lock_irq(&dev->srq_table.lock); in get_srq_refcount() 333 spin_unlock_irq(&dev->srq_table.lock); in get_srq_refcount() 353 spin_lock_irq(&dev->srq_table.lock); in mthca_free_srq() 354 mthca_array_clear(&dev->srq_table.srq, in mthca_free_srq() 436 spin_lock(&dev->srq_table.lock); in mthca_srq_event() 440 spin_unlock(&dev->srq_table.lock); in mthca_srq_event() 456 spin_lock(&dev->srq_table.lock); in mthca_srq_event() 459 spin_unlock(&dev->srq_table.lock); in mthca_srq_event() [all …]
|
A D | mthca_main.c | 488 mdev->srq_table.table = in mthca_init_icm() 494 if (!mdev->srq_table.table) { in mthca_init_icm() 524 mthca_free_icm_table(mdev, mdev->srq_table.table); in mthca_init_icm() 561 mthca_free_icm_table(mdev, mdev->srq_table.table); in mthca_free_icms()
|
A D | mthca_dev.h | 343 struct mthca_srq_table srq_table; member
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | resource.c | 72 err = c4iw_id_table_alloc(&rdev->resource.srq_table, 0, in c4iw_init_resource() 75 err = c4iw_id_table_alloc(&rdev->resource.srq_table, 0, in c4iw_init_resource() 431 idx = c4iw_id_alloc(&rdev->resource.srq_table); in c4iw_alloc_srq_idx() 447 c4iw_id_free(&rdev->resource.srq_table, idx); in c4iw_free_srq_idx()
|
A D | iw_cxgb4.h | 100 struct c4iw_id_table srq_table; member
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | srq_cmd.c | 83 struct mlx5_srq_table *table = &dev->srq_table; in mlx5_cmd_get_srq() 632 struct mlx5_srq_table *table = &dev->srq_table; in mlx5_cmd_create_srq() 667 struct mlx5_srq_table *table = &dev->srq_table; in mlx5_cmd_destroy_srq() 758 struct mlx5_srq_table *table = &dev->srq_table; in mlx5_init_srq_table() 771 struct mlx5_srq_table *table = &dev->srq_table; in mlx5_cleanup_srq_table()
|
A D | mlx5_ib.h | 1125 struct mlx5_srq_table srq_table; member
|
Completed in 58 milliseconds