Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h53 struct ib_mw *mw;
127 struct ib_mw ib_mw; member
205 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
207 int bnxt_re_dealloc_mw(struct ib_mw *mw);
Dib_verbs.c475 struct ib_mw *mw; in bnxt_re_create_fence_mr()
3707 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, in bnxt_re_alloc_mw()
3729 mw->ib_mw.rkey = mw->qplib_mw.rkey; in bnxt_re_alloc_mw()
3732 return &mw->ib_mw; in bnxt_re_alloc_mw()
3739 int bnxt_re_dealloc_mw(struct ib_mw *ib_mw) in bnxt_re_dealloc_mw() argument
3741 struct bnxt_re_mw *mw = container_of(ib_mw, struct bnxt_re_mw, ib_mw); in bnxt_re_dealloc_mw()
/Linux-v5.15/drivers/infiniband/sw/rxe/
Drxe_loc.h93 int rxe_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata);
94 int rxe_dealloc_mw(struct ib_mw *ibmw);
Drxe_verbs.h347 struct ib_mw ibmw;
467 static inline struct rxe_mw *to_rmw(struct ib_mw *mw) in to_rmw()
Drxe_mw.c8 int rxe_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in rxe_alloc_mw()
55 int rxe_dealloc_mw(struct ib_mw *ibmw) in rxe_dealloc_mw()
Drxe_verbs.c1144 INIT_RDMA_OBJ_SIZE(ib_mw, rxe_mw, ibmw),
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h145 struct ib_mw ibmw;
703 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
759 int mlx4_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
760 int mlx4_ib_dealloc_mw(struct ib_mw *mw);
Dmr.c614 int mlx4_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx4_ib_alloc_mw()
637 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) in mlx4_ib_dealloc_mw()
Dmain.c2600 INIT_RDMA_OBJ_SIZE(ib_mw, mlx4_ib_mw, ibmw),
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_device.h326 struct ib_mw ibmw;
1032 static inline struct hns_roce_mw *to_hr_mw(struct ib_mw *ibmw) in to_hr_mw()
1193 int hns_roce_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1194 int hns_roce_dealloc_mw(struct ib_mw *ibmw);
Dhns_roce_mr.c551 int hns_roce_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in hns_roce_alloc_mw()
587 int hns_roce_dealloc_mw(struct ib_mw *ibmw) in hns_roce_dealloc_mw()
Dhns_roce_main.c470 INIT_RDMA_OBJ_SIZE(ib_mw, hns_roce_mw, ibmw),
/Linux-v5.15/drivers/infiniband/hw/irdma/
Dverbs.h93 struct ib_mw ibmw;
Dmain.h387 static inline struct irdma_mr *to_iwmw(struct ib_mw *ibmw) in to_iwmw()
Dverbs.c2465 static int irdma_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in irdma_alloc_mw()
2492 static int irdma_dealloc_mw(struct ib_mw *ibmw) in irdma_dealloc_mw()
4407 INIT_RDMA_OBJ_SIZE(ib_mw, irdma_mr, ibmw),
/Linux-v5.15/drivers/infiniband/core/
Duverbs_std_types.c75 return uverbs_dealloc_mw((struct ib_mw *)uobject->object); in uverbs_free_mw()
Duverbs.h245 int uverbs_dealloc_mw(struct ib_mw *mw);
Duverbs_main.c105 int uverbs_dealloc_mw(struct ib_mw *mw) in uverbs_dealloc_mw()
Duverbs_cmd.c909 struct ib_mw *mw; in ib_uverbs_alloc_mw()
932 mw = rdma_zalloc_drv_obj(ib_dev, ib_mw); in ib_uverbs_alloc_mw()
Ddevice.c2712 SET_OBJ_SIZE(dev_ops, ib_mw); in ib_set_device_ops()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h715 struct ib_mw ibmw;
1181 static inline struct mlx5_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
1258 int mlx5_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1259 int mlx5_ib_dealloc_mw(struct ib_mw *mw);
Dmr.c2261 int mlx5_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx5_ib_alloc_mw()
2339 int mlx5_ib_dealloc_mw(struct ib_mw *mw) in mlx5_ib_dealloc_mw()
/Linux-v5.15/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h410 struct ib_mw ibmw;
418 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) in to_c4iw_mw()
Dprovider.c500 INIT_RDMA_OBJ_SIZE(ib_mw, c4iw_mw, ibmw),
/Linux-v5.15/include/rdma/
Dib_verbs.h1822 struct ib_mw { struct
2489 int (*alloc_mw)(struct ib_mw *mw, struct ib_udata *udata);
2490 int (*dealloc_mw)(struct ib_mw *mw);
2651 DECLARE_RDMA_OBJ_SIZE(ib_mw);

12