Searched refs:container_users (Results 1 – 1 of 1) sorted by relevance
73 atomic_t container_users; member329 atomic_set(&group->container_users, 0); in vfio_create_group()644 if (!atomic_read(&group->container_users)) in vfio_group_nb_add_dev()657 if (!atomic_read(&group->container_users)) in vfio_group_nb_verify()1289 int users = atomic_cmpxchg(&group->container_users, 1, 0); in vfio_group_unset_container()1309 if (0 == atomic_dec_if_positive(&group->container_users)) in vfio_group_try_dissolve_container()1320 if (atomic_read(&group->container_users)) in vfio_group_set_container()1362 atomic_inc(&group->container_users); in vfio_group_set_container()1378 if (!atomic_inc_not_zero(&group->container_users)) in vfio_group_add_container_user()1382 atomic_dec(&group->container_users); in vfio_group_add_container_user()[all …]