Home
last modified time | relevance | path

Searched refs:ib_mr (Results 1 – 25 of 29) 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);
Dehca_classes.h268 struct ib_mr ib_mr; /* must always be first in ehca_mr */ member
/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()
260 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/hw/qib/
Dqib_mr.c59 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc) in qib_get_dma_mr()
63 struct ib_mr *ret; in qib_get_dma_mr()
143 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd, in qib_reg_phys_mr()
149 struct ib_mr *ret; in qib_reg_phys_mr()
195 struct ib_mr *qib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in qib_reg_user_mr()
203 struct ib_mr *ret; in qib_reg_user_mr()
271 int qib_dereg_mr(struct ib_mr *ibmr) in qib_dereg_mr()
297 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len) in qib_alloc_fast_reg_mr()
Dqib_verbs.h324 struct ib_mr ibmr;
765 static inline struct qib_mr *to_imr(struct ib_mr *ibmr) in to_imr()
967 struct ib_mr *qib_get_dma_mr(struct ib_pd *pd, int acc);
969 struct ib_mr *qib_reg_phys_mr(struct ib_pd *pd,
973 struct ib_mr *qib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
977 int qib_dereg_mr(struct ib_mr *ibmr);
979 struct ib_mr *qib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len);
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h89 struct ib_mr ibmr;
237 static inline struct mlx4_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
280 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
283 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
286 int mlx4_ib_dereg_mr(struct ib_mr *mr);
287 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd,
Dmr.c47 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr()
124 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx4_ib_reg_user_mr()
177 int mlx4_ib_dereg_mr(struct ib_mr *ibmr) in mlx4_ib_dereg_mr()
189 struct ib_mr *mlx4_ib_alloc_fast_reg_mr(struct ib_pd *pd, in mlx4_ib_alloc_fast_reg_mr()
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h269 struct ib_mr ibmr;
276 static inline struct c4iw_mr *to_c4iw_mr(struct ib_mr *ibmr) in to_c4iw_mr()
740 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth);
743 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start,
746 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc);
747 struct ib_mr *c4iw_register_phys_mem(struct ib_pd *pd,
752 int c4iw_reregister_phys_mem(struct ib_mr *mr,
758 int c4iw_dereg_mr(struct ib_mr *ib_mr);
Dmem.c355 int c4iw_reregister_phys_mem(struct ib_mr *mr, int mr_rereg_mask, in c4iw_reregister_phys_mem()
420 struct ib_mr *c4iw_register_phys_mem(struct ib_pd *pd, in c4iw_register_phys_mem()
498 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) in c4iw_get_dma_mr()
542 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in c4iw_reg_user_mr()
696 struct ib_mr *c4iw_alloc_fast_reg_mr(struct ib_pd *pd, int pbl_depth) in c4iw_alloc_fast_reg_mr()
778 int c4iw_dereg_mr(struct ib_mr *ib_mr) in c4iw_dereg_mr() argument
784 PDBG("%s ib_mr %p\n", __func__, ib_mr); in c4iw_dereg_mr()
786 if (atomic_read(&ib_mr->usecnt)) in c4iw_dereg_mr()
789 mhp = to_c4iw_mr(ib_mr); in c4iw_dereg_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()
499 static int c2_dereg_mr(struct ib_mr *ib_mr) in c2_dereg_mr() argument
501 struct c2_mr *mr = to_c2mr(ib_mr); in c2_dereg_mr()
506 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/core/
Dverbs.c953 struct ib_mr *ib_get_dma_mr(struct ib_pd *pd, int mr_access_flags) in ib_get_dma_mr()
955 struct ib_mr *mr; in ib_get_dma_mr()
971 struct ib_mr *ib_reg_phys_mr(struct ib_pd *pd, in ib_reg_phys_mr()
977 struct ib_mr *mr; in ib_reg_phys_mr()
997 int ib_rereg_phys_mr(struct ib_mr *mr, in ib_rereg_phys_mr()
1029 int ib_query_mr(struct ib_mr *mr, struct ib_mr_attr *mr_attr) in ib_query_mr()
1036 int ib_dereg_mr(struct ib_mr *mr) in ib_dereg_mr()
1053 struct ib_mr *ib_alloc_fast_reg_mr(struct ib_pd *pd, int max_page_list_len) in ib_alloc_fast_reg_mr()
1055 struct ib_mr *mr; in ib_alloc_fast_reg_mr()
Dmad_priv.h206 struct ib_mr *mr;
/drivers/infiniband/hw/nes/
Dnes_verbs.h74 struct ib_mr ibmr;
145 struct ib_mr *lsmm_mr;
Dnes_verbs.c377 static struct ib_mr *nes_alloc_fast_reg_mr(struct ib_pd *ibpd, int max_page_list_len) in nes_alloc_fast_reg_mr()
392 struct ib_mr *ibmr; in nes_alloc_fast_reg_mr()
2087 static struct ib_mr *nes_reg_phys_mr(struct ib_pd *ib_pd, in nes_reg_phys_mr()
2097 struct ib_mr *ibmr; in nes_reg_phys_mr()
2277 static struct ib_mr *nes_get_dma_mr(struct ib_pd *pd, int acc) in nes_get_dma_mr()
2293 static struct ib_mr *nes_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in nes_reg_user_mr()
2305 struct ib_mr *ibmr = ERR_PTR(-EINVAL); in nes_reg_user_mr()
2332 return (struct ib_mr *)region; in nes_reg_user_mr()
2650 static int nes_dereg_mr(struct ib_mr *ib_mr) in nes_dereg_mr() argument
2652 struct nes_mr *nesmr = to_nesmr(ib_mr); in nes_dereg_mr()
[all …]
Dnes.h474 static inline struct nes_mr *to_nesmr(struct ib_mr *ibmr) in to_nesmr()
/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()
Dmthca_provider.c869 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()
1079 static int mthca_dereg_mr(struct ib_mr *mr) in mthca_dereg_mr()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.c444 static int iwch_dereg_mr(struct ib_mr *ib_mr) in iwch_dereg_mr() argument
450 PDBG("%s ib_mr %p\n", __func__, ib_mr); in iwch_dereg_mr()
452 if (atomic_read(&ib_mr->usecnt)) in iwch_dereg_mr()
455 mhp = to_iwch_mr(ib_mr); in iwch_dereg_mr()
471 static struct ib_mr *iwch_register_phys_mem(struct ib_pd *pd, in iwch_register_phys_mem()
548 static int iwch_reregister_phys_mem(struct ib_mr *mr, 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()
727 struct ib_mr *ibmr; in iwch_get_dma_mr()
791 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()
/drivers/infiniband/ulp/srp/
Dib_srp.h98 struct ib_mr *mr;
/drivers/infiniband/ulp/srpt/
Dib_srpt.h397 struct ib_mr *mr;
/drivers/infiniband/ulp/iser/
Discsi_iser.h234 struct ib_mr *mr;

12