/linux-6.1.9/drivers/infiniband/sw/rdmavt/ |
D | pd.c | 18 int rvt_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_alloc_pd() argument 20 struct ib_device *ibdev = ibpd->device; in rvt_alloc_pd() 22 struct rvt_pd *pd = ibpd_to_rvtpd(ibpd); in rvt_alloc_pd() 56 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rvt_dealloc_pd() argument 58 struct rvt_dev_info *dev = ib_to_rvt(ibpd->device); in rvt_dealloc_pd()
|
D | pd.h | 12 int rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
|
D | mr.c | 729 struct rvt_dev_info *dev = ib_to_rvt(pd->ibpd.device); in rvt_lkey_ok() 761 mr->lkey != sge->lkey || mr->pd != &pd->ibpd)) in rvt_lkey_ok() 842 struct rvt_dev_info *rdi = ib_to_rvt(pd->ibpd.device); in rvt_rkey_ok()
|
/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 60 struct ib_pd ibpd; member 113 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd() argument 115 return container_of(ibpd, struct usnic_ib_pd, ibpd); in to_upd()
|
D | usnic_ib_verbs.h | 51 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata);
|
D | usnic_ib_verbs.c | 442 int usnic_ib_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in usnic_ib_alloc_pd() argument 444 struct usnic_ib_pd *pd = to_upd(ibpd); in usnic_ib_alloc_pd() 446 pd->umem_pd = usnic_uiom_alloc_pd(ibpd->device->dev.parent); in usnic_ib_alloc_pd()
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa.h | 79 struct ib_pd ibpd; member 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,
|
D | efa_verbs.c | 137 static inline struct efa_pd *to_epd(struct ib_pd *ibpd) in to_epd() argument 139 return container_of(ibpd, struct efa_pd, ibpd); in to_epd() 369 int efa_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in efa_alloc_pd() argument 371 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd() 374 struct efa_pd *pd = to_epd(ibpd); in efa_alloc_pd() 413 int efa_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in efa_dealloc_pd() argument 415 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd() 416 struct efa_pd *pd = to_epd(ibpd); in efa_dealloc_pd() 1556 static struct efa_mr *efa_alloc_mr(struct ib_pd *ibpd, int access_flags, in efa_alloc_mr() argument 1559 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_mr() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.h | 55 struct ib_pd ibpd; member 267 return container_of(pd, struct erdma_pd, ibpd); 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,
|
D | erdma_verbs.c | 354 int erdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in erdma_alloc_pd() argument 356 struct erdma_pd *pd = to_epd(ibpd); in erdma_alloc_pd() 357 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_alloc_pd() 369 int erdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in erdma_dealloc_pd() argument 371 struct erdma_pd *pd = to_epd(ibpd); in erdma_dealloc_pd() 372 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_dealloc_pd() 769 struct ib_mr *erdma_get_dma_mr(struct ib_pd *ibpd, int acc) in erdma_get_dma_mr() argument 771 struct erdma_dev *dev = to_edev(ibpd->device); in erdma_get_dma_mr() 788 mr->ibmr.pd = ibpd; in erdma_get_dma_mr() 806 struct ib_mr *erdma_ib_alloc_mr(struct ib_pd *ibpd, enum ib_mr_type mr_type, in erdma_ib_alloc_mr() argument [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_verbs.c | 140 static int rxe_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_alloc_pd() argument 142 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_alloc_pd() 143 struct rxe_pd *pd = to_rpd(ibpd); in rxe_alloc_pd() 148 static int rxe_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in rxe_dealloc_pd() argument 150 struct rxe_pd *pd = to_rpd(ibpd); in rxe_dealloc_pd() 893 static struct ib_mr *rxe_get_dma_mr(struct ib_pd *ibpd, int access) in rxe_get_dma_mr() argument 895 struct rxe_dev *rxe = to_rdev(ibpd->device); in rxe_get_dma_mr() 896 struct rxe_pd *pd = to_rpd(ibpd); in rxe_get_dma_mr() 904 mr->ibmr.pd = ibpd; in rxe_get_dma_mr() 912 static struct ib_mr *rxe_reg_user_mr(struct ib_pd *ibpd, in rxe_reg_user_mr() argument [all …]
|
D | rxe_verbs.h | 41 struct ib_pd ibpd; member 425 return pd ? container_of(pd, struct rxe_pd, ibpd) : NULL; in to_rpd()
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 80 struct ib_pd ibpd; member 291 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 293 return container_of(ibpd, struct mthca_pd, ibpd); in to_mpd()
|
/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() argument 47 struct ib_device *ib_dev = ibpd->device; in hns_roce_alloc_pd() 50 struct hns_roce_pd *pd = to_hr_pd(ibpd); in hns_roce_alloc_pd()
|
D | hns_roce_device.h | 209 struct ib_pd ibpd; member 978 static inline struct hns_roce_pd *to_hr_pd(struct ib_pd *ibpd) in to_hr_pd() argument 980 return container_of(ibpd, struct hns_roce_pd, ibpd); in to_hr_pd()
|
/linux-6.1.9/include/rdma/ |
D | rdma_vt.h | 156 struct ib_pd ibpd; member 462 static inline struct rvt_pd *ibpd_to_rvtpd(struct ib_pd *ibpd) in ibpd_to_rvtpd() argument 464 return container_of(ibpd, struct rvt_pd, ibpd); in ibpd_to_rvtpd()
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma.h | 128 struct ib_pd ibpd; member 269 static inline struct pvrdma_pd *to_vpd(struct ib_pd *ibpd) in to_vpd() argument 271 return container_of(ibpd, struct pvrdma_pd, ibpd); in to_vpd()
|
D | pvrdma_verbs.c | 427 int pvrdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in pvrdma_alloc_pd() argument 429 struct ib_device *ibdev = ibpd->device; in pvrdma_alloc_pd() 430 struct pvrdma_pd *pd = to_vpd(ibpd); in pvrdma_alloc_pd() 464 pvrdma_dealloc_pd(&pd->ibpd, udata); in pvrdma_alloc_pd()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma.h | 345 struct ib_pd ibpd; member 466 static inline struct ocrdma_pd *get_ocrdma_pd(struct ib_pd *ibpd) in get_ocrdma_pd() argument 468 return container_of(ibpd, struct ocrdma_pd, ibpd); in get_ocrdma_pd()
|
D | ocrdma_verbs.c | 425 uctx->cntxt_pd->ibpd.device = &dev->ibdev; in ocrdma_alloc_ucontext_pd() 433 struct ocrdma_dev *dev = get_ocrdma_dev(pd->ibpd.device); in ocrdma_dealloc_ucontext_pd() 629 int ocrdma_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in ocrdma_alloc_pd() argument 631 struct ib_device *ibdev = ibpd->device; in ocrdma_alloc_pd() 647 pd = get_ocrdma_pd(ibpd); in ocrdma_alloc_pd() 669 int ocrdma_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in ocrdma_dealloc_pd() argument 671 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_dealloc_pd() 672 struct ocrdma_dev *dev = get_ocrdma_dev(ibpd->device); in ocrdma_dealloc_pd() 718 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *ibpd, int acc) in ocrdma_get_dma_mr() argument 722 struct ocrdma_pd *pd = get_ocrdma_pd(ibpd); in ocrdma_get_dma_mr() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | qedr.h | 308 struct ib_pd ibpd; member 579 static inline struct qedr_pd *get_qedr_pd(struct ib_pd *ibpd) in get_qedr_pd() argument 581 return container_of(ibpd, struct qedr_pd, ibpd); in get_qedr_pd()
|
D | verbs.c | 436 int qedr_alloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_alloc_pd() argument 438 struct ib_device *ibdev = ibpd->device; in qedr_alloc_pd() 440 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_alloc_pd() 479 int qedr_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata) in qedr_dealloc_pd() argument 481 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in qedr_dealloc_pd() 482 struct qedr_pd *pd = get_qedr_pd(ibpd); in qedr_dealloc_pd() 1190 static int qedr_check_qp_attrs(struct ib_pd *ibpd, struct qedr_dev *dev, in qedr_check_qp_attrs() argument 1841 struct ib_pd *ibpd, in qedr_create_user_qp() argument 1856 if (ibpd) { in qedr_create_user_qp() 1857 pd = get_qedr_pd(ibpd); in qedr_create_user_qp() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | main.h | 373 static inline struct irdma_pd *to_iwpd(struct ib_pd *ibpd) in to_iwpd() argument 375 return container_of(ibpd, struct irdma_pd, ibpd); in to_iwpd()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 93 struct ib_pd ibpd; member 678 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd() argument 680 return container_of(ibpd, struct mlx4_ib_pd, ibpd); in to_mpd()
|
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 361 struct ib_pd ibpd; member 366 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd() argument 368 return container_of(ibpd, struct c4iw_pd, ibpd); in to_c4iw_pd()
|