Searched refs:mr_table (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/drivers/infiniband/hw/mthca/ |
D | mthca_mr.c | 199 if (mthca_table_get_range(dev, dev->mr_table.mtt_table, seg, in mthca_alloc_mtt_range() 237 return __mthca_alloc_mtt(dev, size, &dev->mr_table.mtt_buddy); in mthca_alloc_mtt() 247 mthca_table_put_range(dev, dev->mr_table.mtt_table, in mthca_free_mtt() 269 mtt_entry[0] = cpu_to_be64(dev->mr_table.mtt_base + in __mthca_write_mtt() 308 if (dev->mr_table.fmr_mtt_buddy != &dev->mr_table.mtt_buddy || in mthca_write_mtt_size() 329 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg() 350 mtts = mthca_table_find(dev->mr_table.mtt_table, mtt->first_seg + in mthca_arbel_write_mtt_seg() 371 if (dev->mr_table.fmr_mtt_buddy != &dev->mr_table.mtt_buddy || in mthca_write_mtt() 448 key = mthca_alloc(&dev->mr_table.mpt_alloc); in mthca_mr_alloc() 455 err = mthca_table_get(dev, dev->mr_table.mpt_table, key); in mthca_mr_alloc() [all …]
|
D | mthca_main.c | 472 mdev->mr_table.mtt_table = mthca_alloc_icm_table(mdev, init_hca->mtt_base, in mthca_init_icm() 477 if (!mdev->mr_table.mtt_table) { in mthca_init_icm() 483 mdev->mr_table.mpt_table = mthca_alloc_icm_table(mdev, init_hca->mpt_base, in mthca_init_icm() 488 if (!mdev->mr_table.mpt_table) { in mthca_init_icm() 590 mthca_free_icm_table(mdev, mdev->mr_table.mpt_table); in mthca_init_icm() 593 mthca_free_icm_table(mdev, mdev->mr_table.mtt_table); in mthca_init_icm() 618 mthca_free_icm_table(mdev, mdev->mr_table.mpt_table); in mthca_free_icms() 619 mthca_free_icm_table(mdev, mdev->mr_table.mtt_table); in mthca_free_icms()
|
D | mthca_profile.c | 227 dev->mr_table.mpt_base = profile[i].start; in mthca_make_profile() 233 dev->mr_table.mtt_base = profile[i].start; in mthca_make_profile()
|
D | mthca_dev.h | 341 struct mthca_mr_table mr_table; member
|
/linux-2.6.39/drivers/net/mlx4/ |
D | mr.c | 184 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_alloc_mtt_range() local 187 seg = mlx4_buddy_alloc(&mr_table->mtt_buddy, order); in mlx4_alloc_mtt_range() 191 if (mlx4_table_get_range(dev, &mr_table->mtt_table, seg, in mlx4_alloc_mtt_range() 193 mlx4_buddy_free(&mr_table->mtt_buddy, seg, order); in mlx4_alloc_mtt_range() 225 struct mlx4_mr_table *mr_table = &mlx4_priv(dev)->mr_table; in mlx4_mtt_cleanup() local 230 mlx4_buddy_free(&mr_table->mtt_buddy, mtt->first_seg, mtt->order); in mlx4_mtt_cleanup() 231 mlx4_table_put_range(dev, &mr_table->mtt_table, mtt->first_seg, in mlx4_mtt_cleanup() 273 index = mlx4_bitmap_alloc(&priv->mr_table.mpt_bitmap); in mlx4_mr_alloc() 286 mlx4_bitmap_free(&priv->mr_table.mpt_bitmap, index); in mlx4_mr_alloc() 306 mlx4_bitmap_free(&priv->mr_table.mpt_bitmap, key_to_hw_index(mr->key)); in mlx4_mr_free() [all …]
|
D | profile.c | 205 priv->mr_table.mpt_base = profile[i].start; in mlx4_make_profile() 214 priv->mr_table.mtt_base = profile[i].start; in mlx4_make_profile()
|
D | main.c | 559 err = mlx4_init_icm_table(dev, &priv->mr_table.mtt_table, in mlx4_init_icm() 569 err = mlx4_init_icm_table(dev, &priv->mr_table.dmpt_table, in mlx4_init_icm() 679 mlx4_cleanup_icm_table(dev, &priv->mr_table.dmpt_table); in mlx4_init_icm() 682 mlx4_cleanup_icm_table(dev, &priv->mr_table.mtt_table); in mlx4_init_icm() 713 mlx4_cleanup_icm_table(dev, &priv->mr_table.dmpt_table); in mlx4_free_icms() 714 mlx4_cleanup_icm_table(dev, &priv->mr_table.mtt_table); in mlx4_free_icms()
|
D | mlx4.h | 339 struct mlx4_mr_table mr_table; member
|
/linux-2.6.39/net/ipv4/ |
D | ipmr.c | 73 struct mr_table { struct 98 struct mr_table *mrt; argument 126 static struct mr_table *ipmr_new_table(struct net *net, u32 id); 127 static int ip_mr_forward(struct net *net, struct mr_table *mrt, 130 static int ipmr_cache_report(struct mr_table *mrt, 132 static int __ipmr_fill_mroute(struct mr_table *mrt, struct sk_buff *skb, 140 static struct mr_table *ipmr_get_table(struct net *net, u32 id) in ipmr_get_table() 142 struct mr_table *mrt; in ipmr_get_table() 152 struct mr_table **mrt) in ipmr_fib_lookup() 170 struct mr_table *mrt; in ipmr_rule_action() [all …]
|
/linux-2.6.39/include/net/netns/ |
D | ipv4.h | 62 struct mr_table *mrt;
|