mthca_free
mthca_free(&dev->av_table.alloc,
mthca_free(&dev->cq_table.alloc, cq->cqn);
mthca_free(&dev->cq_table.alloc, cq->cqn);
void mthca_free(struct mthca_alloc *alloc, u32 obj);
mthca_free(&dev->eq_table.alloc, eq->eqn);
mthca_free(&dev->mcg_table.alloc, index);
mthca_free(&dev->mcg_table.alloc, amgm_index_to_free);
mthca_free(&dev->mcg_table.alloc, index);
mthca_free(&dev->mr_table.mpt_alloc, key);
mthca_free(&dev->mr_table.mpt_alloc, key_to_hw_index(dev, lkey));
mthca_free(&dev->pd_table.alloc, pd->pd_num);
mthca_free(&dev->pd_table.alloc, pd->pd_num);
mthca_free(&dev->qp_table.alloc, qp->qpn);
mthca_free(&dev->qp_table.alloc, qp->qpn);
mthca_free(&dev->srq_table.alloc, srq->srqn);
mthca_free(&dev->srq_table.alloc, srq->srqn);
mthca_free(&dev->uar_table.alloc, uar->index);