Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vfio/
Dgroup.c21 struct mutex group_lock; /* locks group_list */ member
60 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 …]
Dcontainer.c21 struct rw_semaphore group_lock; member
191 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 …]
Dvfio.h90 struct mutex group_lock; member
/linux-6.6.21/kernel/sched/
Dfair.c2813 spinlock_t *group_lock = NULL; in task_numa_placement() local
2834 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()