Home
last modified time | relevance | path

Searched refs:implicit_children (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dodp.c114 * The locking here is pretty subtle. Ideally the implicit_children in populate_klm()
133 struct mlx5_ib_mr *mtt = xa_load(&imr->implicit_children, idx); in populate_klm()
185 * This must be called after the mr has been removed from implicit_children.
219 xa_erase(&imr->implicit_children, idx); in destroy_unused_implicit_child_mr()
454 xa_lock(&imr->implicit_children); in implicit_get_child_mr()
455 ret = __xa_cmpxchg(&imr->implicit_children, idx, NULL, mr, in implicit_get_child_mr()
469 xa_unlock(&imr->implicit_children); in implicit_get_child_mr()
475 xa_unlock(&imr->implicit_children); in implicit_get_child_mr()
511 xa_init(&imr->implicit_children); in mlx5_ib_alloc_implicit_mr()
543 xa_for_each(&mr->implicit_children, id in mlx5_ib_free_odp_mr()
[all...]
H A Dmlx5_ib.h703 struct xarray implicit_children; member
H A Dmr.c1472 xa_init(&mr->implicit_children); in create_user_odp_mr()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dodp.c112 * The locking here is pretty subtle. Ideally the implicit_children in populate_klm()
135 struct mlx5_ib_mr *mtt = xa_load(&imr->implicit_children, idx); in populate_klm()
208 * This must be called after the mr has been removed from implicit_children
267 xa_lock(&imr->implicit_children); in destroy_unused_implicit_child_mr()
272 if (__xa_cmpxchg(&imr->implicit_children, idx, mr, NULL, GFP_ATOMIC) != in destroy_unused_implicit_child_mr()
281 xa_unlock(&imr->implicit_children); in destroy_unused_implicit_child_mr()
506 ret = xa_cmpxchg(&imr->implicit_children, idx, NULL, mr, in implicit_get_child_mr()
558 xa_init(&imr->implicit_children); in mlx5_ib_alloc_implicit_mr()
613 * implicit_children are prevented. in mlx5_ib_free_implicit_mr()
620 xa_lock(&imr->implicit_children); in mlx5_ib_free_implicit_mr()
[all...]
H A Dmlx5_ib.h624 struct xarray implicit_children; member

Completed in 13 milliseconds