Home
last modified time | relevance | path

Searched refs:ib_mr (Results 1 – 25 of 46) sorted by relevance

12

/drivers/infiniband/hw/ehca/
Dehca_mrmw.c156 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 …]
Dehca_iverbs.h77 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/
Docrdma_verbs.h86 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/
Dqib_mr.c96 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 …]
Dqib_verbs.h330 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/
Dmlx5_ib.h257 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,
Dmr.c610 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/
Dipath_mr.c63 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()
Dipath_verbs.h269 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/
Dib_isert.h62 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/
Dusnic_ib_verbs.h51 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);
Dusnic_ib.h50 struct ib_mr ibmr;
106 struct usnic_ib_mr *to_umr(struct ib_mr *ibmr) in to_umr()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h116 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,
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()
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/
Dverbs.c1058 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/
Diw_cxgb4.h386 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);
Dmem.c493 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/
Discsi_iser.h373 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/
Dc2_provider.c332 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()
Dc2_provider.h74 struct ib_mr ibmr;
142 static inline struct c2_mr *to_c2mr(struct ib_mr *ibmr) in to_c2mr()
/drivers/infiniband/ulp/srp/
Dib_srp.h96 struct ib_mr *mr;
221 struct ib_mr *mr;
/drivers/infiniband/hw/nes/
Dnes_verbs.h74 struct ib_mr ibmr;
145 struct ib_mr *lsmm_mr;
/drivers/infiniband/hw/mthca/
Dmthca_provider.h74 struct ib_mr ibmr;
309 static inline struct mthca_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c445 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()
Diwch_provider.h75 struct ib_mr ibmr;
84 static inline struct iwch_mr *to_iwch_mr(struct ib_mr *ibmr) in to_iwch_mr()

12