Home
last modified time | relevance | path

Searched refs:ib_mw (Results 1 – 17 of 17) sorted by relevance

/drivers/staging/rdma/ehca/
Dehca_iverbs.h102 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
104 int ehca_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
107 int ehca_dealloc_mw(struct ib_mw *mw);
Dehca_mrmw.c688 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in ehca_alloc_mw()
690 struct ib_mw *ib_mw; in ehca_alloc_mw() local
703 ib_mw = ERR_PTR(-ENOMEM); in ehca_alloc_mw()
713 ib_mw = ERR_PTR(ehca2ib_return_code(h_ret)); in ehca_alloc_mw()
718 e_mw->ib_mw.rkey = hipzout.rkey; in ehca_alloc_mw()
719 return &e_mw->ib_mw; in ehca_alloc_mw()
724 if (IS_ERR(ib_mw)) in ehca_alloc_mw()
725 ehca_err(pd->device, "h_ret=%li pd=%p", PTR_ERR(ib_mw), pd); in ehca_alloc_mw()
726 return ib_mw; in ehca_alloc_mw()
732 struct ib_mw *mw, in ehca_bind_mw()
[all …]
Dehca_classes.h292 struct ib_mw ib_mw; /* gen2 mw, must always be first in ehca_mw */ member
/drivers/infiniband/hw/cxgb3/
Diwch_provider.h92 struct ib_mw ibmw;
98 static inline struct iwch_mw *to_iwch_mw(struct ib_mw *ibmw) in to_iwch_mw()
334 struct ib_mw *mw,
Diwch_provider.c751 static struct ib_mw *iwch_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in iwch_alloc_mw()
788 static int iwch_dealloc_mw(struct ib_mw *mw) in iwch_dealloc_mw()
Diwch_qp.c530 struct ib_mw *mw, in iwch_bind_mw()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h146 struct ib_mw ibmw;
645 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
706 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
707 int mlx4_ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
709 int mlx4_ib_dealloc_mw(struct ib_mw *mw);
Dmr.c374 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in mlx4_ib_alloc_mw()
406 int mlx4_ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw, in mlx4_ib_bind_mw()
428 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) in mlx4_ib_dealloc_mw()
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h401 struct ib_mw ibmw;
407 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) in to_c4iw_mw()
950 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
965 int c4iw_dealloc_mw(struct ib_mw *mw);
966 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
Dmem.c809 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in c4iw_alloc_mw()
846 int c4iw_dealloc_mw(struct ib_mw *mw) in c4iw_dealloc_mw()
Dqp.c941 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) in c4iw_bind_mw()
/drivers/infiniband/hw/nes/
Dnes_verbs.h75 struct ib_mw ibmw;
Dnes.h495 static inline struct nes_mr *to_nesmw(struct ib_mw *ibmw) in to_nesmw()
Dnes_verbs.c59 static struct ib_mw *nes_alloc_mw(struct ib_pd *ibpd, enum ib_mw_type type) in nes_alloc_mw()
67 struct ib_mw *ibmw; in nes_alloc_mw()
160 static int nes_dealloc_mw(struct ib_mw *ibmw) in nes_dealloc_mw()
212 static int nes_bind_mw(struct ib_qp *ibqp, struct ib_mw *ibmw, in nes_bind_mw()
/drivers/infiniband/core/
Dverbs.c1285 struct ib_mw *ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in ib_alloc_mw()
1287 struct ib_mw *mw; in ib_alloc_mw()
1305 int ib_dealloc_mw(struct ib_mw *mw) in ib_dealloc_mw()
Duverbs_main.c226 struct ib_mw *mw = uobj->object; in ib_uverbs_cleanup_ucontext()
Duverbs_cmd.c1197 struct ib_mw *mw; in ib_uverbs_alloc_mw()
1277 struct ib_mw *mw; in ib_uverbs_dealloc_mw()