Lines Matching refs:mw
1184 struct ib_mw *mw; in ib_uverbs_alloc_mw() local
1206 mw = pd->device->alloc_mw(pd, cmd.mw_type); in ib_uverbs_alloc_mw()
1207 if (IS_ERR(mw)) { in ib_uverbs_alloc_mw()
1208 ret = PTR_ERR(mw); in ib_uverbs_alloc_mw()
1212 mw->device = pd->device; in ib_uverbs_alloc_mw()
1213 mw->pd = pd; in ib_uverbs_alloc_mw()
1214 mw->uobject = uobj; in ib_uverbs_alloc_mw()
1217 uobj->object = mw; in ib_uverbs_alloc_mw()
1223 resp.rkey = mw->rkey; in ib_uverbs_alloc_mw()
1248 ib_dealloc_mw(mw); in ib_uverbs_alloc_mw()
1263 struct ib_mw *mw; in ib_uverbs_dealloc_mw() local
1274 mw = uobj->object; in ib_uverbs_dealloc_mw()
1276 ret = ib_dealloc_mw(mw); in ib_uverbs_dealloc_mw()