Searched refs:group_lock (Results 1 – 4 of 4) sorted by relevance
21 struct mutex group_lock; /* locks group_list */ member60 lockdep_assert_held(&group->group_lock); in vfio_group_has_iommu()80 mutex_lock(&group->group_lock); in vfio_group_ioctl_unset_container()98 mutex_unlock(&group->group_lock); in vfio_group_ioctl_unset_container()118 mutex_lock(&group->group_lock); in vfio_group_ioctl_set_container()155 mutex_unlock(&group->group_lock); in vfio_group_ioctl_set_container()172 mutex_lock(&device->group->group_lock); in vfio_df_group_open()221 mutex_unlock(&device->group->group_lock); in vfio_df_group_open()232 mutex_unlock(&device->group->group_lock); in vfio_df_group_open()240 mutex_lock(&device->group->group_lock); in vfio_df_group_close()[all …]
21 struct rw_semaphore group_lock; member191 down_read(&container->group_lock); in vfio_container_ioctl_check_extension()229 up_read(&container->group_lock); in vfio_container_ioctl_check_extension()266 down_write(&container->group_lock); in vfio_ioctl_set_iommu()277 up_write(&container->group_lock); in vfio_ioctl_set_iommu()322 up_write(&container->group_lock); in vfio_ioctl_set_iommu()368 init_rwsem(&container->group_lock); in vfio_fops_open()422 lockdep_assert_held(&group->group_lock); in vfio_container_attach_group()427 down_write(&container->group_lock); in vfio_container_attach_group()464 up_write(&container->group_lock); in vfio_container_attach_group()[all …]
90 struct mutex group_lock; member
2813 spinlock_t *group_lock = NULL; in task_numa_placement() local2834 group_lock = &ng->lock; in task_numa_placement()2835 spin_lock_irq(group_lock); in task_numa_placement()2918 spin_unlock_irq(group_lock); in task_numa_placement()