mlx5_ib_mr 450 drivers/infiniband/hw/mlx5/cq.c struct mlx5_ib_mr *mr; mlx5_ib_mr 614 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_mr *parent; mlx5_ib_mr 616 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_mr *pi_mr; mlx5_ib_mr 617 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_mr *klm_mr; mlx5_ib_mr 618 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_mr *mtt_mr; mlx5_ib_mr 628 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline bool is_odp_mr(struct mlx5_ib_mr *mr) mlx5_ib_mr 1043 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline struct mlx5_ib_mr *to_mibmr(struct mlx5_core_mkey *mmkey) mlx5_ib_mr 1045 drivers/infiniband/hw/mlx5/mlx5_ib.h return container_of(mmkey, struct mlx5_ib_mr, mmkey); mlx5_ib_mr 1083 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline struct mlx5_ib_mr *to_mmr(struct ib_mr *ibmr) mlx5_ib_mr 1085 drivers/infiniband/hw/mlx5/mlx5_ib.h return container_of(ibmr, struct mlx5_ib_mr, ibmr); mlx5_ib_mr 1160 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_ib_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, mlx5_ib_mr 1162 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_mr *mlx5_ib_alloc_implicit_mr(struct mlx5_ib_pd *pd, mlx5_ib_mr 1165 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_ib_free_implicit_mr(struct mlx5_ib_mr *mr); mlx5_ib_mr 1225 drivers/infiniband/hw/mlx5/mlx5_ib.h struct mlx5_ib_mr *mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, int entry); mlx5_ib_mr 1226 drivers/infiniband/hw/mlx5/mlx5_ib.h void mlx5_mr_cache_free(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr); mlx5_ib_mr 1259 drivers/infiniband/hw/mlx5/mlx5_ib.h size_t nentries, struct mlx5_ib_mr *mr, int flags); mlx5_ib_mr 1276 drivers/infiniband/hw/mlx5/mlx5_ib.h size_t nentries, struct mlx5_ib_mr *mr, mlx5_ib_mr 50 drivers/infiniband/hw/mlx5/mr.c static void clean_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr); mlx5_ib_mr 51 drivers/infiniband/hw/mlx5/mr.c static void dereg_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr); mlx5_ib_mr 53 drivers/infiniband/hw/mlx5/mr.c static int unreg_umr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr); mlx5_ib_mr 60 drivers/infiniband/hw/mlx5/mr.c static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) mlx5_ib_mr 81 drivers/infiniband/hw/mlx5/mr.c static bool use_umr_mtt_update(struct mlx5_ib_mr *mr, u64 start, u64 length) mlx5_ib_mr 89 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = mlx5_ib_mr 90 drivers/infiniband/hw/mlx5/mr.c container_of(context, struct mlx5_ib_mr, cb_work); mlx5_ib_mr 141 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 202 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *tmp_mr; mlx5_ib_mr 203 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 213 drivers/infiniband/hw/mlx5/mr.c mr = list_first_entry(&ent->head, struct mlx5_ib_mr, list); mlx5_ib_mr 422 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, int entry) mlx5_ib_mr 426 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 446 drivers/infiniband/hw/mlx5/mr.c mr = list_first_entry(&ent->head, struct mlx5_ib_mr, mlx5_ib_mr 458 drivers/infiniband/hw/mlx5/mr.c static struct mlx5_ib_mr *alloc_cached_mr(struct mlx5_ib_dev *dev, int order) mlx5_ib_mr 461 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = NULL; mlx5_ib_mr 481 drivers/infiniband/hw/mlx5/mr.c mr = list_first_entry(&ent->head, struct mlx5_ib_mr, mlx5_ib_mr 501 drivers/infiniband/hw/mlx5/mr.c void mlx5_mr_cache_free(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) mlx5_ib_mr 539 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *tmp_mr; mlx5_ib_mr 540 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 550 drivers/infiniband/hw/mlx5/mr.c mr = list_first_entry(&ent->head, struct mlx5_ib_mr, list); mlx5_ib_mr 687 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 849 drivers/infiniband/hw/mlx5/mr.c static struct mlx5_ib_mr *alloc_mr_from_cache( mlx5_ib_mr 855 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 885 drivers/infiniband/hw/mlx5/mr.c static inline int populate_xlt(struct mlx5_ib_mr *mr, int idx, int npages, mlx5_ib_mr 919 drivers/infiniband/hw/mlx5/mr.c int mlx5_ib_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, mlx5_ib_mr 1050 drivers/infiniband/hw/mlx5/mr.c static struct mlx5_ib_mr *reg_create(struct ib_mr *ibmr, struct ib_pd *pd, mlx5_ib_mr 1057 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 1136 drivers/infiniband/hw/mlx5/mr.c static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, mlx5_ib_mr 1153 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 1255 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = NULL; mlx5_ib_mr 1351 drivers/infiniband/hw/mlx5/mr.c static int unreg_umr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) mlx5_ib_mr 1369 drivers/infiniband/hw/mlx5/mr.c static int rereg_umr(struct ib_pd *pd, struct mlx5_ib_mr *mr, mlx5_ib_mr 1397 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ib_mr); mlx5_ib_mr 1506 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr, mlx5_ib_mr 1537 drivers/infiniband/hw/mlx5/mr.c mlx5_free_priv_descs(struct mlx5_ib_mr *mr) mlx5_ib_mr 1550 drivers/infiniband/hw/mlx5/mr.c static void clean_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) mlx5_ib_mr 1573 drivers/infiniband/hw/mlx5/mr.c static void dereg_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) mlx5_ib_mr 1630 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mmr = to_mmr(ibmr); mlx5_ib_mr 1659 drivers/infiniband/hw/mlx5/mr.c static int _mlx5_alloc_mkey_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, mlx5_ib_mr 1691 drivers/infiniband/hw/mlx5/mr.c static struct mlx5_ib_mr *mlx5_ib_alloc_pi_mr(struct ib_pd *pd, mlx5_ib_mr 1698 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 1735 drivers/infiniband/hw/mlx5/mr.c static int mlx5_alloc_mem_reg_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, mlx5_ib_mr 1743 drivers/infiniband/hw/mlx5/mr.c static int mlx5_alloc_sg_gaps_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, mlx5_ib_mr 1750 drivers/infiniband/hw/mlx5/mr.c static int mlx5_alloc_integrity_descs(struct ib_pd *pd, struct mlx5_ib_mr *mr, mlx5_ib_mr 1828 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr; mlx5_ib_mr 1989 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mmr = to_mmr(ibmr); mlx5_ib_mr 2033 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 2062 drivers/infiniband/hw/mlx5/mr.c mlx5_ib_sg_to_klms(struct mlx5_ib_mr *mr, mlx5_ib_mr 2123 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 2137 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 2156 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 2157 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *pi_mr = mr->mtt_mr; mlx5_ib_mr 2221 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 2222 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *pi_mr = mr->klm_mr; mlx5_ib_mr 2254 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 2255 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *pi_mr = NULL; mlx5_ib_mr 2313 drivers/infiniband/hw/mlx5/mr.c struct mlx5_ib_mr *mr = to_mmr(ibmr); mlx5_ib_mr 97 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *parent) mlx5_ib_mr 99 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr = odp->private; mlx5_ib_mr 104 drivers/infiniband/hw/mlx5/odp.c static struct ib_ucontext_per_mm *mr_to_per_mm(struct mlx5_ib_mr *mr) mlx5_ib_mr 114 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr = odp->private, *parent = mr->parent; mlx5_ib_mr 135 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *parent) mlx5_ib_mr 164 drivers/infiniband/hw/mlx5/odp.c size_t nentries, struct mlx5_ib_mr *mr, int flags) mlx5_ib_mr 211 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mtt = odp->private; mlx5_ib_mr 227 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr = odp->private, *imr = mr->parent; mlx5_ib_mr 253 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr; mlx5_ib_mr 419 drivers/infiniband/hw/mlx5/odp.c static struct mlx5_ib_mr *implicit_mr_alloc(struct ib_pd *pd, mlx5_ib_mr 424 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr; mlx5_ib_mr 475 drivers/infiniband/hw/mlx5/odp.c static struct ib_umem_odp *implicit_mr_get_data(struct mlx5_ib_mr *mr, mlx5_ib_mr 483 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mtt; mlx5_ib_mr 549 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mlx5_ib_alloc_implicit_mr(struct mlx5_ib_pd *pd, mlx5_ib_mr 553 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *imr; mlx5_ib_mr 575 drivers/infiniband/hw/mlx5/odp.c void mlx5_ib_free_implicit_mr(struct mlx5_ib_mr *imr) mlx5_ib_mr 585 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr = umem_odp->private; mlx5_ib_mr 611 drivers/infiniband/hw/mlx5/odp.c static int pagefault_mr(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, mlx5_ib_mr 784 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr; mlx5_ib_mr 811 drivers/infiniband/hw/mlx5/odp.c mr = container_of(mmkey, struct mlx5_ib_mr, mmkey); mlx5_ib_mr 1644 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr; mlx5_ib_mr 1648 drivers/infiniband/hw/mlx5/odp.c mr = container_of(mmkey, struct mlx5_ib_mr, mmkey); mlx5_ib_mr 1664 drivers/infiniband/hw/mlx5/odp.c struct mlx5_ib_mr *mr; mlx5_ib_mr 1678 drivers/infiniband/hw/mlx5/odp.c mr = container_of(mmkey, struct mlx5_ib_mr, mmkey); mlx5_ib_mr 4208 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *mr, u8 flags, bool atomic) mlx5_ib_mr 4342 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *mr, mlx5_ib_mr 4393 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *mr, mlx5_ib_mr 4605 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *mr = to_mmr(sig_mr); mlx5_ib_mr 4606 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *pi_mr = mr->pi_mr; mlx5_ib_mr 4735 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *sig_mr = to_mmr(wr->mr); mlx5_ib_mr 4736 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *pi_mr = sig_mr->pi_mr; mlx5_ib_mr 4813 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *mr = to_mmr(wr->mr); mlx5_ib_mr 4970 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *mr; mlx5_ib_mr 4971 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr *pi_mr; mlx5_ib_mr 4972 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_mr pa_pi_mr; mlx5_ib_mr 5125 drivers/infiniband/hw/mlx5/qp.c sizeof(struct mlx5_ib_mr));