Searched refs:ibmw (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/cxgb3/
H A Diwch_provider.h92 struct ib_mw ibmw; member in struct:iwch_mw
98 static inline struct iwch_mw *to_iwch_mw(struct ib_mw *ibmw) to_iwch_mw() argument
100 return container_of(ibmw, struct iwch_mw, ibmw); to_iwch_mw()
H A Diwch_provider.c778 mhp->ibmw.rkey = stag; iwch_alloc_mw()
785 return &(mhp->ibmw); iwch_alloc_mw()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
H A Dmr.c356 mw->ibmw.rkey = mw->mmw.key; mlx4_ib_alloc_mw()
358 return &mw->ibmw; mlx4_ib_alloc_mw()
391 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) mlx4_ib_dealloc_mw() argument
393 struct mlx4_ib_mw *mw = to_mmw(ibmw); mlx4_ib_dealloc_mw()
395 mlx4_mw_free(to_mdev(ibmw->device)->dev, &mw->mmw); mlx4_ib_dealloc_mw()
H A Dmlx4_ib.h146 struct ib_mw ibmw; member in struct:mlx4_ib_mw
645 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) to_mmw() argument
647 return container_of(ibmw, struct mlx4_ib_mw, ibmw); to_mmw()
/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes.h495 static inline struct nes_mr *to_nesmw(struct ib_mw *ibmw) to_nesmw() argument
497 return container_of(ibmw, struct nes_mr, ibmw); to_nesmw()
H A Dnes_verbs.h75 struct ib_mw ibmw; member in union:nes_mr::__anon5297
H A Dnes_verbs.c67 struct ib_mw *ibmw; nes_alloc_mw() local
147 nesmr->ibmw.rkey = stag; nes_alloc_mw()
149 ibmw = &nesmr->ibmw; nes_alloc_mw()
153 return ibmw; nes_alloc_mw()
160 static int nes_dealloc_mw(struct ib_mw *ibmw) nes_dealloc_mw() argument
162 struct nes_mr *nesmr = to_nesmw(ibmw); nes_dealloc_mw()
163 struct nes_vnic *nesvnic = to_nesvnic(ibmw->device); nes_dealloc_mw()
181 set_wqe_32bit_value(cqp_wqe->wqe_words, NES_CQP_STAG_WQE_STAG_IDX, ibmw->rkey); nes_dealloc_mw()
188 ibmw->rkey); nes_dealloc_mw()
202 (ibmw->rkey & 0x0fffff00) >> 8); nes_dealloc_mw()
212 static int nes_bind_mw(struct ib_qp *ibqp, struct ib_mw *ibmw, nes_bind_mw() argument
218 /* struct nes_mr *nesmr = to_nesmw(ibmw); */ nes_bind_mw()
260 set_wqe_32bit_value(wqe->wqe_words, NES_IWARP_SQ_BIND_WQE_MW_IDX, ibmw->rkey); nes_bind_mw()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h401 struct ib_mw ibmw; member in struct:c4iw_mw
407 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) to_c4iw_mw() argument
409 return container_of(ibmw, struct c4iw_mw, ibmw); to_c4iw_mw()
H A Dmem.c830 mhp->ibmw.rkey = stag; c4iw_alloc_mw()
837 return &(mhp->ibmw); c4iw_alloc_mw()

Completed in 785 milliseconds