/drivers/infiniband/hw/ehca/ |
D | ehca_mrmw.c | 156 struct ib_mr *ehca_get_dma_mr(struct ib_pd *pd, int mr_access_flags) in ehca_get_dma_mr() 158 struct ib_mr *ib_mr; in ehca_get_dma_mr() local 169 ib_mr = ERR_PTR(-ENOMEM); in ehca_get_dma_mr() 176 &e_maxmr->ib.ib_mr.lkey, in ehca_get_dma_mr() 177 &e_maxmr->ib.ib_mr.rkey); in ehca_get_dma_mr() 180 ib_mr = ERR_PTR(ret); in ehca_get_dma_mr() 183 ib_mr = &e_maxmr->ib.ib_mr; in ehca_get_dma_mr() 186 ib_mr = ERR_PTR(-EINVAL); in ehca_get_dma_mr() 191 if (IS_ERR(ib_mr)) in ehca_get_dma_mr() 193 PTR_ERR(ib_mr), pd, mr_access_flags); in ehca_get_dma_mr() [all …]
|
D | ehca_iverbs.h | 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, 88 int ehca_rereg_phys_mr(struct ib_mr *mr, 94 int ehca_query_mr(struct ib_mr *mr, struct ib_mr_attr *mr_attr); 96 int ehca_dereg_mr(struct ib_mr *mr);
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 86 int ocrdma_dereg_mr(struct ib_mr *); 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);
|
/drivers/infiniband/hw/qib/ |
D | qib_mr.c | 96 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc) in qib_get_dma_mr() 99 struct ib_mr *ret; in qib_get_dma_mr() 182 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd, in qib_reg_phys_mr() 188 struct ib_mr *ret; in qib_reg_phys_mr() 192 ret = (struct ib_mr *)mr; 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() 237 struct ib_mr *ret; in qib_reg_user_mr() 253 ret = (struct ib_mr *)mr; in qib_reg_user_mr() 300 int qib_dereg_mr(struct ib_mr *ibmr) in qib_dereg_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() [all …]
|
D | qib_verbs.h | 330 struct ib_mr ibmr; 808 static inline struct qib_mr *to_imr(struct ib_mr *ibmr) in to_imr() 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, 1032 int qib_dereg_mr(struct ib_mr *ibmr); 1034 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len);
|
/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 257 struct ib_mr ibmr; 293 struct ib_mr *mr; 437 static inline struct mlx5_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr() 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, 505 int mlx5_ib_dereg_mr(struct ib_mr *ibmr); 506 int mlx5_ib_destroy_mr(struct ib_mr *ibmr); 507 struct ib_mr *mlx5_ib_create_mr(struct ib_pd *pd, 509 struct ib_mr *mlx5_ib_alloc_fast_reg_mr(struct ib_pd *pd, 544 int mlx5_ib_check_mr_status(struct ib_mr *ibmr, u32 check_mask,
|
D | mr.c | 610 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr() 677 struct ib_mr *mr = dev->umrc.mr; in prep_umr_reg_wqe() 871 struct ib_mr *mlx5_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx5_ib_reg_user_mr() 971 int mlx5_ib_dereg_mr(struct ib_mr *ibmr) in mlx5_ib_dereg_mr() 1009 struct ib_mr *mlx5_ib_create_mr(struct ib_pd *pd, in mlx5_ib_create_mr() 1095 int mlx5_ib_destroy_mr(struct ib_mr *ibmr) in mlx5_ib_destroy_mr() 1125 struct ib_mr *mlx5_ib_alloc_fast_reg_mr(struct ib_pd *pd, in mlx5_ib_alloc_fast_reg_mr() 1211 int mlx5_ib_check_mr_status(struct ib_mr *ibmr, u32 check_mask, in mlx5_ib_check_mr_status()
|
/drivers/infiniband/hw/ipath/ |
D | ipath_mr.c | 63 struct ib_mr *ipath_get_dma_mr(struct ib_pd *pd, int acc) in ipath_get_dma_mr() 66 struct ib_mr *ret; in ipath_get_dma_mr() 132 struct ib_mr *ipath_reg_phys_mr(struct ib_pd *pd, in ipath_reg_phys_mr() 138 struct ib_mr *ret; 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() 193 struct ib_mr *ret; in ipath_reg_user_mr() 255 int ipath_dereg_mr(struct ib_mr *ibmr) in ipath_dereg_mr()
|
D | ipath_verbs.h | 269 struct ib_mr ibmr; 655 static inline struct ipath_mr *to_imr(struct ib_mr *ibmr) in to_imr() 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, 830 int ipath_dereg_mr(struct ib_mr *ibmr);
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 62 struct ib_mr *prot_mr; 64 struct ib_mr *sig_mr; 69 struct ib_mr *data_mr; 149 struct ib_mr *conn_mr;
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 51 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length, 54 int usnic_ib_dereg_mr(struct ib_mr *ibmr); 71 struct ib_mr *usnic_ib_get_dma_mr(struct ib_pd *pd, int acc);
|
D | usnic_ib.h | 50 struct ib_mr ibmr; 106 struct usnic_ib_mr *to_umr(struct ib_mr *ibmr) in to_umr()
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 116 struct ib_mr ibmr; 408 struct ib_mr *mr; 575 static inline struct mlx4_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr() 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, 638 int mlx4_ib_dereg_mr(struct ib_mr *mr); 643 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd, 792 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags,
|
D | mr.c | 57 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() 188 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, in mlx4_ib_rereg_user_mr() 275 int mlx4_ib_dereg_mr(struct ib_mr *ibmr) in mlx4_ib_dereg_mr() 354 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd, in mlx4_ib_alloc_fast_reg_mr()
|
/drivers/infiniband/core/ |
D | verbs.c | 1058 struct ib_mr *ib_get_dma_mr(struct ib_pd *pd, int mr_access_flags) in ib_get_dma_mr() 1060 struct ib_mr *mr; in ib_get_dma_mr() 1081 struct ib_mr *ib_reg_phys_mr(struct ib_pd *pd, in ib_reg_phys_mr() 1087 struct ib_mr *mr; in ib_reg_phys_mr() 1112 int ib_rereg_phys_mr(struct ib_mr *mr, in ib_rereg_phys_mr() 1148 int ib_query_mr(struct ib_mr *mr, struct ib_mr_attr *mr_attr) in ib_query_mr() 1155 int ib_dereg_mr(struct ib_mr *mr) in ib_dereg_mr() 1172 struct ib_mr *ib_create_mr(struct ib_pd *pd, in ib_create_mr() 1175 struct ib_mr *mr; in ib_create_mr() 1194 int ib_destroy_mr(struct ib_mr *mr) in ib_destroy_mr() [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 386 struct ib_mr ibmr; 393 static inline struct c4iw_mr *to_c4iw_mr(struct ib_mr *ibmr) in to_c4iw_mr() 969 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth); 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, 981 int c4iw_reregister_phys_mem(struct ib_mr *mr, 987 int c4iw_dereg_mr(struct ib_mr *ib_mr);
|
D | mem.c | 493 int c4iw_reregister_phys_mem(struct ib_mr *mr, int mr_rereg_mask, in c4iw_reregister_phys_mem() 558 struct ib_mr *c4iw_register_phys_mem(struct ib_pd *pd, in c4iw_register_phys_mem() 636 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) in c4iw_get_dma_mr() 680 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in c4iw_reg_user_mr() 832 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth) in c4iw_alloc_fast_reg_mr() 928 int c4iw_dereg_mr(struct ib_mr *ib_mr) in c4iw_dereg_mr() argument 934 PDBG("%s ib_mr %p\n", __func__, ib_mr); in c4iw_dereg_mr() 936 if (atomic_read(&ib_mr->usecnt)) in c4iw_dereg_mr() 939 mhp = to_c4iw_mr(ib_mr); in c4iw_dereg_mr()
|
/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.h | 373 struct ib_mr *mr; 407 struct ib_mr *prot_mr; 409 struct ib_mr *sig_mr; 423 struct ib_mr *data_mr;
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 332 static struct ib_mr *c2_reg_phys_mr(struct ib_pd *ib_pd, 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() 494 static int c2_dereg_mr(struct ib_mr *ib_mr) in c2_dereg_mr() argument 496 struct c2_mr *mr = to_c2mr(ib_mr); in c2_dereg_mr() 501 err = c2_stag_dealloc(to_c2dev(ib_mr->device), ib_mr->lkey); in c2_dereg_mr()
|
D | c2_provider.h | 74 struct ib_mr ibmr; 142 static inline struct c2_mr *to_c2mr(struct ib_mr *ibmr) in to_c2mr()
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 96 struct ib_mr *mr; 221 struct ib_mr *mr;
|
/drivers/infiniband/hw/nes/ |
D | nes_verbs.h | 74 struct ib_mr ibmr; 145 struct ib_mr *lsmm_mr;
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 74 struct ib_mr ibmr; 309 static inline struct mthca_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 445 static int iwch_dereg_mr(struct ib_mr *ib_mr) in iwch_dereg_mr() argument 451 PDBG("%s ib_mr %p\n", __func__, ib_mr); in iwch_dereg_mr() 453 if (atomic_read(&ib_mr->usecnt)) in iwch_dereg_mr() 456 mhp = to_iwch_mr(ib_mr); in iwch_dereg_mr() 472 static struct ib_mr *iwch_register_phys_mem(struct ib_pd *pd, in iwch_register_phys_mem() 549 static int iwch_reregister_phys_mem(struct ib_mr *mr, 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() 723 struct ib_mr *ibmr; in iwch_get_dma_mr() 790 static struct ib_mr *iwch_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth) in iwch_alloc_fast_reg_mr()
|
D | iwch_provider.h | 75 struct ib_mr ibmr; 84 static inline struct iwch_mr *to_iwch_mr(struct ib_mr *ibmr) in to_iwch_mr()
|