Home
last modified time | relevance | path

Searched refs:sysfs_lock (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_mpic_timer_wakeup.c24 static DEFINE_MUTEX(sysfs_lock);
31 mutex_lock(&sysfs_lock); in fsl_free_resource()
39 mutex_unlock(&sysfs_lock); in fsl_free_resource()
57 mutex_lock(&sysfs_lock); in fsl_timer_wakeup_show()
62 mutex_unlock(&sysfs_lock); in fsl_timer_wakeup_show()
78 mutex_lock(&sysfs_lock); in fsl_timer_wakeup_store()
87 mutex_unlock(&sysfs_lock); in fsl_timer_wakeup_store()
94 mutex_unlock(&sysfs_lock); in fsl_timer_wakeup_store()
102 mutex_unlock(&sysfs_lock); in fsl_timer_wakeup_store()
109 mutex_unlock(&sysfs_lock); in fsl_timer_wakeup_store()
[all …]
/linux-6.1.9/drivers/usb/usbip/
Dvudc_sysfs.c115 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()
Dvhci_sysfs.c188 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()
Dstub_dev.c66 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()
Dusbip_event.c73 mutex_lock(&ud->sysfs_lock); in event_handler()
94 mutex_unlock(&ud->sysfs_lock); in event_handler()
Dusbip_common.h268 struct mutex sysfs_lock; member
Dvudc_dev.c575 mutex_init(&ud->sysfs_lock); in init_vudc_hw()
Dvhci_hcd.c1106 mutex_init(&vdev->ud.sysfs_lock); in vhci_device_init()
/linux-6.1.9/drivers/gpio/
Dgpiolib-sysfs.c37 static DEFINE_MUTEX(sysfs_lock);
572 mutex_lock(&sysfs_lock); in gpiod_export()
620 mutex_unlock(&sysfs_lock); in gpiod_export()
626 mutex_unlock(&sysfs_lock); in gpiod_export()
688 mutex_lock(&sysfs_lock); in gpiod_unexport()
709 mutex_unlock(&sysfs_lock); in gpiod_unexport()
717 mutex_unlock(&sysfs_lock); in gpiod_unexport()
752 mutex_lock(&sysfs_lock); in gpiochip_sysfs_register()
754 mutex_unlock(&sysfs_lock); in gpiochip_sysfs_register()
770 mutex_lock(&sysfs_lock); in gpiochip_sysfs_unregister()
[all …]
/linux-6.1.9/block/
Delevator.c175 mutex_init(&eq->sysfs_lock); in elevator_alloc()
198 mutex_lock(&e->sysfs_lock); in elevator_exit()
200 mutex_unlock(&e->sysfs_lock); in elevator_exit()
461 mutex_lock(&e->sysfs_lock); in elv_attr_show()
463 mutex_unlock(&e->sysfs_lock); in elv_attr_show()
479 mutex_lock(&e->sysfs_lock); in elv_attr_store()
481 mutex_unlock(&e->sysfs_lock); in elv_attr_store()
500 lockdep_assert_held(&q->sysfs_lock); in elv_register_queue()
524 lockdep_assert_held(&q->sysfs_lock); in elv_unregister_queue()
596 lockdep_assert_held(&q->sysfs_lock); in elevator_switch_mq()
[all …]
Dblk-ia-ranges.c115 lockdep_assert_held(&q->sysfs_lock); in disk_register_independent_access_ranges()
158 lockdep_assert_held(&q->sysfs_lock); in disk_unregister_independent_access_ranges()
292 mutex_lock(&q->sysfs_lock); in disk_set_independent_access_ranges()
314 mutex_unlock(&q->sysfs_lock); in disk_set_independent_access_ranges()
Dblk-sysfs.c716 mutex_lock(&q->sysfs_lock); in queue_attr_show()
718 mutex_unlock(&q->sysfs_lock); in queue_attr_show()
734 mutex_lock(&q->sysfs_lock); in queue_attr_store()
736 mutex_unlock(&q->sysfs_lock); in queue_attr_store()
822 mutex_lock(&q->sysfs_lock); in blk_register_queue()
853 mutex_unlock(&q->sysfs_lock); in blk_register_queue()
877 mutex_unlock(&q->sysfs_lock); in blk_register_queue()
907 mutex_lock(&q->sysfs_lock); in blk_unregister_queue()
909 mutex_unlock(&q->sysfs_lock); in blk_unregister_queue()
920 mutex_lock(&q->sysfs_lock); in blk_unregister_queue()
[all …]
Dblk-mq-sysfs.c67 mutex_lock(&q->sysfs_lock); in blk_mq_hw_sysfs_show()
69 mutex_unlock(&q->sysfs_lock); in blk_mq_hw_sysfs_show()
89 mutex_lock(&q->sysfs_lock); in blk_mq_hw_sysfs_store()
91 mutex_unlock(&q->sysfs_lock); in blk_mq_hw_sysfs_store()
Dblk-mq-debugfs.c447 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_show()
452 mutex_unlock(&q->sysfs_lock); in hctx_tags_show()
464 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_bitmap_show()
469 mutex_unlock(&q->sysfs_lock); in hctx_tags_bitmap_show()
481 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_show()
486 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_show()
498 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_bitmap_show()
503 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_bitmap_show()
Delevator.h102 struct mutex sysfs_lock; member
Dgenhd.c655 mutex_lock(&q->sysfs_lock); in del_gendisk()
657 mutex_unlock(&q->sysfs_lock); in del_gendisk()
Dblk-mq.c4135 mutex_lock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs()
4168 mutex_unlock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs()
4597 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_none()
4613 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_none()
4643 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_back()
4645 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_back()
Dblk-core.c412 mutex_init(&q->sysfs_lock); in blk_alloc_queue()
/linux-6.1.9/drivers/phy/broadcom/
Dphy-brcm-usb.c25 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()
/linux-6.1.9/drivers/acpi/
Dbattery.c95 struct mutex sysfs_lock; member
862 mutex_lock(&battery->sysfs_lock); in sysfs_remove_battery()
864 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery()
871 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery()
1185 mutex_init(&battery->sysfs_lock); in acpi_battery_add()
1206 mutex_destroy(&battery->sysfs_lock); in acpi_battery_add()
1222 mutex_destroy(&battery->sysfs_lock); in acpi_battery_remove()
/linux-6.1.9/Documentation/RCU/
Dlockdep-splat.rst34 #1: (&eq->sysfs_lock){+.+.}, at: [<ffffffff812a5032>]
/linux-6.1.9/include/linux/
Dblkdev.h509 struct mutex sysfs_lock; member