Lines Matching refs:mw
1060 struct ib_mw *mw; in ib_uverbs_alloc_mw() local
1082 mw = pd->device->alloc_mw(pd, cmd.mw_type); in ib_uverbs_alloc_mw()
1083 if (IS_ERR(mw)) { in ib_uverbs_alloc_mw()
1084 ret = PTR_ERR(mw); in ib_uverbs_alloc_mw()
1088 mw->device = pd->device; in ib_uverbs_alloc_mw()
1089 mw->pd = pd; in ib_uverbs_alloc_mw()
1090 mw->uobject = uobj; in ib_uverbs_alloc_mw()
1093 uobj->object = mw; in ib_uverbs_alloc_mw()
1099 resp.rkey = mw->rkey; in ib_uverbs_alloc_mw()
1124 ib_dealloc_mw(mw); in ib_uverbs_alloc_mw()
1139 struct ib_mw *mw; in ib_uverbs_dealloc_mw() local
1150 mw = uobj->object; in ib_uverbs_dealloc_mw()
1152 ret = ib_dealloc_mw(mw); in ib_uverbs_dealloc_mw()