Lines Matching refs:struct_mutex
352 mutex_lock(&dev->struct_mutex); in drm_addmap_core()
366 mutex_unlock(&dev->struct_mutex); in drm_addmap_core()
371 mutex_unlock(&dev->struct_mutex); in drm_addmap_core()
479 mutex_lock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
488 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
499 mutex_unlock(&dev->struct_mutex); in drm_legacy_getmap_ioctl()
574 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap()
576 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap()
587 mutex_lock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
594 mutex_unlock(&dev->struct_mutex); in drm_legacy_master_rmmaps()
631 mutex_lock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl()
645 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl()
651 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl()
657 mutex_unlock(&dev->struct_mutex); in drm_legacy_rmmap_ioctl()
780 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
783 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
789 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
796 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
827 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
847 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
865 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_agp()
930 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
933 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
939 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
946 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
954 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
968 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
990 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
1008 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
1045 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
1063 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
1086 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_pci()
1158 mutex_lock(&dev->struct_mutex); in drm_legacy_addbufs_sg()
1161 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_sg()
1167 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_sg()
1174 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_sg()
1206 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_sg()
1226 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_sg()
1244 mutex_unlock(&dev->struct_mutex); in drm_legacy_addbufs_sg()