Home
last modified time | relevance | path

Searched refs:ibfmr (Results 1 – 10 of 10) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dmr.c289 fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mfmr.mr.key; in mlx4_ib_fmr_alloc()
291 return &fmr->ibfmr; in mlx4_ib_fmr_alloc()
302 int mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in mlx4_ib_map_phys_fmr() argument
305 struct mlx4_ib_fmr *ifmr = to_mfmr(ibfmr); in mlx4_ib_map_phys_fmr()
306 struct mlx4_ib_dev *dev = to_mdev(ifmr->ibfmr.device); in mlx4_ib_map_phys_fmr()
309 &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); in mlx4_ib_map_phys_fmr()
314 struct ib_fmr *ibfmr; in mlx4_ib_unmap_fmr() local
318 list_for_each_entry(ibfmr, fmr_list, list) { in mlx4_ib_unmap_fmr()
319 if (mdev && to_mdev(ibfmr->device)->dev != mdev) in mlx4_ib_unmap_fmr()
321 mdev = to_mdev(ibfmr->device)->dev; in mlx4_ib_unmap_fmr()
[all …]
Dmlx4_ib.h101 struct ib_fmr ibfmr; member
247 static inline struct mlx4_ib_fmr *to_mfmr(struct ib_fmr *ibfmr) in to_mfmr() argument
249 return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); in to_mfmr()
343 int mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, int npages,
/drivers/infiniband/hw/ipath/
Dipath_mr.c44 struct ib_fmr ibfmr; member
49 static inline struct ipath_fmr *to_ifmr(struct ib_fmr *ibfmr) in to_ifmr() argument
51 return container_of(ibfmr, struct ipath_fmr, ibfmr); in to_ifmr()
315 fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mr.lkey; in ipath_alloc_fmr()
329 ret = &fmr->ibfmr; in ipath_alloc_fmr()
352 int ipath_map_phys_fmr(struct ib_fmr *ibfmr, u64 * page_list, in ipath_map_phys_fmr() argument
355 struct ipath_fmr *fmr = to_ifmr(ibfmr); in ipath_map_phys_fmr()
366 rkt = &to_idev(ibfmr->device)->lk_table; in ipath_map_phys_fmr()
402 list_for_each_entry(fmr, fmr_list, ibfmr.list) { in ipath_unmap_fmr()
403 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in ipath_unmap_fmr()
[all …]
Dipath_verbs.h835 int ipath_map_phys_fmr(struct ib_fmr *ibfmr, u64 * page_list,
840 int ipath_dealloc_fmr(struct ib_fmr *ibfmr);
/drivers/infiniband/hw/qib/
Dqib_mr.c41 struct ib_fmr ibfmr; member
45 static inline struct qib_fmr *to_ifmr(struct ib_fmr *ibfmr) in to_ifmr() argument
47 return container_of(ibfmr, struct qib_fmr, ibfmr); in to_ifmr()
382 fmr->ibfmr.rkey = fmr->mr.lkey; in qib_alloc_fmr()
383 fmr->ibfmr.lkey = fmr->mr.lkey; in qib_alloc_fmr()
398 ret = &fmr->ibfmr; in qib_alloc_fmr()
421 int qib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in qib_map_phys_fmr() argument
424 struct qib_fmr *fmr = to_ifmr(ibfmr); in qib_map_phys_fmr()
438 rkt = &to_idev(ibfmr->device)->lk_table; in qib_map_phys_fmr()
473 list_for_each_entry(fmr, fmr_list, ibfmr.list) { in qib_unmap_fmr()
[all …]
Dqib_verbs.h991 int qib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
996 int qib_dealloc_fmr(struct ib_fmr *ibfmr);
/drivers/infiniband/hw/mthca/
Dmthca_mr.c717 int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in mthca_tavor_map_phys_fmr() argument
720 struct mthca_fmr *fmr = to_mfmr(ibfmr); in mthca_tavor_map_phys_fmr()
721 struct mthca_dev *dev = to_mdev(ibfmr->device); in mthca_tavor_map_phys_fmr()
758 int mthca_arbel_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in mthca_arbel_map_phys_fmr() argument
761 struct mthca_fmr *fmr = to_mfmr(ibfmr); in mthca_arbel_map_phys_fmr()
762 struct mthca_dev *dev = to_mdev(ibfmr->device); in mthca_arbel_map_phys_fmr()
Dmthca_dev.h483 int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
486 int mthca_arbel_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
/drivers/infiniband/hw/nes/
Dnes.h479 static inline struct nes_mr *to_nesmr_from_ibfmr(struct ib_fmr *ibfmr) in to_nesmr_from_ibfmr() argument
481 return container_of(ibfmr, struct nes_mr, ibfmr); in to_nesmr_from_ibfmr()
Dnes_verbs.h76 struct ib_fmr ibfmr; member