/Linux-v5.15/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-v5.15/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() 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()
|
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() 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()
|
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 | 575 mutex_init(&ud->sysfs_lock); in init_vudc_hw()
|
D | vhci_hcd.c | 1106 mutex_init(&vdev->ud.sysfs_lock); in vhci_device_init()
|
/Linux-v5.15/drivers/gpio/ |
D | gpiolib-sysfs.c | 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 …]
|
/Linux-v5.15/block/ |
D | elevator.c | 175 mutex_init(&eq->sysfs_lock); in elevator_alloc() 193 mutex_lock(&e->sysfs_lock); in __elevator_exit() 195 mutex_unlock(&e->sysfs_lock); in __elevator_exit() 456 mutex_lock(&e->sysfs_lock); in elv_attr_show() 458 mutex_unlock(&e->sysfs_lock); in elv_attr_show() 474 mutex_lock(&e->sysfs_lock); in elv_attr_store() 476 mutex_unlock(&e->sysfs_lock); in elv_attr_store() 495 lockdep_assert_held(&q->sysfs_lock); in elv_register_queue() 517 lockdep_assert_held(&q->sysfs_lock); in elv_unregister_queue() 591 lockdep_assert_held(&q->sysfs_lock); in elevator_switch_mq() [all …]
|
D | blk-sysfs.c | 723 mutex_lock(&q->sysfs_lock); in queue_attr_show() 725 mutex_unlock(&q->sysfs_lock); in queue_attr_show() 741 mutex_lock(&q->sysfs_lock); in queue_attr_store() 743 mutex_unlock(&q->sysfs_lock); in queue_attr_store() 889 mutex_lock(&q->sysfs_lock); in blk_register_queue() 893 mutex_unlock(&q->sysfs_lock); in blk_register_queue() 910 mutex_unlock(&q->sysfs_lock); in blk_register_queue() 956 mutex_lock(&q->sysfs_lock); in blk_unregister_queue() 958 mutex_unlock(&q->sysfs_lock); in blk_unregister_queue() 972 mutex_lock(&q->sysfs_lock); in blk_unregister_queue() [all …]
|
D | blk-mq-sysfs.c | 69 mutex_lock(&q->sysfs_lock); in blk_mq_hw_sysfs_show() 71 mutex_unlock(&q->sysfs_lock); in blk_mq_hw_sysfs_show() 91 mutex_lock(&q->sysfs_lock); in blk_mq_hw_sysfs_store() 93 mutex_unlock(&q->sysfs_lock); in blk_mq_hw_sysfs_store()
|
D | blk-mq-debugfs.c | 470 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_show() 475 mutex_unlock(&q->sysfs_lock); in hctx_tags_show() 487 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_bitmap_show() 492 mutex_unlock(&q->sysfs_lock); in hctx_tags_bitmap_show() 504 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_show() 509 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_show() 521 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_bitmap_show() 526 mutex_unlock(&q->sysfs_lock); in hctx_sched_tags_bitmap_show()
|
D | blk-core.c | 403 mutex_lock(&q->sysfs_lock); in blk_cleanup_queue() 406 mutex_unlock(&q->sysfs_lock); in blk_cleanup_queue() 568 mutex_init(&q->sysfs_lock); in blk_alloc_queue()
|
D | blk.h | 203 lockdep_assert_held(&q->sysfs_lock); in elevator_exit()
|
D | blk-mq.c | 3218 mutex_lock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs() 3269 mutex_unlock(&q->sysfs_lock); in blk_mq_realloc_hw_ctxs() 3693 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_none() 3703 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_none() 3726 mutex_lock(&q->sysfs_lock); in blk_mq_elv_switch_back() 3728 mutex_unlock(&q->sysfs_lock); in blk_mq_elv_switch_back()
|
/Linux-v5.15/drivers/phy/broadcom/ |
D | phy-brcm-usb.c | 24 static DEFINE_MUTEX(sysfs_lock); 218 mutex_lock(&sysfs_lock); in dual_select_store() 225 mutex_unlock(&sysfs_lock); in dual_select_store() 236 mutex_lock(&sysfs_lock); in dual_select_show() 238 mutex_unlock(&sysfs_lock); in dual_select_show()
|
/Linux-v5.15/drivers/acpi/ |
D | battery.c | 97 struct mutex sysfs_lock; member 864 mutex_lock(&battery->sysfs_lock); in sysfs_remove_battery() 866 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery() 873 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery() 1202 mutex_init(&battery->sysfs_lock); in acpi_battery_add() 1223 mutex_destroy(&battery->sysfs_lock); in acpi_battery_add() 1239 mutex_destroy(&battery->sysfs_lock); in acpi_battery_remove()
|
/Linux-v5.15/include/linux/ |
D | elevator.h | 106 struct mutex sysfs_lock; member
|
D | blkdev.h | 515 struct mutex sysfs_lock; member
|
/Linux-v5.15/Documentation/RCU/ |
D | lockdep-splat.rst | 34 #1: (&eq->sysfs_lock){+.+.}, at: [<ffffffff812a5032>]
|