Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h53 struct ib_mw *mw;
127 struct ib_mw ib_mw; member
204 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
206 int bnxt_re_dealloc_mw(struct ib_mw *mw);
Dib_verbs.c475 struct ib_mw *mw; in bnxt_re_create_fence_mr()
3719 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, in bnxt_re_alloc_mw()
3741 mw->ib_mw.rkey = mw->qplib_mw.rkey; in bnxt_re_alloc_mw()
3744 return &mw->ib_mw; in bnxt_re_alloc_mw()
3751 int bnxt_re_dealloc_mw(struct ib_mw *ib_mw) in bnxt_re_dealloc_mw() argument
3753 struct bnxt_re_mw *mw = container_of(ib_mw, struct bnxt_re_mw, ib_mw); in bnxt_re_dealloc_mw()
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_loc.h86 int rxe_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata);
87 int rxe_dealloc_mw(struct ib_mw *ibmw);
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()
Drxe_verbs.h334 struct ib_mw ibmw;
453 static inline struct rxe_mw *to_rmw(struct ib_mw *mw) in to_rmw()
Drxe_verbs.c1106 INIT_RDMA_OBJ_SIZE(ib_mw, rxe_mw, ibmw),
/Linux-v6.1/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.c613 int mlx4_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx4_ib_alloc_mw()
636 int mlx4_ib_dealloc_mw(struct ib_mw *ibmw) in mlx4_ib_dealloc_mw()
Dmain.c2602 INIT_RDMA_OBJ_SIZE(ib_mw, mlx4_ib_mw, ibmw),
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_device.h297 struct ib_mw ibmw;
995 static inline struct hns_roce_mw *to_hr_mw(struct ib_mw *ibmw) in to_hr_mw()
1159 int hns_roce_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1160 int hns_roce_dealloc_mw(struct ib_mw *ibmw);
Dhns_roce_mr.c527 int hns_roce_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in hns_roce_alloc_mw()
563 int hns_roce_dealloc_mw(struct ib_mw *ibmw) in hns_roce_dealloc_mw()
Dhns_roce_main.c546 INIT_RDMA_OBJ_SIZE(ib_mw, hns_roce_mw, ibmw),
/Linux-v6.1/drivers/infiniband/core/
Duverbs.h245 int uverbs_dealloc_mw(struct ib_mw *mw);
Duverbs_std_types.c75 return uverbs_dealloc_mw((struct ib_mw *)uobject->object); in uverbs_free_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.c2713 SET_OBJ_SIZE(dev_ops, ib_mw); in ib_set_device_ops()
/Linux-v6.1/drivers/infiniband/hw/irdma/
Dverbs.h99 struct ib_mw ibmw;
Dmain.h388 static inline struct irdma_mr *to_iwmw(struct ib_mw *ibmw) in to_iwmw()
Dverbs.c2525 static int irdma_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in irdma_alloc_mw()
2552 static int irdma_dealloc_mw(struct ib_mw *ibmw) in irdma_dealloc_mw()
4504 INIT_RDMA_OBJ_SIZE(ib_mw, irdma_mr, ibmw),
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h700 struct ib_mw ibmw;
1189 static inline struct mlx5_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
1266 int mlx5_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1267 int mlx5_ib_dealloc_mw(struct ib_mw *mw);
Dmr.c1902 int mlx5_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx5_ib_alloc_mw()
1980 int mlx5_ib_dealloc_mw(struct ib_mw *mw) in mlx5_ib_dealloc_mw()
/Linux-v6.1/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h409 struct ib_mw ibmw;
417 static inline struct c4iw_mw *to_c4iw_mw(struct ib_mw *ibmw) in to_c4iw_mw()
Dprovider.c505 INIT_RDMA_OBJ_SIZE(ib_mw, c4iw_mw, ibmw),
/Linux-v6.1/include/rdma/
Dib_verbs.h1841 struct ib_mw { struct
2508 int (*alloc_mw)(struct ib_mw *mw, struct ib_udata *udata);
2509 int (*dealloc_mw)(struct ib_mw *mw);
2669 DECLARE_RDMA_OBJ_SIZE(ib_mw);

12