Searched refs:mtt_buddy (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_mr.c | 235 return __mthca_alloc_mtt(dev, size, &dev->mr_table.mtt_buddy); in mthca_alloc_mtt() 299 if (dev->mr_table.fmr_mtt_buddy != &dev->mr_table.mtt_buddy || in mthca_write_mtt_size() 362 if (dev->mr_table.fmr_mtt_buddy != &dev->mr_table.mtt_buddy || in mthca_write_mtt() 584 err = mthca_buddy_init(&dev->mr_table.mtt_buddy, in mthca_init_mr_table() 637 err = mthca_buddy_init(&dev->mr_table.tavor_fmr.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 642 err = mthca_buddy_alloc(&dev->mr_table.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 647 &dev->mr_table.tavor_fmr.mtt_buddy; in mthca_init_mr_table() 649 dev->mr_table.fmr_mtt_buddy = &dev->mr_table.mtt_buddy; in mthca_init_mr_table() 669 mthca_buddy_cleanup(&dev->mr_table.tavor_fmr.mtt_buddy); in mthca_init_mr_table() 680 mthca_buddy_cleanup(&dev->mr_table.mtt_buddy); in mthca_init_mr_table() [all …]
|
D | mthca_dev.h | 212 struct mthca_buddy mtt_buddy; member 221 struct mthca_buddy mtt_buddy; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 159 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()
|
D | mlx4.h | 673 struct mlx4_buddy mtt_buddy; member
|