Searched refs:mtt_buddy (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/mthca/ |
H A D | mthca_mr.c | 237 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() 846 err = mthca_buddy_init(&dev->mr_table.mtt_buddy, in mthca_init_mr_table() 898 err = mthca_buddy_init(&dev->mr_table.tavor_fmr.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 903 err = mthca_buddy_alloc(&dev->mr_table.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 908 &dev->mr_table.tavor_fmr.mtt_buddy; in mthca_init_mr_table() 910 dev->mr_table.fmr_mtt_buddy = &dev->mr_table.mtt_buddy; in mthca_init_mr_table() 930 mthca_buddy_cleanup(&dev->mr_table.tavor_fmr.mtt_buddy); in mthca_init_mr_table() 941 mthca_buddy_cleanup(&dev->mr_table.mtt_buddy); in mthca_init_mr_table() [all …]
|
H A D | mthca_dev.h | 215 struct mthca_buddy mtt_buddy; member 224 struct mthca_buddy mtt_buddy; member
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mr.c | 165 seg = mlx4_buddy_alloc(&mr_table->mtt_buddy, seg_order); in __mlx4_alloc_mtt_range() 173 mlx4_buddy_free(&mr_table->mtt_buddy, seg, seg_order); in __mlx4_alloc_mtt_range() 232 mlx4_buddy_free(&mr_table->mtt_buddy, first_seg, seg_order); in __mlx4_free_mtt_range() 932 err = mlx4_buddy_init(&mr_table->mtt_buddy, in mlx4_init_mr_table() 944 mr_table->mtt_buddy.max_order); in mlx4_init_mr_table() 953 mlx4_buddy_cleanup(&mr_table->mtt_buddy); in mlx4_init_mr_table() 971 mlx4_buddy_cleanup(&mr_table->mtt_buddy); in mlx4_cleanup_mr_table()
|
H A D | mlx4.h | 663 struct mlx4_buddy mtt_buddy; member
|