Home
last modified time | relevance | path

Searched refs:mtt_buddy (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/infiniband/hw/mthca/
A Dmthca_mr.c237 return __mthca_alloc_mtt(dev, size, &dev->mr_table.mtt_buddy); in mthca_alloc_mtt()
301 if (dev->mr_table.fmr_mtt_buddy != &dev->mr_table.mtt_buddy || in mthca_write_mtt_size()
364 if (dev->mr_table.fmr_mtt_buddy != &dev->mr_table.mtt_buddy || in mthca_write_mtt()
587 err = mthca_buddy_init(&dev->mr_table.mtt_buddy, in mthca_init_mr_table()
645 err = mthca_buddy_alloc(&dev->mr_table.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table()
650 &dev->mr_table.tavor_fmr.mtt_buddy; in mthca_init_mr_table()
652 dev->mr_table.fmr_mtt_buddy = &dev->mr_table.mtt_buddy; in mthca_init_mr_table()
672 mthca_buddy_cleanup(&dev->mr_table.tavor_fmr.mtt_buddy); in mthca_init_mr_table()
683 mthca_buddy_cleanup(&dev->mr_table.mtt_buddy); in mthca_init_mr_table()
695 mthca_buddy_cleanup(&dev->mr_table.tavor_fmr.mtt_buddy); in mthca_cleanup_mr_table()
[all …]
A Dmthca_dev.h212 struct mthca_buddy mtt_buddy; member
221 struct mthca_buddy mtt_buddy; member
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dmr.c159 seg = mlx4_buddy_alloc(&mr_table->mtt_buddy, seg_order); in __mlx4_alloc_mtt_range()
167 mlx4_buddy_free(&mr_table->mtt_buddy, seg, seg_order); in __mlx4_alloc_mtt_range()
226 mlx4_buddy_free(&mr_table->mtt_buddy, first_seg, seg_order); in __mlx4_free_mtt_range()
926 err = mlx4_buddy_init(&mr_table->mtt_buddy, in mlx4_init_mr_table()
938 mr_table->mtt_buddy.max_order); in mlx4_init_mr_table()
947 mlx4_buddy_cleanup(&mr_table->mtt_buddy); in mlx4_init_mr_table()
965 mlx4_buddy_cleanup(&mr_table->mtt_buddy); in mlx4_cleanup_mr_table()
A Dmlx4.h673 struct mlx4_buddy mtt_buddy; member

Completed in 15 milliseconds