/linux-6.12.1/arch/powerpc/sysdev/ |
D | fsl_mpic_timer_wakeup.c | 24 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.12.1/drivers/usb/usbip/ |
D | vudc_sysfs.c | 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()
|
D | vhci_sysfs.c | 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() 358 mutex_lock(&vdev->ud.sysfs_lock); in attach_store() 441 mutex_unlock(&vdev->ud.sysfs_lock); in attach_store() 446 mutex_unlock(&vdev->ud.sysfs_lock); in attach_store()
|
D | stub_dev.c | 66 mutex_lock(&sdev->ud.sysfs_lock); in usbip_sockfd_store() 116 mutex_unlock(&sdev->ud.sysfs_lock); in usbip_sockfd_store() 121 mutex_lock(&sdev->ud.sysfs_lock); in usbip_sockfd_store() 130 mutex_unlock(&sdev->ud.sysfs_lock); in usbip_sockfd_store() 140 mutex_unlock(&sdev->ud.sysfs_lock); in usbip_sockfd_store() 281 mutex_init(&sdev->ud.sysfs_lock); in stub_device_alloc()
|
D | usbip_event.c | 73 mutex_lock(&ud->sysfs_lock); in event_handler() 94 mutex_unlock(&ud->sysfs_lock); in event_handler()
|
D | usbip_common.h | 268 struct mutex sysfs_lock; member
|
D | vudc_dev.c | 574 mutex_init(&ud->sysfs_lock); in init_vudc_hw()
|
D | vhci_hcd.c | 1109 mutex_init(&vdev->ud.sysfs_lock); in vhci_device_init()
|
/linux-6.12.1/block/ |
D | elevator.c | 135 mutex_init(&eq->sysfs_lock); in elevator_alloc() 158 mutex_lock(&e->sysfs_lock); in elevator_exit() 160 mutex_unlock(&e->sysfs_lock); in elevator_exit() 421 mutex_lock(&e->sysfs_lock); in elv_attr_show() 423 mutex_unlock(&e->sysfs_lock); in elv_attr_show() 439 mutex_lock(&e->sysfs_lock); in elv_attr_store() 441 mutex_unlock(&e->sysfs_lock); in elv_attr_store() 460 lockdep_assert_held(&q->sysfs_lock); in elv_register_queue() 484 lockdep_assert_held(&q->sysfs_lock); in elv_unregister_queue() 627 lockdep_assert_held(&q->sysfs_lock); in elevator_switch() [all …]
|
D | blk-sysfs.c | 664 mutex_lock(&disk->queue->sysfs_lock); in queue_attr_show() 666 mutex_unlock(&disk->queue->sysfs_lock); in queue_attr_show() 694 mutex_lock(&q->sysfs_lock); in queue_attr_store() 696 mutex_unlock(&q->sysfs_lock); in queue_attr_store() 756 mutex_lock(&q->sysfs_lock); in blk_register_queue() 785 mutex_unlock(&q->sysfs_lock); in blk_register_queue() 810 mutex_unlock(&q->sysfs_lock); in blk_register_queue() 840 mutex_lock(&q->sysfs_lock); in blk_unregister_queue() 842 mutex_unlock(&q->sysfs_lock); in blk_unregister_queue() 853 mutex_lock(&q->sysfs_lock); in blk_unregister_queue() [all …]
|
D | blk-ia-ranges.c | 115 lockdep_assert_held(&q->sysfs_lock); in disk_register_independent_access_ranges() 159 lockdep_assert_held(&q->sysfs_lock); in disk_unregister_independent_access_ranges() 293 mutex_lock(&q->sysfs_lock); in disk_set_independent_access_ranges() 315 mutex_unlock(&q->sysfs_lock); in disk_set_independent_access_ranges()
|
D | blk-mq-debugfs.c | 422 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_show() 427 mutex_unlock(&q->sysfs_lock); in hctx_tags_show() 439 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_bitmap_show() 444 mutex_unlock(&q->sysfs_lock); in hctx_tags_bitmap_show() 456 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_show() 461 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_show() 473 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_bitmap_show() 478 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_bitmap_show()
|
D | blk-mq-sysfs.c | 64 mutex_lock(&q->sysfs_lock); in blk_mq_hw_sysfs_show() 66 mutex_unlock(&q->sysfs_lock); in blk_mq_hw_sysfs_show()
|
D | elevator.h | 118 struct mutex sysfs_lock; member
|
D | blk-mq.c | 4271 mutex_lock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs() 4304 mutex_unlock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs() 4732 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_none() 4748 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_none() 4778 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_back() 4782 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_back()
|
D | genhd.c | 710 mutex_lock(&q->sysfs_lock); in del_gendisk() 712 mutex_unlock(&q->sysfs_lock); in del_gendisk()
|
D | blk-core.c | 424 mutex_init(&q->sysfs_lock); in blk_alloc_queue()
|
/linux-6.12.1/drivers/gpio/ |
D | gpiolib-sysfs.c | 50 static DEFINE_MUTEX(sysfs_lock); 602 mutex_lock(&sysfs_lock); in gpiod_export() 642 mutex_unlock(&sysfs_lock); in gpiod_export() 648 mutex_unlock(&sysfs_lock); in gpiod_export() 712 mutex_lock(&sysfs_lock); in gpiod_unexport() 733 mutex_unlock(&sysfs_lock); in gpiod_unexport() 741 mutex_unlock(&sysfs_lock); in gpiod_unexport() 782 mutex_lock(&sysfs_lock); in gpiochip_sysfs_register() 784 mutex_unlock(&sysfs_lock); in gpiochip_sysfs_register() 794 scoped_guard(mutex, &sysfs_lock) { in gpiochip_sysfs_unregister()
|
/linux-6.12.1/drivers/phy/broadcom/ |
D | phy-brcm-usb.c | 24 static DEFINE_MUTEX(sysfs_lock); 247 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.12.1/drivers/acpi/ |
D | battery.c | 95 struct mutex sysfs_lock; member 906 mutex_lock(&battery->sysfs_lock); in sysfs_remove_battery() 908 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery() 914 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery() 1229 mutex_init(&battery->sysfs_lock); in acpi_battery_add() 1258 mutex_destroy(&battery->sysfs_lock); in acpi_battery_add() 1281 mutex_destroy(&battery->sysfs_lock); in acpi_battery_remove()
|
/linux-6.12.1/Documentation/RCU/ |
D | lockdep-splat.rst | 34 #1: (&eq->sysfs_lock){+.+.}, at: [<ffffffff812a5032>]
|
/linux-6.12.1/include/linux/ |
D | blkdev.h | 551 struct mutex sysfs_lock; member
|