Searched refs:odp_mkeys (Results 1 – 5 of 5) sorted by relevance
832 xa_lock(&dev->odp_mkeys); in pagefault_single_data_segment()833 mmkey = xa_load(&dev->odp_mkeys, mlx5_base_mkey(key)); in pagefault_single_data_segment()835 xa_unlock(&dev->odp_mkeys); in pagefault_single_data_segment()851 xa_unlock(&dev->odp_mkeys); in pagefault_single_data_segment()1685 xa_lock(&dev->odp_mkeys); in get_prefetchable_mr()1686 mmkey = xa_load(&dev->odp_mkeys, mlx5_base_mkey(lkey)); in get_prefetchable_mr()1712 xa_unlock(&dev->odp_mkeys); in get_prefetchable_mr()
1078 struct xarray odp_mkeys; member1522 return xa_err(xa_store(&dev->odp_mkeys, mlx5_base_mkey(mmkey->key), in mlx5r_store_odp_mkey()
125 WARN_ON(xa_load(&dev->odp_mkeys, mlx5_base_mkey(mr->mmkey.key))); in destroy_mkey()1583 xa_erase(&mr_to_mdev(mr)->odp_mkeys, mlx5_base_mkey(mr->mmkey.key))) in mlx5_ib_dereg_mr()1986 xa_erase(&dev->odp_mkeys, mlx5_base_mkey(mmw->mmkey.key))) in mlx5_ib_dealloc_mw()
3611 WARN_ON(!xa_empty(&dev->odp_mkeys)); in mlx5_ib_stage_init_cleanup()3657 xa_init(&dev->odp_mkeys); in mlx5_ib_stage_init_init()
1385 xa_erase(&obj->ib_dev->odp_mkeys, in devx_obj_cleanup()