Lines Matching refs:mtt_buddy
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()
692 mthca_buddy_cleanup(&dev->mr_table.tavor_fmr.mtt_buddy); in mthca_cleanup_mr_table()
694 mthca_buddy_cleanup(&dev->mr_table.mtt_buddy); in mthca_cleanup_mr_table()