Home
last modified time | relevance | path

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

123

/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()
445 struct ib_pd *pd, in ehca_rereg_phys_mr()
534 new_pd = container_of(mr->pd, struct ehca_pd, ib_pd); in ehca_rereg_phys_mr()
570 new_pd = container_of(pd, struct ehca_pd, ib_pd); in ehca_rereg_phys_mr()
691 struct ib_mw *ehca_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in ehca_alloc_mw()
[all …]
Dehca_main.c570 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()
Dehca_classes.h138 struct ib_pd ib_pd; member
/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 *,
76 struct ib_srq *ocrdma_create_srq(struct ib_pd *, struct ib_srq_init_attr *,
86 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc);
87 struct ib_mr *ocrdma_reg_kernel_mr(struct ib_pd *,
90 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length,
Docrdma_ah.h31 struct ib_ah *ocrdma_create_ah(struct ib_pd *, struct ib_ah_attr *);
Docrdma.h210 struct ib_pd ibpd;
363 static inline struct ocrdma_pd *get_ocrdma_pd(struct ib_pd *ibpd) in get_ocrdma_pd()
/drivers/infiniband/core/
Dverbs.c142 struct ib_pd *ib_alloc_pd(struct ib_device *device) in ib_alloc_pd()
144 struct ib_pd *pd; in ib_alloc_pd()
158 int ib_dealloc_pd(struct ib_pd *pd) in ib_dealloc_pd()
169 struct ib_ah *ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in ib_create_ah()
218 struct ib_ah *ib_create_ah_from_wc(struct ib_pd *pd, struct ib_wc *wc, in ib_create_ah_from_wc()
250 struct ib_pd *pd; in ib_destroy_ah()
264 struct ib_srq *ib_create_srq(struct ib_pd *pd, in ib_create_srq()
315 struct ib_pd *pd; in ib_destroy_srq()
410 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
874 struct ib_pd *pd; in ib_destroy_qp()
[all …]
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h79 struct ib_pd ibpd;
86 struct ib_pd *pd;
379 struct ib_pd *pd;
516 static inline struct mlx4_ib_pd *to_mpd(struct ib_pd *ibpd) in to_mpd()
587 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
590 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
594 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
598 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd,
615 struct ib_ah *mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr);
619 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()
134 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx4_ib_reg_user_mr()
202 struct ib_mw *mlx4_ib_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in mlx4_ib_alloc_mw()
266 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd, in mlx4_ib_alloc_fast_reg_mr()
345 struct ib_fmr *mlx4_ib_fmr_alloc(struct ib_pd *pd, int acc, in mlx4_ib_fmr_alloc()
Dah.c61 static struct ib_ah *create_ib_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in create_ib_ah()
90 static struct ib_ah *create_iboe_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr, in create_iboe_ah()
134 struct ib_ah *mlx4_ib_create_ah(struct ib_pd *pd, struct ib_ah_attr *ah_attr) in mlx4_ib_create_ah()
/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()
334 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len) in qib_alloc_fast_reg_mr()
383 struct ib_fmr *qib_alloc_fmr(struct ib_pd *pd, int mr_access_flags, in qib_alloc_fmr()
Dqib_verbs.h225 struct ib_pd ibpd;
296 struct ib_pd *pd; /* shares refcnt of ibmr.pd */
794 static inline struct qib_pd *to_ipd(struct ib_pd *ibpd) in to_ipd()
893 struct ib_qp *qib_create_qp(struct ib_pd *ibpd,
963 struct ib_srq *qib_create_srq(struct ib_pd *ibpd,
989 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc);
991 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd,
995 struct ib_mr *qib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
1001 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len);
1010 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()
287 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.h314 struct ib_pd ibpd;
319 static inline struct c4iw_pd *to_c4iw_pd(struct ib_pd *ibpd) in to_c4iw_pd()
878 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth);
880 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type);
881 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start,
884 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc);
885 struct ib_mr *c4iw_register_phys_mem(struct ib_pd *pd,
892 struct ib_pd *pd,
905 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
Dmem.c490 struct ib_pd *pd, struct ib_phys_buf *buffer_list, in c4iw_reregister_phys_mem()
554 struct ib_mr *c4iw_register_phys_mem(struct ib_pd *pd, in c4iw_register_phys_mem()
632 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) in c4iw_get_dma_mr()
676 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in c4iw_reg_user_mr()
780 struct ib_mw *c4iw_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in c4iw_alloc_mw()
833 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth) in c4iw_alloc_fast_reg_mr()
/drivers/infiniband/ulp/isert/
Dib_isert.h100 struct ib_pd *conn_pd;
124 struct ib_pd *dev_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()
869 static struct ib_mr *mthca_get_dma_mr(struct ib_pd *pd, int acc) in mthca_get_dma_mr()
892 static struct ib_mr *mthca_reg_phys_mr(struct ib_pd *pd, in mthca_reg_phys_mr()
975 static struct ib_mr *mthca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mthca_reg_user_mr()
1091 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()
401 static int iwch_deallocate_pd(struct ib_pd *pd) in iwch_deallocate_pd()
414 static struct ib_pd *iwch_allocate_pd(struct ib_device *ibdev, in iwch_allocate_pd()
471 static struct ib_mr *iwch_register_phys_mem(struct ib_pd *pd, in iwch_register_phys_mem()
550 struct ib_pd *pd, in iwch_reregister_phys_mem()
615 static struct ib_mr *iwch_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in iwch_reg_user_mr()
723 static struct ib_mr *iwch_get_dma_mr(struct ib_pd *pd, int acc) in iwch_get_dma_mr()
741 static struct ib_mw *iwch_alloc_mw(struct ib_pd *pd, enum ib_mw_type type) in iwch_alloc_mw()
794 static struct ib_mr *iwch_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth) in iwch_alloc_fast_reg_mr()
892 static struct ib_qp *iwch_create_qp(struct ib_pd *pd, in iwch_create_qp()
Diwch_provider.h45 struct ib_pd ibpd;
50 static inline struct iwch_pd *to_iwch_pd(struct ib_pd *ibpd) in to_iwch_pd()

123