Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/vfio/
Dvfio.c76 atomic_t container_users; member
340 atomic_set(&group->container_users, 0); in vfio_create_group()
703 if (!atomic_read(&group->container_users)) in vfio_group_nb_add_dev()
716 if (!atomic_read(&group->container_users)) in vfio_group_nb_verify()
1340 int users = atomic_cmpxchg(&group->container_users, 1, 0); in vfio_group_unset_container()
1360 if (0 == atomic_dec_if_positive(&group->container_users)) in vfio_group_try_dissolve_container()
1371 if (atomic_read(&group->container_users)) in vfio_group_set_container()
1413 atomic_inc(&group->container_users); in vfio_group_set_container()
1429 if (!atomic_inc_not_zero(&group->container_users)) in vfio_group_add_container_user()
1433 atomic_dec(&group->container_users); in vfio_group_add_container_user()
[all …]