Lines Matching refs:mtt
133 struct mlx5_ib_mr *mtt = xa_load(&imr->implicit_children, idx); in populate_klm() local
136 if (mtt) { in populate_klm()
137 pklm->key = cpu_to_be32(mtt->ibmr.lkey); in populate_klm()
535 struct mlx5_ib_mr *mtt; in mlx5_ib_free_odp_mr() local
542 xa_for_each(&mr->implicit_children, idx, mtt) { in mlx5_ib_free_odp_mr()
544 mlx5_ib_dereg_mr(&mtt->ibmr, NULL); in mlx5_ib_free_odp_mr()
622 struct mlx5_ib_mr *mtt; in pagefault_implicit_mr() local
626 mtt = xa_load(&imr->implicit_children, idx); in pagefault_implicit_mr()
627 if (unlikely(!mtt)) { in pagefault_implicit_mr()
629 mtt = implicit_get_child_mr(imr, idx); in pagefault_implicit_mr()
630 if (IS_ERR(mtt)) { in pagefault_implicit_mr()
631 ret = PTR_ERR(mtt); in pagefault_implicit_mr()
637 refcount_inc(&mtt->mmkey.usecount); in pagefault_implicit_mr()
641 umem_odp = to_ib_umem_odp(mtt->umem); in pagefault_implicit_mr()
645 ret = pagefault_real_mr(mtt, umem_odp, user_va, len, in pagefault_implicit_mr()
648 mlx5r_deref_odp_mkey(&mtt->mmkey); in pagefault_implicit_mr()