Home
last modified time | relevance | path

Searched refs:container_users (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/vfio/
Dvfio.c74 atomic_t container_users; member
339 atomic_set(&group->container_users, 0); in vfio_create_group()
705 if (!atomic_read(&group->container_users)) in vfio_group_nb_add_dev()
718 if (!atomic_read(&group->container_users)) in vfio_group_nb_verify()
1329 int users = atomic_cmpxchg(&group->container_users, 1, 0); in vfio_group_unset_container()
1349 if (0 == atomic_dec_if_positive(&group->container_users)) in vfio_group_try_dissolve_container()
1360 if (atomic_read(&group->container_users)) in vfio_group_set_container()
1402 atomic_inc(&group->container_users); in vfio_group_set_container()
1418 if (!atomic_inc_not_zero(&group->container_users)) in vfio_group_add_container_user()
1422 atomic_dec(&group->container_users); in vfio_group_add_container_user()
[all …]