Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_iverbs.h98 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
100 int ehca_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
103 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
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Diwch_provider.h90 struct ib_mw ibmw;
96 static inline struct iwch_mw *to_iwch_mw(struct ib_mw *ibmw) in to_iwch_mw()
332 struct ib_mw *mw,
Diwch_provider.c737 static struct ib_mw *iwch_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in iwch_alloc_mw()
774 static int iwch_dealloc_mw(struct ib_mw *mw) in iwch_dealloc_mw()
Diwch_qp.c529 struct ib_mw *mw, in iwch_bind_mw()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h125 struct ib_mw ibmw;
593 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
659 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
660 int mlx4_ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
662 int mlx4_ib_dealloc_mw(struct ib_mw *mw);
Dmr.c289 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in mlx4_ib_alloc_mw()
321 int mlx4_ib_bind_mw(struct ib_qp *qp, struct ib_mw *mw, in mlx4_ib_bind_mw()
343 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) in mlx4_ib_dealloc_mw()
/linux-4.1.27/include/rdma/
Dib_verbs.h1072 struct ib_mw *mw;
1274 struct ib_mw { struct
1617 struct ib_mw * (*alloc_mw)(struct ib_pd *pd,
1620 struct ib_mw *mw,
1622 int (*dealloc_mw)(struct ib_mw *mw);
2535 struct ib_mw *ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
2551 struct ib_mw *mw, in ib_bind_mw()
2564 int ib_dealloc_mw(struct ib_mw *mw);
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h399 struct ib_mw ibmw;
405 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) in to_c4iw_mw()
962 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw,
976 int c4iw_dealloc_mw(struct ib_mw *mw);
977 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
Dmem.c803 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in c4iw_alloc_mw()
840 int c4iw_dealloc_mw(struct ib_mw *mw) in c4iw_dealloc_mw()
Dqp.c927 int c4iw_bind_mw(struct ib_qp *qp, struct ib_mw *mw, struct ib_mw_bind *mw_bind) in c4iw_bind_mw()
/linux-4.1.27/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.c58 static struct ib_mw *nes_alloc_mw(struct ib_pd *ibpd, enum ib_mw_type type) in nes_alloc_mw()
66 struct ib_mw *ibmw; in nes_alloc_mw()
159 static int nes_dealloc_mw(struct ib_mw *ibmw) in nes_dealloc_mw()
211 static int nes_bind_mw(struct ib_qp *ibqp, struct ib_mw *ibmw, in nes_bind_mw()
/linux-4.1.27/drivers/infiniband/core/
Dverbs.c1260 struct ib_mw *ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in ib_alloc_mw()
1262 struct ib_mw *mw; in ib_alloc_mw()
1280 int ib_dealloc_mw(struct ib_mw *mw) in ib_dealloc_mw()
Duverbs_main.c224 struct ib_mw *mw = uobj->object; in ib_uverbs_cleanup_ucontext()
Duverbs_cmd.c1184 struct ib_mw *mw; in ib_uverbs_alloc_mw()
1263 struct ib_mw *mw; in ib_uverbs_dealloc_mw()