/drivers/staging/rdma/ipath/ |
D | ipath_mr.c | 44 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 …]
|
D | ipath_verbs.h | 844 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/ |
D | mr.c | 504 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 …]
|
D | mlx4_ib.h | 151 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/ |
D | mr.c | 58 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 …]
|
D | verbs.h | 1032 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/ |
D | qib_mr.c | 41 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 …]
|
D | qib_verbs.h | 1058 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/ |
D | mthca_mr.c | 717 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()
|
D | mthca_dev.h | 482 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/ |
D | nes.h | 490 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()
|
D | nes_verbs.h | 76 struct ib_fmr ibfmr; member
|