Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h53 struct ib_mw *mw;
131 struct ib_mw ib_mw; member
226 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type,
228 int bnxt_re_dealloc_mw(struct ib_mw *mw);
Dib_verbs.c485 struct ib_mw *mw; in bnxt_re_create_fence_mr()
3941 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, in bnxt_re_alloc_mw()
3964 mw->ib_mw.rkey = mw->qplib_mw.rkey; in bnxt_re_alloc_mw()
3969 return &mw->ib_mw; in bnxt_re_alloc_mw()
3976 int bnxt_re_dealloc_mw(struct ib_mw *ib_mw) in bnxt_re_dealloc_mw() argument
3978 struct bnxt_re_mw *mw = container_of(ib_mw, struct bnxt_re_mw, ib_mw); in bnxt_re_dealloc_mw()
/Linux-v6.6/drivers/infiniband/sw/rxe/
Drxe_loc.h84 int rxe_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata);
85 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.c1495 INIT_RDMA_OBJ_SIZE(ib_mw, rxe_mw, ibmw),
/Linux-v6.6/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h146 struct ib_mw ibmw;
705 static inline struct mlx4_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
761 int mlx4_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
762 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.c2596 INIT_RDMA_OBJ_SIZE(ib_mw, mlx4_ib_mw, ibmw),
/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_device.h300 struct ib_mw ibmw;
1011 static inline struct hns_roce_mw *to_hr_mw(struct ib_mw *ibmw) in to_hr_mw()
1174 int hns_roce_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1175 int hns_roce_dealloc_mw(struct ib_mw *ibmw);
Dhns_roce_mr.c528 int hns_roce_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in hns_roce_alloc_mw()
564 int hns_roce_dealloc_mw(struct ib_mw *ibmw) in hns_roce_dealloc_mw()
Dhns_roce_main.c655 INIT_RDMA_OBJ_SIZE(ib_mw, hns_roce_mw, ibmw),
/Linux-v6.6/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.c116 int uverbs_dealloc_mw(struct ib_mw *mw) in uverbs_dealloc_mw()
Ddevice.c2715 SET_OBJ_SIZE(dev_ops, ib_mw); in ib_set_device_ops()
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()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dverbs.h100 struct ib_mw ibmw;
Dmain.h393 static inline struct irdma_mr *to_iwmw(struct ib_mw *ibmw) in to_iwmw()
Dverbs.c2560 static int irdma_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in irdma_alloc_mw()
2587 static int irdma_dealloc_mw(struct ib_mw *ibmw) in irdma_dealloc_mw()
4587 INIT_RDMA_OBJ_SIZE(ib_mw, irdma_mr, ibmw),
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h726 struct ib_mw ibmw;
1242 static inline struct mlx5_ib_mw *to_mmw(struct ib_mw *ibmw) in to_mmw()
1319 int mlx5_ib_alloc_mw(struct ib_mw *mw, struct ib_udata *udata);
1320 int mlx5_ib_dealloc_mw(struct ib_mw *mw);
Dmr.c2188 int mlx5_ib_alloc_mw(struct ib_mw *ibmw, struct ib_udata *udata) in mlx5_ib_alloc_mw()
2264 int mlx5_ib_dealloc_mw(struct ib_mw *mw) in mlx5_ib_dealloc_mw()
/Linux-v6.6/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.6/include/rdma/
Dib_verbs.h1851 struct ib_mw { struct
2519 int (*alloc_mw)(struct ib_mw *mw, struct ib_udata *udata);
2520 int (*dealloc_mw)(struct ib_mw *mw);
2680 DECLARE_RDMA_OBJ_SIZE(ib_mw);

12