/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 59 struct ib_pd ib_pd; member 165 int bnxt_re_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 166 int bnxt_re_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata); 197 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags); 201 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type mr_type, 204 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, 207 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
|
D | ib_verbs.c | 416 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw() local 417 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_bind_fence_mw() 519 mw = bnxt_re_alloc_mw(&pd->ib_pd, IB_MW_TYPE_1, NULL); in bnxt_re_create_fence_mr() 537 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd, struct ib_udata *udata) in bnxt_re_dealloc_pd() argument 539 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_dealloc_pd() 553 int bnxt_re_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in bnxt_re_alloc_pd() 559 struct bnxt_re_pd *pd = container_of(ibpd, struct bnxt_re_pd, ib_pd); in bnxt_re_alloc_pd() 645 struct ib_pd *ib_pd = ib_ah->pd; in bnxt_re_create_ah() local 646 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_ah() 1410 struct ib_pd *ib_pd = ib_qp->pd; in bnxt_re_create_qp() local [all …]
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 69 int ocrdma_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 70 int ocrdma_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata); 99 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc); 100 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length, 102 struct ib_mr *ocrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | verbs.h | 50 int qedr_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 51 int qedr_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata); 79 struct ib_mr *qedr_get_dma_mr(struct ib_pd *, int acc); 81 struct ib_mr *qedr_reg_user_mr(struct ib_pd *, u64 start, u64 length, 87 struct ib_mr *qedr_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
|
/linux-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_mem.h | 15 int siw_invalidate_stag(struct ib_pd *pd, u32 stag); 16 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr, 18 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge, 22 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj,
|
D | siw_verbs.h | 51 int siw_alloc_pd(struct ib_pd *base_pd, struct ib_udata *udata); 52 int siw_dealloc_pd(struct ib_pd *base_pd, struct ib_udata *udata); 67 struct ib_mr *siw_reg_user_mr(struct ib_pd *base_pd, u64 start, u64 len, 69 struct ib_mr *siw_alloc_mr(struct ib_pd *base_pd, enum ib_mr_type mr_type, 71 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
|
D | siw_mem.c | 89 int siw_mr_add_mem(struct siw_mr *mr, struct ib_pd *pd, void *mem_obj, in siw_mr_add_mem() 168 int siw_check_mem(struct ib_pd *pd, struct siw_mem *mem, u64 addr, in siw_check_mem() 222 int siw_check_sge(struct ib_pd *pd, struct siw_sge *sge, struct siw_mem *mem[], in siw_check_sge() 292 int siw_invalidate_stag(struct ib_pd *pd, u32 stag) in siw_invalidate_stag()
|
/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | mr.h | 26 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc); 27 struct ib_mr *rvt_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 31 struct ib_mr *rvt_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
|
D | pd.h | 11 int rvt_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 12 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
|
D | pd.c | 18 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd() 56 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd()
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa.h | 79 struct ib_pd ibpd; 146 int efa_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 147 int efa_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 154 struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length, 157 struct ib_mr *efa_reg_user_mr_dmabuf(struct ib_pd *ibpd, u64 start,
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.h | 55 struct ib_pd ibpd; 265 static inline struct erdma_pd *to_epd(struct ib_pd *pd) in to_epd() 303 int erdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *data); 304 int erdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 314 struct ib_mr *erdma_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 len, 316 struct ib_mr *erdma_get_dma_mr(struct ib_pd *ibpd, int rights); 328 struct ib_mr *erdma_ib_alloc_mr(struct ib_pd *ibpd, enum ib_mr_type mr_type,
|
/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 51 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 52 int usnic_ib_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata); 61 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length,
|
D | usnic_ib.h | 60 struct ib_pd ibpd; 113 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd()
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.h | 366 int pvrdma_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 367 int pvrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 368 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc); 369 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 373 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
|
D | pvrdma_mr.c | 58 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc) in pvrdma_get_dma_mr() 111 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in pvrdma_reg_user_mr() 204 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in pvrdma_alloc_mr()
|
/linux-6.1.9/include/rdma/ |
D | ib_verbs.h | 1538 struct ib_pd { struct 1564 struct ib_pd *pd; argument 1614 struct ib_pd *pd; 1672 struct ib_pd *pd; 1771 struct ib_pd *pd; 1820 struct ib_pd *pd; 1843 struct ib_pd *pd; 2445 int (*alloc_pd)(struct ib_pd *pd, struct ib_udata *udata); 2446 int (*dealloc_pd)(struct ib_pd *pd, struct ib_udata *udata); 2474 struct ib_mr *(*get_dma_mr)(struct ib_pd *pd, int mr_access_flags); [all …]
|
/linux-6.1.9/drivers/infiniband/ulp/rtrs/ |
D | rtrs.c | 78 list.lkey = path->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_recv() 138 list.lkey = path->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_send() 253 static int create_qp(struct rtrs_con *con, struct ib_pd *pd, in create_qp() 304 err = create_qp(con, path->dev->ib_pd, max_send_wr, max_recv_wr, in rtrs_cq_qp_create() 589 ib_dealloc_pd(dev->ib_pd); in dev_free() 631 dev->ib_pd = ib_alloc_pd(ib_dev, pool->pd_flags); in rtrs_ib_dev_find_or_add() 632 if (IS_ERR(dev->ib_pd)) in rtrs_ib_dev_find_or_add() 645 ib_dealloc_pd(dev->ib_pd); in rtrs_ib_dev_find_or_add()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 214 struct ib_pd ibpd; 718 struct ib_pd *pd; 784 struct ib_pd *p0; 1154 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() 1252 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc); 1253 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 1256 struct ib_mr *mlx5_ib_reg_user_mr_dmabuf(struct ib_pd *pd, u64 start, 1260 int mlx5_ib_advise_mr(struct ib_pd *pd, 1274 struct ib_pd *pd, struct ib_udata *udata); 1276 struct ib_mr *mlx5_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, [all …]
|
D | mr.c | 55 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, 60 struct ib_pd *pd) in set_mkc_access_pd_addr_fields() 815 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr() 915 static struct mlx5_ib_mr *alloc_cacheable_mr(struct ib_pd *pd, in alloc_cacheable_mr() 962 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, struct ib_umem *umem, in reg_create() 1048 static struct ib_mr *mlx5_ib_get_dm_mr(struct ib_pd *pd, u64 start_addr, in mlx5_ib_get_dm_mr() 1094 int mlx5_ib_advise_mr(struct ib_pd *pd, in mlx5_ib_advise_mr() 1110 struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm, in mlx5_ib_reg_dm_mr() 1143 static struct ib_mr *create_real_mr(struct ib_pd *pd, struct ib_umem *umem, in create_real_mr() 1186 static struct ib_mr *create_user_odp_mr(struct ib_pd *pd, u64 start, u64 length, in create_user_odp_mr() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 93 struct ib_pd ibpd; 100 struct ib_pd *pd; 482 struct ib_pd *pd; 678 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() 752 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc); 755 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 761 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, 912 int mr_access_flags, struct ib_pd *pd, 922 struct ib_wq *mlx4_ib_create_wq(struct ib_pd *pd,
|
/linux-6.1.9/drivers/infiniband/core/ |
D | verbs.c | 259 struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags, in __ib_alloc_pd() 262 struct ib_pd *pd; in __ib_alloc_pd() 266 pd = rdma_zalloc_drv_obj(device, ib_pd); in __ib_alloc_pd() 331 int ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata) in ib_dealloc_pd_user() 500 static struct ib_ah *_rdma_create_ah(struct ib_pd *pd, in _rdma_create_ah() 554 struct ib_ah *rdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr, in rdma_create_ah() 592 struct ib_ah *rdma_create_user_ah(struct ib_pd *pd, in rdma_create_user_ah() 915 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, in ib_create_ah_from_wc() 968 struct ib_pd *pd; in rdma_destroy_ah_user() 1005 struct ib_srq *ib_create_srq_user(struct ib_pd *pd, in ib_create_srq_user() [all …]
|
D | uverbs_std_types_mr.c | 50 struct ib_pd *pd = in UVERBS_HANDLER() 91 struct ib_pd *pd = in UVERBS_HANDLER() 191 struct ib_pd *pd = in UVERBS_HANDLER()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_pd.c | 45 int hns_roce_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in hns_roce_alloc_pd() 76 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in hns_roce_dealloc_pd()
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 80 struct ib_pd ibpd; 291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
|