Searched refs:odp_mkeys (Results 1 – 5 of 5) sorted by relevance
831 xa_lock(&dev->odp_mkeys); in pagefault_single_data_segment()832 mmkey = xa_load(&dev->odp_mkeys, mlx5_base_mkey(key)); in pagefault_single_data_segment()834 xa_unlock(&dev->odp_mkeys); in pagefault_single_data_segment()850 xa_unlock(&dev->odp_mkeys); in pagefault_single_data_segment()1671 xa_lock(&dev->odp_mkeys); in get_prefetchable_mr()1672 mmkey = xa_load(&dev->odp_mkeys, mlx5_base_mkey(lkey)); in get_prefetchable_mr()1698 xa_unlock(&dev->odp_mkeys); in get_prefetchable_mr()
1127 struct xarray odp_mkeys; member1582 return xa_err(xa_store(&dev->odp_mkeys, mlx5_base_mkey(mmkey->key), in mlx5r_store_odp_mkey()
128 WARN_ON(xa_load(&dev->odp_mkeys, mlx5_base_mkey(mr->mmkey.key))); in destroy_mkey()1874 xa_erase(&mr_to_mdev(mr)->odp_mkeys, mlx5_base_mkey(mr->mmkey.key))) in mlx5_ib_dereg_mr()2270 xa_erase(&dev->odp_mkeys, mlx5_base_mkey(mmw->mmkey.key))) in mlx5_ib_dealloc_mw()
3657 WARN_ON(!xa_empty(&dev->odp_mkeys)); in mlx5_ib_stage_init_cleanup()3711 xa_init(&dev->odp_mkeys); in mlx5_ib_stage_init_init()
1399 xa_erase(&obj->ib_dev->odp_mkeys, in devx_obj_cleanup()