Home
last modified time | relevance | path

Searched refs:ib_pd (Results 1 – 25 of 69) sorted by relevance

123

/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h55 struct ib_pd *ocrdma_alloc_pd(struct ib_device *,
57 int ocrdma_dealloc_pd(struct ib_pd *pd);
64 struct ib_qp *ocrdma_create_qp(struct ib_pd *,
77 struct ib_srq *ocrdma_create_srq(struct ib_pd *, struct ib_srq_init_attr *,
87 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc);
88 struct ib_mr *ocrdma_reg_kernel_mr(struct ib_pd *,
91 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length,
93 struct ib_mr *ocrdma_alloc_frmr(struct ib_pd *pd, int max_page_list_len);
Docrdma_ah.h31 struct ib_ah *ocrdma_create_ah(struct ib_pd *, struct ib_ah_attr *);
/drivers/infiniband/hw/ehca/
Dehca_iverbs.h63 struct ib_pd *ehca_alloc_pd(struct ib_device *device,
67 int ehca_dealloc_pd(struct ib_pd *pd);
69 struct ib_ah *ehca_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr);
77 struct ib_mr *ehca_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
79 struct ib_mr *ehca_reg_phys_mr(struct ib_pd *pd,
84 struct ib_mr *ehca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
90 struct ib_pd *pd,
98 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
105 struct ib_fmr *ehca_alloc_fmr(struct ib_pd *pd,
143 struct ib_qp *ehca_create_qp(struct ib_pd *pd,
[all …]
Dehca_pd.c48 struct ib_pd *ehca_alloc_pd(struct ib_device *device, in ehca_alloc_pd()
82 return &pd->ib_pd; in ehca_alloc_pd()
85 int ehca_dealloc_pd(struct ib_pd *pd) in ehca_dealloc_pd()
87 struct ehca_pd *my_pd = container_of(pd, struct ehca_pd, ib_pd); in ehca_dealloc_pd()
Dehca_mrmw.c156 struct ib_mr *ehca_get_dma_mr(struct ib_pd *pd, int mr_access_flags) in ehca_get_dma_mr()
161 struct ehca_pd *e_pd = container_of(pd, struct ehca_pd, ib_pd); in ehca_get_dma_mr()
199 struct ib_mr *ehca_reg_phys_mr(struct ib_pd *pd, in ehca_reg_phys_mr()
210 struct ehca_pd *e_pd = container_of(pd, struct ehca_pd, ib_pd); in ehca_reg_phys_mr()
313 struct ib_mr *ehca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in ehca_reg_user_mr()
321 struct ehca_pd *e_pd = container_of(pd, struct ehca_pd, ib_pd); in ehca_reg_user_mr()
442 struct ib_pd *pd, in ehca_rereg_phys_mr()
531 new_pd = container_of(mr->pd, struct ehca_pd, ib_pd); in ehca_rereg_phys_mr()
567 new_pd = container_of(pd, struct ehca_pd, ib_pd); in ehca_rereg_phys_mr()
688 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in ehca_alloc_mw()
[all …]
Dehca_main.c571 ibqp = ib_create_qp(&shca->pd->ib_pd, &qp_init_attr); in ehca_create_aqp1()
721 struct ib_pd *ibpd; in ehca_probe()
791 shca->pd = container_of(ibpd, struct ehca_pd, ib_pd); in ehca_probe()
792 shca->pd->ib_pd.device = &shca->ib_device; in ehca_probe()
859 ret = ehca_dealloc_pd(&shca->pd->ib_pd); in ehca_probe()
908 ret = ehca_dealloc_pd(&shca->pd->ib_pd); in ehca_remove()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h37 struct ib_pd *usnic_ib_alloc_pd(struct ib_device *ibdev,
40 int usnic_ib_dealloc_pd(struct ib_pd *pd);
41 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd,
51 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length,
60 struct ib_ah *usnic_ib_create_ah(struct ib_pd *pd,
71 struct ib_mr *usnic_ib_get_dma_mr(struct ib_pd *pd, int acc);
Dusnic_ib.h45 struct ib_pd ibpd;
94 struct usnic_ib_pd *to_upd(struct ib_pd *ibpd) in to_upd()
Dusnic_ib_verbs.c418 struct ib_pd *usnic_ib_alloc_pd(struct ib_device *ibdev, in usnic_ib_alloc_pd()
442 int usnic_ib_dealloc_pd(struct ib_pd *pd) in usnic_ib_dealloc_pd()
451 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd, in usnic_ib_create_qp()
594 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length, in usnic_ib_reg_mr()
719 struct ib_ah *usnic_ib_create_ah(struct ib_pd *pd, in usnic_ib_create_ah()
760 struct ib_mr *usnic_ib_get_dma_mr(struct ib_pd *pd, int acc) in usnic_ib_get_dma_mr()
/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h104 struct ib_pd ibpd;
290 struct ib_pd *pd;
357 struct ib_pd *p0;
417 static inline struct mlx5_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
468 struct ib_ah *mlx5_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr);
471 struct ib_srq *mlx5_ib_create_srq(struct ib_pd *pd,
480 struct ib_qp *mlx5_ib_create_qp(struct ib_pd *pd,
501 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc);
502 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
507 struct ib_mr *mlx5_ib_create_mr(struct ib_pd *pd,
[all …]
Dmr.c610 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr()
671 static void prep_umr_reg_wqe(struct ib_pd *pd, struct ib_send_wr *wr, in prep_umr_reg_wqe()
731 static struct mlx5_ib_mr *reg_umr(struct ib_pd *pd, struct ib_umem *umem, in reg_umr()
815 static struct mlx5_ib_mr *reg_create(struct ib_pd *pd, u64 virt_addr, in reg_create()
871 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx5_ib_reg_user_mr()
1009 struct ib_mr *mlx5_ib_create_mr(struct ib_pd *pd, in mlx5_ib_create_mr()
1125 struct ib_mr *mlx5_ib_alloc_fast_reg_mr(struct ib_pd *pd, in mlx5_ib_alloc_fast_reg_mr()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h81 struct ib_pd ibpd;
88 struct ib_pd *pd;
407 struct ib_pd *pd;
555 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
632 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
635 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
639 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
643 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd,
660 struct ib_ah *mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr);
664 struct ib_srq *mlx4_ib_create_srq(struct ib_pd *pd,
[all …]
Dmr.c57 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr()
133 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx4_ib_reg_user_mr()
190 int mr_access_flags, struct ib_pd *pd, in mlx4_ib_rereg_user_mr()
290 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in mlx4_ib_alloc_mw()
354 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd, in mlx4_ib_alloc_fast_reg_mr()
433 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, in mlx4_ib_fmr_alloc()
Dah.c42 static struct ib_ah *create_ib_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in create_ib_ah()
71 static struct ib_ah *create_iboe_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in create_iboe_ah()
112 struct ib_ah *mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in mlx4_ib_create_ah()
/drivers/infiniband/core/
Dverbs.c151 struct ib_pd *ib_alloc_pd(struct ib_device *device) in ib_alloc_pd()
153 struct ib_pd *pd; in ib_alloc_pd()
167 int ib_dealloc_pd(struct ib_pd *pd) in ib_dealloc_pd()
178 struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in ib_create_ah()
247 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, struct ib_wc *wc, in ib_create_ah_from_wc()
279 struct ib_pd *pd; in ib_destroy_ah()
293 struct ib_srq *ib_create_srq(struct ib_pd *pd, in ib_create_srq()
344 struct ib_pd *pd; in ib_destroy_srq()
442 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
977 struct ib_pd *pd; in ib_destroy_qp()
[all …]
/drivers/infiniband/hw/qib/
Dqib_mr.c50 static int init_qib_mregion(struct qib_mregion *mr, struct ib_pd *pd, in init_qib_mregion()
96 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc) in qib_get_dma_mr()
138 static struct qib_mr *alloc_mr(int count, struct ib_pd *pd) in alloc_mr()
182 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd, in qib_reg_phys_mr()
229 struct ib_mr *qib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in qib_reg_user_mr()
330 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len) in qib_alloc_fast_reg_mr()
379 struct ib_fmr *qib_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in qib_alloc_fmr()
Dqib_verbs.h226 struct ib_pd ibpd;
298 struct ib_pd *pd; /* shares refcnt of ibmr.pd */
813 static inline struct qib_pd *to_ipd(struct ib_pd *ibpd) in to_ipd()
910 struct ib_qp *qib_create_qp(struct ib_pd *ibpd,
992 struct ib_srq *qib_create_srq(struct ib_pd *ibpd,
1022 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc);
1024 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd,
1028 struct ib_mr *qib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
1034 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len);
1043 struct ib_fmr *qib_alloc_fmr(struct ib_pd *pd, int mr_access_flags,
/drivers/infiniband/hw/ipath/
Dipath_verbs.h172 struct ib_pd ibpd;
242 struct ib_pd *pd; /* shares refcnt of ibmr.pd */
660 static inline struct ipath_pd *to_ipd(struct ib_pd *ibpd) in to_ipd()
736 struct ib_qp *ipath_create_qp(struct ib_pd *ibpd,
794 struct ib_srq *ipath_create_srq(struct ib_pd *ibpd,
820 struct ib_mr *ipath_get_dma_mr(struct ib_pd *pd, int acc);
822 struct ib_mr *ipath_reg_phys_mr(struct ib_pd *pd,
826 struct ib_mr *ipath_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
832 struct ib_fmr *ipath_alloc_fmr(struct ib_pd *pd, int mr_access_flags,
Dipath_mr.c63 struct ib_mr *ipath_get_dma_mr(struct ib_pd *pd, int acc) in ipath_get_dma_mr()
132 struct ib_mr *ipath_reg_phys_mr(struct ib_pd *pd, in ipath_reg_phys_mr()
185 struct ib_mr *ipath_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in ipath_reg_user_mr()
282 struct ib_fmr *ipath_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in ipath_alloc_fmr()
/drivers/infiniband/hw/amso1100/
Dc2_provider.c151 static struct ib_pd *c2_alloc_pd(struct ib_device *ibdev, in c2_alloc_pd()
181 static int c2_dealloc_pd(struct ib_pd *pd) in c2_dealloc_pd()
190 static struct ib_ah *c2_ah_create(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in c2_ah_create()
232 static struct ib_qp *c2_create_qp(struct ib_pd *pd, in c2_create_qp()
332 static struct ib_mr *c2_reg_phys_mr(struct ib_pd *ib_pd, in c2_reg_phys_mr() argument
394 mr->pd = to_c2pd(ib_pd); in c2_reg_phys_mr()
402 err = c2_nsmr_register_phys_kern(to_c2dev(ib_pd->device), page_list, in c2_reg_phys_mr()
415 static struct ib_mr *c2_get_dma_mr(struct ib_pd *pd, int acc) in c2_get_dma_mr()
428 static struct ib_mr *c2_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in c2_reg_user_mr()
Dc2_provider.h69 struct ib_pd ibpd;
132 static inline struct c2_pd *to_c2pd(struct ib_pd *ibpd) in to_c2pd()
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h357 struct ib_pd ibpd;
362 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd()
969 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth);
971 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
972 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start,
975 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc);
976 struct ib_mr *c4iw_register_phys_mem(struct ib_pd *pd,
983 struct ib_pd *pd,
996 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
/drivers/infiniband/hw/mthca/
Dmthca_provider.h98 struct ib_pd ibpd;
314 static inline struct mthca_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
Dmthca_provider.c371 static struct ib_pd *mthca_alloc_pd(struct ib_device *ibdev, in mthca_alloc_pd()
399 static int mthca_dealloc_pd(struct ib_pd *pd) in mthca_dealloc_pd()
407 static struct ib_ah *mthca_ah_create(struct ib_pd *pd, in mthca_ah_create()
434 static struct ib_srq *mthca_create_srq(struct ib_pd *pd, in mthca_create_srq()
510 static struct ib_qp *mthca_create_qp(struct ib_pd *pd, in mthca_create_qp()
870 static struct ib_mr *mthca_get_dma_mr(struct ib_pd *pd, int acc) in mthca_get_dma_mr()
893 static struct ib_mr *mthca_reg_phys_mr(struct ib_pd *pd, in mthca_reg_phys_mr()
976 static struct ib_mr *mthca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mthca_reg_user_mr()
1088 static struct ib_fmr *mthca_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in mthca_alloc_fmr()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c64 static struct ib_ah *iwch_ah_create(struct ib_pd *pd, in iwch_ah_create()
402 static int iwch_deallocate_pd(struct ib_pd *pd) in iwch_deallocate_pd()
415 static struct ib_pd *iwch_allocate_pd(struct ib_device *ibdev, in iwch_allocate_pd()
472 static struct ib_mr *iwch_register_phys_mem(struct ib_pd *pd, in iwch_register_phys_mem()
551 struct ib_pd *pd, in iwch_reregister_phys_mem()
616 static struct ib_mr *iwch_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in iwch_reg_user_mr()
719 static struct ib_mr *iwch_get_dma_mr(struct ib_pd *pd, int acc) in iwch_get_dma_mr()
737 static struct ib_mw *iwch_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in iwch_alloc_mw()
790 static struct ib_mr *iwch_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth) in iwch_alloc_fast_reg_mr()
888 static struct ib_qp *iwch_create_qp(struct ib_pd *pd, in iwch_create_qp()

123