/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); 182 struct ib_qp *bnxt_re_create_qp(struct ib_pd *pd, 199 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags); 203 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type mr_type, 206 struct ib_mw *bnxt_re_alloc_mw(struct ib_pd *ib_pd, enum ib_mw_type type, 209 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
|
D | ib_verbs.c | 412 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw() local 413 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_bind_fence_mw() 515 mw = bnxt_re_alloc_mw(&pd->ib_pd, IB_MW_TYPE_1, NULL); in bnxt_re_create_fence_mr() 533 int bnxt_re_dealloc_pd(struct ib_pd *ib_pd, struct ib_udata *udata) in bnxt_re_dealloc_pd() argument 535 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_dealloc_pd() 546 int bnxt_re_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in bnxt_re_alloc_pd() 552 struct bnxt_re_pd *pd = container_of(ibpd, struct bnxt_re_pd, ib_pd); in bnxt_re_alloc_pd() 634 struct ib_pd *ib_pd = ib_ah->pd; in bnxt_re_create_ah() local 635 struct bnxt_re_pd *pd = container_of(ib_pd, struct bnxt_re_pd, ib_pd); in bnxt_re_create_ah() 1413 struct ib_qp *bnxt_re_create_qp(struct ib_pd *ib_pd, in bnxt_re_create_qp() argument [all …]
|
/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); 77 struct ib_qp *ocrdma_create_qp(struct ib_pd *, 100 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc); 101 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length, 103 struct ib_mr *ocrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
|
/drivers/infiniband/hw/qedr/ |
D | verbs.h | 49 int qedr_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 50 int qedr_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata); 58 struct ib_qp *qedr_create_qp(struct ib_pd *, struct ib_qp_init_attr *attrs, 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,
|
/drivers/infiniband/sw/siw/ |
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); 53 struct ib_qp *siw_create_qp(struct ib_pd *base_pd, 68 struct ib_mr *siw_reg_user_mr(struct ib_pd *base_pd, u64 start, u64 len, 70 struct ib_mr *siw_alloc_mr(struct ib_pd *base_pd, enum ib_mr_type mr_type, 72 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
|
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_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()
|
/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); 53 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd, 62 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()
|
/drivers/infiniband/hw/efa/ |
D | efa.h | 73 struct ib_pd ibpd; 132 int efa_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 133 int efa_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 135 struct ib_qp *efa_create_qp(struct ib_pd *ibpd, 141 struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length,
|
/drivers/infiniband/sw/rdmavt/ |
D | mr.h | 68 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc); 69 struct ib_mr *rvt_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 73 struct ib_mr *rvt_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
|
D | pd.h | 53 int rvt_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 54 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
|
D | pd.c | 60 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd() 98 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.h | 401 int pvrdma_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 402 int pvrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata); 403 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc); 404 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 408 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, 428 struct ib_qp *pvrdma_create_qp(struct ib_pd *pd,
|
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()
|
/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 146 struct ib_pd ibpd; 469 struct ib_pd *pd; 660 struct ib_pd *pd; 722 struct ib_pd *p0; 1068 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() 1150 struct ib_qp *mlx5_ib_create_qp(struct ib_pd *pd, 1173 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc); 1174 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 1177 int mlx5_ib_advise_mr(struct ib_pd *pd, 1194 struct ib_pd *pd, struct ib_udata *udata); [all …]
|
D | mr.c | 54 struct ib_pd *pd) in set_mkc_access_pd_addr_fields() 811 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr() 983 alloc_mr_from_cache(struct ib_pd *pd, struct ib_umem *umem, u64 virt_addr, in alloc_mr_from_cache() 1169 static struct mlx5_ib_mr *reg_create(struct ib_mr *ibmr, struct ib_pd *pd, in reg_create() 1263 static struct ib_mr *mlx5_ib_get_dm_mr(struct ib_pd *pd, u64 start_addr, in mlx5_ib_get_dm_mr() 1309 int mlx5_ib_advise_mr(struct ib_pd *pd, in mlx5_ib_advise_mr() 1325 struct ib_mr *mlx5_ib_reg_dm_mr(struct ib_pd *pd, struct ib_dm *dm, in mlx5_ib_reg_dm_mr() 1357 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx5_ib_reg_user_mr() 1494 static int rereg_umr(struct ib_pd *pd, struct mlx5_ib_mr *mr, in rereg_umr() 1519 struct ib_pd *new_pd, struct ib_udata *udata) in mlx5_ib_rereg_user_mr() [all …]
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs.c | 80 list.lkey = sess->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_recv() 137 list.lkey = sess->dev->ib_pd->local_dma_lkey; in rtrs_iu_post_send() 235 static int create_qp(struct rtrs_con *con, struct ib_pd *pd, in create_qp() 275 err = create_qp(con, sess->dev->ib_pd, max_send_wr, max_recv_wr, in rtrs_cq_qp_create() 535 ib_dealloc_pd(dev->ib_pd); in dev_free() 577 dev->ib_pd = ib_alloc_pd(ib_dev, pool->pd_flags); in rtrs_ib_dev_find_or_add() 578 if (IS_ERR(dev->ib_pd)) in rtrs_ib_dev_find_or_add() 591 ib_dealloc_pd(dev->ib_pd); in rtrs_ib_dev_find_or_add()
|
/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, 795 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd, 913 int mr_access_flags, struct ib_pd *pd, 923 struct ib_wq *mlx4_ib_create_wq(struct ib_pd *pd,
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_device.h | 283 struct ib_pd ibpd; 1024 static inline struct hns_roce_pd *to_hr_pd(struct ib_pd *ibpd) in to_hr_pd() 1200 int hns_roce_alloc_pd(struct ib_pd *pd, struct ib_udata *udata); 1201 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata); 1203 struct ib_mr *hns_roce_get_dma_mr(struct ib_pd *pd, int acc); 1204 struct ib_mr *hns_roce_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, 1208 u64 virt_addr, int mr_access_flags, struct ib_pd *pd, 1210 struct ib_mr *hns_roce_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, 1241 struct ib_qp *hns_roce_create_qp(struct ib_pd *ib_pd,
|
D | hns_roce_pd.c | 60 int hns_roce_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in hns_roce_alloc_pd() 86 int hns_roce_dealloc_pd(struct ib_pd *pd, struct ib_udata *udata) in hns_roce_dealloc_pd()
|
/drivers/infiniband/core/ |
D | verbs.c | 258 struct ib_pd *__ib_alloc_pd(struct ib_device *device, unsigned int flags, in __ib_alloc_pd() 261 struct ib_pd *pd; in __ib_alloc_pd() 265 pd = rdma_zalloc_drv_obj(device, ib_pd); in __ib_alloc_pd() 333 int ib_dealloc_pd_user(struct ib_pd *pd, struct ib_udata *udata) in ib_dealloc_pd_user() 506 static struct ib_ah *_rdma_create_ah(struct ib_pd *pd, in _rdma_create_ah() 559 struct ib_ah *rdma_create_ah(struct ib_pd *pd, struct rdma_ah_attr *ah_attr, in rdma_create_ah() 597 struct ib_ah *rdma_create_user_ah(struct ib_pd *pd, in rdma_create_user_ah() 920 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, const struct ib_wc *wc, in ib_create_ah_from_wc() 973 struct ib_pd *pd; in rdma_destroy_ah_user() 1010 struct ib_srq *ib_create_srq_user(struct ib_pd *pd, in ib_create_srq_user() [all …]
|
D | uverbs_std_types_mr.c | 49 struct ib_pd *pd = in UVERBS_HANDLER() 90 struct ib_pd *pd = in UVERBS_HANDLER()
|
/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()
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 367 struct ib_pd ibpd; 372 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd() 982 struct ib_mr *c4iw_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, 989 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, 992 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc); 1005 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
|