Lines Matching defs:ib_mw
691 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd)
693 struct ib_mw *ib_mw;
703 ib_mw = ERR_PTR(-ENOMEM);
713 ib_mw = ERR_PTR(ehca2ib_return_code(h_ret));
718 e_mw->ib_mw.rkey = hipzout.rkey;
719 return &e_mw->ib_mw;
724 if (IS_ERR(ib_mw))
725 ehca_err(pd->device, "h_ret=%li pd=%p", PTR_ERR(ib_mw), pd);
726 return ib_mw;
732 struct ib_mw *mw,
743 int ehca_dealloc_mw(struct ib_mw *mw)
748 struct ehca_mw *e_mw = container_of(mw, struct ehca_mw, ib_mw);