Searched refs:container_users (Results 1 – 1 of 1) sorted by relevance
74 atomic_t container_users; member338 atomic_set(&group->container_users, 0); in vfio_create_group()701 if (!atomic_read(&group->container_users)) in vfio_group_nb_add_dev()714 if (!atomic_read(&group->container_users)) in vfio_group_nb_verify()1324 int users = atomic_cmpxchg(&group->container_users, 1, 0); in vfio_group_unset_container()1344 if (0 == atomic_dec_if_positive(&group->container_users)) in vfio_group_try_dissolve_container()1355 if (atomic_read(&group->container_users)) in vfio_group_set_container()1397 atomic_inc(&group->container_users); in vfio_group_set_container()1413 if (!atomic_inc_not_zero(&group->container_users)) in vfio_group_add_container_user()1417 atomic_dec(&group->container_users); in vfio_group_add_container_user()[all …]