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