Home
last modified time | relevance | path

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

/drivers/staging/rdma/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()
310 fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mr.lkey; in ipath_alloc_fmr()
324 ret = &fmr->ibfmr; in ipath_alloc_fmr()
347 int ipath_map_phys_fmr(struct ib_fmr *ibfmr, u64 * page_list, in ipath_map_phys_fmr() argument
350 struct ipath_fmr *fmr = to_ifmr(ibfmr); in ipath_map_phys_fmr()
361 rkt = &to_idev(ibfmr->device)->lk_table; in ipath_map_phys_fmr()
397 list_for_each_entry(fmr, fmr_list, ibfmr.list) { in ipath_unmap_fmr()
398 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in ipath_unmap_fmr()
[all …]
Dipath_verbs.h844 int ipath_map_phys_fmr(struct ib_fmr *ibfmr, u64 * page_list,
849 int ipath_dealloc_fmr(struct ib_fmr *ibfmr);
/drivers/infiniband/hw/mlx4/
Dmr.c504 fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mfmr.mr.key; in mlx4_ib_fmr_alloc()
506 return &fmr->ibfmr; in mlx4_ib_fmr_alloc()
517 int mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in mlx4_ib_map_phys_fmr() argument
520 struct mlx4_ib_fmr *ifmr = to_mfmr(ibfmr); in mlx4_ib_map_phys_fmr()
521 struct mlx4_ib_dev *dev = to_mdev(ifmr->ibfmr.device); in mlx4_ib_map_phys_fmr()
524 &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); in mlx4_ib_map_phys_fmr()
529 struct ib_fmr *ibfmr; in mlx4_ib_unmap_fmr() local
533 list_for_each_entry(ibfmr, fmr_list, list) { in mlx4_ib_unmap_fmr()
534 if (mdev && to_mdev(ibfmr->device)->dev != mdev) in mlx4_ib_unmap_fmr()
536 mdev = to_mdev(ibfmr->device)->dev; in mlx4_ib_unmap_fmr()
[all …]
Dmlx4_ib.h151 struct ib_fmr ibfmr; member
650 static inline struct mlx4_ib_fmr *to_mfmr(struct ib_fmr *ibfmr) in to_mfmr() argument
652 return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); in to_mfmr()
769 int mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, int npages,
/drivers/staging/rdma/hfi1/
Dmr.c58 struct ib_fmr ibfmr; member
62 static inline struct hfi1_fmr *to_ifmr(struct ib_fmr *ibfmr) in to_ifmr() argument
64 return container_of(ibfmr, struct hfi1_fmr, ibfmr); in to_ifmr()
401 fmr->ibfmr.rkey = fmr->mr.lkey; in hfi1_alloc_fmr()
402 fmr->ibfmr.lkey = fmr->mr.lkey; in hfi1_alloc_fmr()
411 ret = &fmr->ibfmr; in hfi1_alloc_fmr()
433 int hfi1_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in hfi1_map_phys_fmr() argument
436 struct hfi1_fmr *fmr = to_ifmr(ibfmr); in hfi1_map_phys_fmr()
451 rkt = &to_idev(ibfmr->device)->lk_table; in hfi1_map_phys_fmr()
486 list_for_each_entry(fmr, fmr_list, ibfmr.list) { in hfi1_unmap_fmr()
[all …]
Dverbs.h1032 int hfi1_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
1037 int hfi1_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()
411 fmr->ibfmr.rkey = fmr->mr.lkey; in qib_alloc_fmr()
412 fmr->ibfmr.lkey = fmr->mr.lkey; in qib_alloc_fmr()
421 ret = &fmr->ibfmr; in qib_alloc_fmr()
443 int qib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, in qib_map_phys_fmr() argument
446 struct qib_fmr *fmr = to_ifmr(ibfmr); in qib_map_phys_fmr()
461 rkt = &to_idev(ibfmr->device)->lk_table; in qib_map_phys_fmr()
496 list_for_each_entry(fmr, fmr_list, ibfmr.list) { in qib_unmap_fmr()
[all …]
Dqib_verbs.h1058 int qib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
1063 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.h482 int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
485 int mthca_arbel_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list,
/drivers/infiniband/hw/nes/
Dnes.h490 static inline struct nes_mr *to_nesmr_from_ibfmr(struct ib_fmr *ibfmr) in to_nesmr_from_ibfmr() argument
492 return container_of(ibfmr, struct nes_mr, ibfmr); in to_nesmr_from_ibfmr()
Dnes_verbs.h76 struct ib_fmr ibfmr; member