Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/infiniband/hw/bnxt_re/
H A Dib_verbs.h53 struct ib_mw *mw;
136 struct ib_mw ib_mw; member
256 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
258 int bnxt_re_dealloc_mw(struct ib_mw *mw);
H A Dib_verbs.c559 struct ib_mw *mw; in bnxt_re_create_fence_mr()
4110 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, in bnxt_re_alloc_mw()
4133 mw->ib_mw.rkey = mw->qplib_mw.rkey; in bnxt_re_alloc_mw()
4138 return &mw->ib_mw; in bnxt_re_alloc_mw()
4145 int bnxt_re_dealloc_mw(struct ib_mw *ib_mw) in bnxt_re_dealloc_mw() argument
4147 struct bnxt_re_mw *mw = container_of(ib_mw, struct bnxt_re_mw, ib_mw); in bnxt_re_dealloc_mw()
/linux-6.15/drivers/infiniband/sw/rxe/
H A Drxe_mw.c16 int rxe_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in rxe_alloc_mw()
41 int rxe_dealloc_mw(struct ib_mw *ibmw) in rxe_dealloc_mw()
H A Drxe_loc.h88 int rxe_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata);
89 int rxe_dealloc_mw(struct ib_mw *ibmw);
H A Drxe_verbs.h372 struct ib_mw ibmw;
496 static inline struct rxe_mw *to_rmw(struct ib_mw *mw) in to_rmw()
H A Drxe_verbs.c1526 INIT_RDMA_OBJ_SIZE(ib_mw, rxe_mw, ibmw),
/linux-6.15/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h146 struct ib_mw ibmw;
708 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
764 int mlx4_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
765 int mlx4_ib_dealloc_mw(struct ib_mw *mw);
H A Dmr.c351 int mlx4_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx4_ib_alloc_mw()
374 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) in mlx4_ib_dealloc_mw()
H A Dmain.c2598 INIT_RDMA_OBJ_SIZE(ib_mw, mlx4_ib_mw, ibmw),
/linux-6.15/drivers/infiniband/core/
H A Duverbs.h216 int uverbs_dealloc_mw(struct ib_mw *mw);
H A Duverbs_std_types.c75 return uverbs_dealloc_mw((struct ib_mw *)uobject->object); in uverbs_free_mw()
H A Duverbs_main.c118 int uverbs_dealloc_mw(struct ib_mw *mw) in uverbs_dealloc_mw()
H A Duverbs_cmd.c926 struct ib_mw *mw; in ib_uverbs_alloc_mw()
949 mw = rdma_zalloc_drv_obj(ib_dev, ib_mw); in ib_uverbs_alloc_mw()
H A Ddevice.c2796 SET_OBJ_SIZE(dev_ops, ib_mw); in ib_set_device_ops()
/linux-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_device.h320 struct ib_mw ibmw;
1061 static inline struct hns_roce_mw *to_hr_mw(struct ib_mw *ibmw) in to_hr_mw()
1229 int hns_roce_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1230 int hns_roce_dealloc_mw(struct ib_mw *ibmw);
H A Dhns_roce_mr.c553 int hns_roce_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in hns_roce_alloc_mw()
589 int hns_roce_dealloc_mw(struct ib_mw *ibmw) in hns_roce_dealloc_mw()
H A Dhns_roce_main.c680 INIT_RDMA_OBJ_SIZE(ib_mw, hns_roce_mw, ibmw),
/linux-6.15/drivers/infiniband/hw/irdma/
H A Dverbs.h100 struct ib_mw ibmw;
H A Dmain.h395 static inline struct irdma_mr *to_iwmw(struct ib_mw *ibmw) in to_iwmw()
H A Dverbs.c2575 static int irdma_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in irdma_alloc_mw()
2602 static int irdma_dealloc_mw(struct ib_mw *ibmw) in irdma_dealloc_mw()
4753 INIT_RDMA_OBJ_SIZE(ib_mw, irdma_mr, ibmw),
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h759 struct ib_mw ibmw;
1313 static inline struct mlx5_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
1392 int mlx5_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1393 int mlx5_ib_dealloc_mw(struct ib_mw *mw);
H A Dmr.c2438 int mlx5_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx5_ib_alloc_mw()
2514 int mlx5_ib_dealloc_mw(struct ib_mw *mw) in mlx5_ib_dealloc_mw()
/linux-6.15/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h409 struct ib_mw ibmw;
417 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) in to_c4iw_mw()
H A Dprovider.c505 INIT_RDMA_OBJ_SIZE(ib_mw, c4iw_mw, ibmw),
/linux-6.15/include/rdma/
H A Dib_verbs.h1870 struct ib_mw { struct
2524 int (*alloc_mw)(struct ib_mw *mw, struct ib_udata *udata);
2525 int (*dealloc_mw)(struct ib_mw *mw);
2718 DECLARE_RDMA_OBJ_SIZE(ib_mw);

12