ibfmr 368 drivers/infiniband/hw/i40iw/i40iw.h static inline struct i40iw_mr *to_iwmr_from_ibfmr(struct ib_fmr *ibfmr) ibfmr 370 drivers/infiniband/hw/i40iw/i40iw.h return container_of(ibfmr, struct i40iw_mr, ibfmr); ibfmr 92 drivers/infiniband/hw/i40iw/i40iw_verbs.h struct ib_fmr ibfmr; ibfmr 150 drivers/infiniband/hw/mlx4/mlx4_ib.h struct ib_fmr ibfmr; ibfmr 681 drivers/infiniband/hw/mlx4/mlx4_ib.h static inline struct mlx4_ib_fmr *to_mfmr(struct ib_fmr *ibfmr) ibfmr 683 drivers/infiniband/hw/mlx4/mlx4_ib.h return container_of(ibfmr, struct mlx4_ib_fmr, ibfmr); ibfmr 799 drivers/infiniband/hw/mlx4/mlx4_ib.h int mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, int npages, ibfmr 722 drivers/infiniband/hw/mlx4/mr.c fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mfmr.mr.key; ibfmr 724 drivers/infiniband/hw/mlx4/mr.c return &fmr->ibfmr; ibfmr 735 drivers/infiniband/hw/mlx4/mr.c int mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 738 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_fmr *ifmr = to_mfmr(ibfmr); ibfmr 739 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(ifmr->ibfmr.device); ibfmr 742 drivers/infiniband/hw/mlx4/mr.c &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); ibfmr 747 drivers/infiniband/hw/mlx4/mr.c struct ib_fmr *ibfmr; ibfmr 751 drivers/infiniband/hw/mlx4/mr.c list_for_each_entry(ibfmr, fmr_list, list) { ibfmr 752 drivers/infiniband/hw/mlx4/mr.c if (mdev && to_mdev(ibfmr->device)->dev != mdev) ibfmr 754 drivers/infiniband/hw/mlx4/mr.c mdev = to_mdev(ibfmr->device)->dev; ibfmr 760 drivers/infiniband/hw/mlx4/mr.c list_for_each_entry(ibfmr, fmr_list, list) { ibfmr 761 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_fmr *ifmr = to_mfmr(ibfmr); ibfmr 763 drivers/infiniband/hw/mlx4/mr.c mlx4_fmr_unmap(mdev, &ifmr->mfmr, &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); ibfmr 780 drivers/infiniband/hw/mlx4/mr.c int mlx4_ib_fmr_dealloc(struct ib_fmr *ibfmr) ibfmr 782 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_fmr *ifmr = to_mfmr(ibfmr); ibfmr 783 drivers/infiniband/hw/mlx4/mr.c struct mlx4_ib_dev *dev = to_mdev(ibfmr->device); ibfmr 483 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 486 drivers/infiniband/hw/mthca/mthca_dev.h int mthca_arbel_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 717 drivers/infiniband/hw/mthca/mthca_mr.c int mthca_tavor_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 720 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_fmr *fmr = to_mfmr(ibfmr); ibfmr 721 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_dev *dev = to_mdev(ibfmr->device); ibfmr 758 drivers/infiniband/hw/mthca/mthca_mr.c int mthca_arbel_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 761 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_fmr *fmr = to_mfmr(ibfmr); ibfmr 762 drivers/infiniband/hw/mthca/mthca_mr.c struct mthca_dev *dev = to_mdev(ibfmr->device); ibfmr 750 drivers/infiniband/sw/rdmavt/mr.c fmr->ibfmr.rkey = fmr->mr.lkey; ibfmr 751 drivers/infiniband/sw/rdmavt/mr.c fmr->ibfmr.lkey = fmr->mr.lkey; ibfmr 760 drivers/infiniband/sw/rdmavt/mr.c ret = &fmr->ibfmr; ibfmr 784 drivers/infiniband/sw/rdmavt/mr.c int rvt_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 787 drivers/infiniband/sw/rdmavt/mr.c struct rvt_fmr *fmr = to_ifmr(ibfmr); ibfmr 793 drivers/infiniband/sw/rdmavt/mr.c struct rvt_dev_info *rdi = ib_to_rvt(ibfmr->device); ibfmr 836 drivers/infiniband/sw/rdmavt/mr.c list_for_each_entry(fmr, fmr_list, ibfmr.list) { ibfmr 837 drivers/infiniband/sw/rdmavt/mr.c rdi = ib_to_rvt(fmr->ibfmr.device); ibfmr 854 drivers/infiniband/sw/rdmavt/mr.c int rvt_dealloc_fmr(struct ib_fmr *ibfmr) ibfmr 856 drivers/infiniband/sw/rdmavt/mr.c struct rvt_fmr *fmr = to_ifmr(ibfmr); ibfmr 53 drivers/infiniband/sw/rdmavt/mr.h struct ib_fmr ibfmr; ibfmr 63 drivers/infiniband/sw/rdmavt/mr.h static inline struct rvt_fmr *to_ifmr(struct ib_fmr *ibfmr) ibfmr 65 drivers/infiniband/sw/rdmavt/mr.h return container_of(ibfmr, struct rvt_fmr, ibfmr); ibfmr 88 drivers/infiniband/sw/rdmavt/mr.h int rvt_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, ibfmr 91 drivers/infiniband/sw/rdmavt/mr.h int rvt_dealloc_fmr(struct ib_fmr *ibfmr);