Searched refs:sysfs_lock (Results 1 – 10 of 10) sorted by relevance
36 static DEFINE_MUTEX(sysfs_lock);592 mutex_lock(&sysfs_lock); in gpiod_export()640 mutex_unlock(&sysfs_lock); in gpiod_export()646 mutex_unlock(&sysfs_lock); in gpiod_export()708 mutex_lock(&sysfs_lock); in gpiod_unexport()729 mutex_unlock(&sysfs_lock); in gpiod_unexport()737 mutex_unlock(&sysfs_lock); in gpiod_unexport()772 mutex_lock(&sysfs_lock); in gpiochip_sysfs_register()774 mutex_unlock(&sysfs_lock); in gpiochip_sysfs_register()791 mutex_lock(&sysfs_lock); in gpiochip_sysfs_unregister()[all …]
115 mutex_lock(&udc->ud.sysfs_lock); in usbip_sockfd_store()159 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store()166 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store()194 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store()215 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store()225 mutex_unlock(&udc->ud.sysfs_lock); in usbip_sockfd_store()
188 mutex_lock(&vdev->ud.sysfs_lock); in vhci_port_disconnect()200 mutex_unlock(&vdev->ud.sysfs_lock); in vhci_port_disconnect()211 mutex_unlock(&vdev->ud.sysfs_lock); in vhci_port_disconnect()357 mutex_lock(&vdev->ud.sysfs_lock); in attach_store()440 mutex_unlock(&vdev->ud.sysfs_lock); in attach_store()445 mutex_unlock(&vdev->ud.sysfs_lock); in attach_store()
66 mutex_lock(&sdev->ud.sysfs_lock); in usbip_sockfd_store()116 mutex_unlock(&sdev->ud.sysfs_lock); in usbip_sockfd_store()128 mutex_unlock(&sdev->ud.sysfs_lock); in usbip_sockfd_store()138 mutex_unlock(&sdev->ud.sysfs_lock); in usbip_sockfd_store()279 mutex_init(&sdev->ud.sysfs_lock); in stub_device_alloc()
73 mutex_lock(&ud->sysfs_lock); in event_handler()94 mutex_unlock(&ud->sysfs_lock); in event_handler()
268 struct mutex sysfs_lock; member
575 mutex_init(&ud->sysfs_lock); in init_vudc_hw()
1106 mutex_init(&vdev->ud.sysfs_lock); in vhci_device_init()
25 static DEFINE_MUTEX(sysfs_lock);248 mutex_lock(&sysfs_lock); in dual_select_store()255 mutex_unlock(&sysfs_lock); in dual_select_store()266 mutex_lock(&sysfs_lock); in dual_select_show()268 mutex_unlock(&sysfs_lock); in dual_select_show()
102 struct mutex sysfs_lock; member871 mutex_lock(&battery->sysfs_lock); in sysfs_remove_battery()873 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery()880 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery()1236 mutex_init(&battery->sysfs_lock); in acpi_battery_add()1257 mutex_destroy(&battery->sysfs_lock); in acpi_battery_add()1273 mutex_destroy(&battery->sysfs_lock); in acpi_battery_remove()