Home
last modified time | relevance | path

Searched refs:mw (Results 1 – 9 of 9) sorted by relevance

/drivers/infiniband/core/
Dverbs.c805 struct ib_mw *mw; in ib_alloc_mw() local
810 mw = pd->device->alloc_mw(pd); in ib_alloc_mw()
811 if (!IS_ERR(mw)) { in ib_alloc_mw()
812 mw->device = pd->device; in ib_alloc_mw()
813 mw->pd = pd; in ib_alloc_mw()
814 mw->uobject = NULL; in ib_alloc_mw()
818 return mw; in ib_alloc_mw()
822 int ib_dealloc_mw(struct ib_mw *mw) in ib_dealloc_mw() argument
827 pd = mw->pd; in ib_dealloc_mw()
828 ret = mw->device->dealloc_mw(mw); in ib_dealloc_mw()
/drivers/infiniband/hw/ehca/
Dhcp_if.h246 const struct ehca_mw *mw,
252 const struct ehca_mw *mw,
257 const struct ehca_mw *mw);
Dhcp_if.c875 const struct ehca_mw *mw, in hipz_h_alloc_resource_mw() argument
894 const struct ehca_mw *mw, in hipz_h_query_mw() argument
902 mw->ipz_mw_handle.handle, /* r5 */ in hipz_h_query_mw()
910 const struct ehca_mw *mw) in hipz_h_free_resource_mw() argument
914 mw->ipz_mw_handle.handle, /* r5 */ in hipz_h_free_resource_mw()
Dehca_iverbs.h100 int ehca_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
103 int ehca_dealloc_mw(struct ib_mw *mw);
Dehca_mrmw.c696 struct ib_mw *mw, in ehca_bind_mw() argument
707 int ehca_dealloc_mw(struct ib_mw *mw) in ehca_dealloc_mw() argument
711 container_of(mw->device, struct ehca_shca, ib_device); in ehca_dealloc_mw()
712 struct ehca_mw *e_mw = container_of(mw, struct ehca_mw, ib_mw); in ehca_dealloc_mw()
716 ehca_err(mw->device, "hipz_free_mw failed, h_ret=%lli shca=%p " in ehca_dealloc_mw()
718 h_ret, shca, mw, mw->rkey, shca->ipz_hca_handle.handle, in ehca_dealloc_mw()
/drivers/net/sfc/
Defx.h56 extern int efx_request_power(struct efx_nic *efx, int mw, const char *name);
/drivers/infiniband/hw/cxgb3/
Diwch_qp.c520 struct ib_mw *mw, in iwch_bind_mw() argument
538 mhp = to_iwch_mw(mw); in iwch_bind_mw()
554 mw, mw_bind); in iwch_bind_mw()
570 wqe->bind.mw_stag = cpu_to_be32(mw->rkey); in iwch_bind_mw()
Diwch_provider.h331 struct ib_mw *mw,
Diwch_provider.c757 static int iwch_dealloc_mw(struct ib_mw *mw) in iwch_dealloc_mw() argument
763 mhp = to_iwch_mw(mw); in iwch_dealloc_mw()
765 mmid = (mw->rkey) >> 8; in iwch_dealloc_mw()
769 PDBG("%s ib_mw %p mmid 0x%x ptr %p\n", __func__, mw, mmid, mhp); in iwch_dealloc_mw()