Lines Matching refs:ibmr
137 pklm->key = cpu_to_be32(mtt->ibmr.lkey); in populate_klm()
205 mlx5_ib_dereg_mr(&mr->ibmr, NULL); in free_implicit_child_mr_work()
428 mr->ibmr.pd = imr->ibmr.pd; in implicit_get_child_mr()
429 mr->ibmr.device = &mr_to_mdev(imr)->ib_dev; in implicit_get_child_mr()
431 mr->ibmr.lkey = mr->mmkey.key; in implicit_get_child_mr()
432 mr->ibmr.rkey = mr->mmkey.key; in implicit_get_child_mr()
433 mr->ibmr.iova = idx * MLX5_IMR_MTT_SIZE; in implicit_get_child_mr()
476 mlx5_ib_dereg_mr(&mr->ibmr, NULL); in implicit_get_child_mr()
502 imr->ibmr.pd = &pd->ibpd; in mlx5_ib_alloc_implicit_mr()
503 imr->ibmr.iova = 0; in mlx5_ib_alloc_implicit_mr()
505 imr->ibmr.lkey = imr->mmkey.key; in mlx5_ib_alloc_implicit_mr()
506 imr->ibmr.rkey = imr->mmkey.key; in mlx5_ib_alloc_implicit_mr()
507 imr->ibmr.device = &dev->ib_dev; in mlx5_ib_alloc_implicit_mr()
529 mlx5_ib_dereg_mr(&imr->ibmr, NULL); in mlx5_ib_alloc_implicit_mr()
544 mlx5_ib_dereg_mr(&mtt->ibmr, NULL); in mlx5_ib_free_odp_mr()
741 if (unlikely(io_virt < mr->ibmr.iova)) in pagefault_mr()
750 if (check_add_overflow(io_virt - mr->ibmr.iova, in pagefault_mr()
1705 if (mr->ibmr.pd != pd) { in get_prefetchable_mr()