Lines Matching refs:mtt_buddy
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()
587 err = mthca_buddy_init(&dev->mr_table.mtt_buddy, in mthca_init_mr_table()
640 err = mthca_buddy_init(&dev->mr_table.tavor_fmr.mtt_buddy, fls(mtts - 1)); 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()
697 mthca_buddy_cleanup(&dev->mr_table.mtt_buddy); in mthca_cleanup_mr_table()