Home
last modified time | relevance | path

Searched refs:ibmw (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_provider.h92 struct ib_mw ibmw; member
98 static inline struct iwch_mw *to_iwch_mw(struct ib_mw *ibmw) in to_iwch_mw() argument
100 return container_of(ibmw, struct iwch_mw, ibmw); in to_iwch_mw()
Diwch_provider.c559 mhp->ibmw.rkey = stag; in iwch_alloc_mw()
566 return &(mhp->ibmw); in iwch_alloc_mw()
/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dmr.c634 mw->ibmw.rkey = mw->mmw.key; in mlx4_ib_alloc_mw()
636 return &mw->ibmw; in mlx4_ib_alloc_mw()
647 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) in mlx4_ib_dealloc_mw() argument
649 struct mlx4_ib_mw *mw = to_mmw(ibmw); in mlx4_ib_dealloc_mw()
651 mlx4_mw_free(to_mdev(ibmw->device)->dev, &mw->mmw); in mlx4_ib_dealloc_mw()
Dmlx4_ib.h145 struct ib_mw ibmw; member
676 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw() argument
678 return container_of(ibmw, struct mlx4_ib_mw, ibmw); in to_mmw()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw.h377 static inline struct i40iw_mr *to_iwmw(struct ib_mw *ibmw) in to_iwmw() argument
379 return container_of(ibmw, struct i40iw_mr, ibmw); in to_iwmw()
Di40iw_verbs.h91 struct ib_mw ibmw; member
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_verbs.h322 struct ib_mw ibmw; member
465 return mw ? container_of(mw, struct rxe_mem, ibmw) : NULL; in to_rmw()
/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_device.h372 struct ib_mw ibmw; member
1075 static inline struct hns_roce_mw *to_hr_mw(struct ib_mw *ibmw) in to_hr_mw() argument
1077 return container_of(ibmw, struct hns_roce_mw, ibmw); in to_hr_mw()
1208 int hns_roce_dealloc_mw(struct ib_mw *ibmw);
Dhns_roce_mr.c1531 mw->ibmw.rkey = mw->rkey; in hns_roce_alloc_mw()
1532 mw->ibmw.type = type; in hns_roce_alloc_mw()
1542 return &mw->ibmw; in hns_roce_alloc_mw()
1553 int hns_roce_dealloc_mw(struct ib_mw *ibmw) in hns_roce_dealloc_mw() argument
1555 struct hns_roce_dev *hr_dev = to_hr_dev(ibmw->device); in hns_roce_dealloc_mw()
1556 struct hns_roce_mw *mw = to_hr_mw(ibmw); in hns_roce_dealloc_mw()
Dhns_roce_hw_v2.c2436 mw->ibmw.type == IB_MW_TYPE_1 ? 0 : 1); in hns_roce_v2_mw_write_mtpt()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h415 struct ib_mw ibmw; member
423 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) in to_c4iw_mw() argument
425 return container_of(ibmw, struct c4iw_mw, ibmw); in to_c4iw_mw()
Dmem.c654 mhp->ibmw.rkey = stag; in c4iw_alloc_mw()
660 return &(mhp->ibmw); in c4iw_alloc_mw()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h634 struct ib_mw ibmw; member
1087 static inline struct mlx5_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw() argument
1089 return container_of(ibmw, struct mlx5_ib_mw, ibmw); in to_mmw()
Dmr.c1941 mw->ibmw.rkey = mw->mmkey.key; in mlx5_ib_alloc_mw()
1955 return &mw->ibmw; in mlx5_ib_alloc_mw()