/linux-6.1.9/drivers/misc/mei/ |
D | init.c | 194 mutex_lock(&dev->device_lock); in mei_start() 228 mutex_unlock(&dev->device_lock); in mei_start() 233 mutex_unlock(&dev->device_lock); in mei_start() 249 mutex_lock(&dev->device_lock); in mei_restart() 256 mutex_unlock(&dev->device_lock); in mei_restart() 281 mutex_lock(&dev->device_lock); in mei_reset_work() 285 mutex_unlock(&dev->device_lock); in mei_reset_work() 301 mutex_lock(&dev->device_lock); in mei_stop() 303 mutex_unlock(&dev->device_lock); in mei_stop() 305 mutex_lock(&dev->device_lock); in mei_stop() [all …]
|
D | main.c | 54 mutex_lock(&dev->device_lock); in mei_open() 72 mutex_unlock(&dev->device_lock); in mei_open() 77 mutex_unlock(&dev->device_lock); in mei_open() 121 mutex_lock(&dev->device_lock); in mei_release() 152 mutex_unlock(&dev->device_lock); in mei_release() 182 mutex_lock(&dev->device_lock); in mei_read() 216 mutex_unlock(&dev->device_lock); in mei_read() 224 mutex_lock(&dev->device_lock); in mei_read() 274 mutex_unlock(&dev->device_lock); in mei_read() 322 mutex_lock(&dev->device_lock); in mei_write() [all …]
|
D | bus.c | 46 mutex_lock(&bus->device_lock); in __mei_cl_send() 77 mutex_unlock(&bus->device_lock); in __mei_cl_send() 81 mutex_lock(&bus->device_lock); in __mei_cl_send() 107 mutex_unlock(&bus->device_lock); in __mei_cl_send() 138 mutex_lock(&bus->device_lock); in __mei_cl_recv() 162 mutex_unlock(&bus->device_lock); in __mei_cl_recv() 188 mutex_lock(&bus->device_lock); in __mei_cl_recv() 217 mutex_unlock(&bus->device_lock); in __mei_cl_recv() 354 mutex_lock(&bus->device_lock); in mei_cl_bus_rx_work() 357 mutex_unlock(&bus->device_lock); in mei_cl_bus_rx_work() [all …]
|
D | hw-me.c | 468 mutex_unlock(&dev->device_lock); in mei_me_hw_ready_wait() 472 mutex_lock(&dev->device_lock); in mei_me_hw_ready_wait() 743 mutex_unlock(&dev->device_lock); in mei_me_pg_legacy_enter_sync() 747 mutex_lock(&dev->device_lock); in mei_me_pg_legacy_enter_sync() 781 mutex_unlock(&dev->device_lock); in mei_me_pg_legacy_exit_sync() 785 mutex_lock(&dev->device_lock); in mei_me_pg_legacy_exit_sync() 798 mutex_unlock(&dev->device_lock); in mei_me_pg_legacy_exit_sync() 802 mutex_lock(&dev->device_lock); in mei_me_pg_legacy_exit_sync() 935 mutex_unlock(&dev->device_lock); in mei_me_d0i3_enter_sync() 939 mutex_lock(&dev->device_lock); in mei_me_d0i3_enter_sync() [all …]
|
D | gsc-me.c | 231 mutex_lock(&dev->device_lock); in mei_gsc_pm_runtime_suspend() 244 mutex_unlock(&dev->device_lock); in mei_gsc_pm_runtime_suspend() 258 mutex_lock(&dev->device_lock); in mei_gsc_pm_runtime_resume() 268 mutex_unlock(&dev->device_lock); in mei_gsc_pm_runtime_resume()
|
D | pci-txe.c | 299 mutex_lock(&dev->device_lock); in mei_txe_pm_runtime_suspend() 310 mutex_unlock(&dev->device_lock); in mei_txe_pm_runtime_suspend() 329 mutex_lock(&dev->device_lock); in mei_txe_pm_runtime_resume() 335 mutex_unlock(&dev->device_lock); in mei_txe_pm_runtime_resume()
|
D | bus-fixup.c | 374 WARN_ON(mutex_is_locked(&bus->device_lock)); in mei_nfc_if_version() 450 mutex_lock(&bus->device_lock); in mei_nfc() 474 mutex_unlock(&bus->device_lock); in mei_nfc() 493 mutex_lock(&bus->device_lock); in mei_nfc() 501 mutex_unlock(&bus->device_lock); in mei_nfc()
|
D | client.c | 944 mutex_unlock(&dev->device_lock); in __mei_cl_disconnect() 949 mutex_lock(&dev->device_lock); in __mei_cl_disconnect() 1161 mutex_unlock(&dev->device_lock); in mei_cl_connect() 1168 mutex_lock(&dev->device_lock); in mei_cl_connect() 1560 mutex_unlock(&dev->device_lock); in mei_cl_notify_request() 1566 mutex_lock(&dev->device_lock); in mei_cl_notify_request() 1648 mutex_unlock(&dev->device_lock); in mei_cl_notify_get() 1650 mutex_lock(&dev->device_lock); in mei_cl_notify_get() 2058 mutex_unlock(&dev->device_lock); in mei_cl_write() 2062 mutex_lock(&dev->device_lock); in mei_cl_write() [all …]
|
D | pci-me.c | 430 mutex_lock(&dev->device_lock); in mei_me_pm_runtime_suspend() 437 mutex_unlock(&dev->device_lock); in mei_me_pm_runtime_suspend() 458 mutex_lock(&dev->device_lock); in mei_me_pm_runtime_resume() 462 mutex_unlock(&dev->device_lock); in mei_me_pm_runtime_resume()
|
D | hw-txe.c | 264 mutex_unlock(&dev->device_lock); in mei_txe_aliveness_wait() 267 mutex_lock(&dev->device_lock); in mei_txe_aliveness_wait() 610 mutex_unlock(&dev->device_lock); in mei_txe_readiness_wait() 613 mutex_lock(&dev->device_lock); in mei_txe_readiness_wait() 1059 mutex_lock(&dev->device_lock); in mei_txe_irq_thread_handler() 1149 mutex_unlock(&dev->device_lock); in mei_txe_irq_thread_handler()
|
D | debugfs.c | 67 mutex_lock(&dev->device_lock); in mei_dbgfs_active_show() 84 mutex_unlock(&dev->device_lock); in mei_dbgfs_active_show()
|
/linux-6.1.9/drivers/md/ |
D | md-multipath.c | 57 spin_lock_irqsave(&conf->device_lock, flags); in multipath_reschedule_retry() 59 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_reschedule_retry() 172 spin_lock_irqsave(&conf->device_lock, flags); in multipath_error() 174 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_error() 228 spin_lock_irq(&conf->device_lock); in multipath_add_disk() 232 spin_unlock_irq(&conf->device_lock); in multipath_add_disk() 296 spin_lock_irqsave(&conf->device_lock, flags); in multipathd() 301 spin_unlock_irqrestore(&conf->device_lock, flags); in multipathd() 325 spin_unlock_irqrestore(&conf->device_lock, flags); in multipathd() 388 spin_lock_init(&conf->device_lock); in multipath_run()
|
D | raid1.c | 286 spin_lock_irqsave(&conf->device_lock, flags); in reschedule_retry() 289 spin_unlock_irqrestore(&conf->device_lock, flags); in reschedule_retry() 390 spin_lock_irqsave(&conf->device_lock, flags); in raid1_end_read_request() 395 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_end_read_request() 823 spin_lock_irq(&conf->device_lock); in flush_pending_writes() 830 spin_unlock_irq(&conf->device_lock); in flush_pending_writes() 846 spin_unlock_irq(&conf->device_lock); in flush_pending_writes() 1179 spin_lock_irq(&conf->device_lock); in raid1_unplug() 1181 spin_unlock_irq(&conf->device_lock); in raid1_unplug() 1585 spin_lock_irqsave(&conf->device_lock, flags); in raid1_write_request() [all …]
|
D | raid5.c | 85 __acquires(&conf->device_lock) in lock_device_hash_lock() 88 spin_lock(&conf->device_lock); in lock_device_hash_lock() 92 __releases(&conf->device_lock) in unlock_device_hash_lock() 94 spin_unlock(&conf->device_lock); in unlock_device_hash_lock() 99 __acquires(&conf->device_lock) in lock_all_device_hash_locks_irq() 105 spin_lock(&conf->device_lock); in lock_all_device_hash_locks_irq() 109 __releases(&conf->device_lock) in unlock_all_device_hash_locks_irq() 112 spin_unlock(&conf->device_lock); in unlock_all_device_hash_locks_irq() 174 __must_hold(&sh->raid_conf->device_lock) in raid5_wakeup_stripe_thread() 222 __must_hold(&conf->device_lock) in do_release_stripe() [all …]
|
D | md-multipath.h | 13 spinlock_t device_lock; member
|
/linux-6.1.9/net/nfc/ |
D | core.c | 39 device_lock(&dev->dev); in nfc_fw_download() 95 device_lock(&dev->dev); in nfc_dev_up() 143 device_lock(&dev->dev); in nfc_dev_down() 208 device_lock(&dev->dev); in nfc_start_poll() 247 device_lock(&dev->dev); in nfc_stop_poll() 292 device_lock(&dev->dev); in nfc_dep_link_up() 336 device_lock(&dev->dev); in nfc_dep_link_down() 402 device_lock(&dev->dev); in nfc_activate_target() 449 device_lock(&dev->dev); in nfc_deactivate_target() 496 device_lock(&dev->dev); in nfc_data_exchange() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | memory-hotplug.rst | 107 - device_online()将首先接受device_lock(),然后是mem_hotplug_lock。 109 - add_memory_resource()将首先使用mem_hotplug_lock,然后是device_lock()(在创 112 由于在使用device_lock()之前,设备对用户空间是可见的,这可能导致锁的反转。
|
/linux-6.1.9/drivers/misc/ |
D | gehc-achc.c | 25 struct mutex device_lock; /* avoid concurrent device access */ member 445 mutex_lock(&achc->device_lock); in update_firmware_store() 447 mutex_unlock(&achc->device_lock); in update_firmware_store() 461 mutex_lock(&achc->device_lock); in reset_show() 463 mutex_unlock(&achc->device_lock); in reset_show() 482 mutex_lock(&achc->device_lock); in reset_store() 484 mutex_unlock(&achc->device_lock); in reset_store() 519 mutex_init(&achc->device_lock); in gehc_achc_probe()
|
/linux-6.1.9/drivers/pci/pcie/ |
D | err.c | 56 device_lock(&dev->dev); in report_error_detected() 104 device_lock(&dev->dev); in report_mmio_enabled() 125 device_lock(&dev->dev); in report_slot_reset() 145 device_lock(&dev->dev); in report_resume()
|
/linux-6.1.9/drivers/net/usb/ |
D | kaweth.c | 200 spinlock_t device_lock; member 532 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_usb_receive() 534 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_usb_receive() 537 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_usb_receive() 705 spin_lock_irq(&kaweth->device_lock); in kaweth_start_xmit() 717 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit() 750 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit() 833 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_suspend() 835 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_suspend() 849 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_resume() [all …]
|
/linux-6.1.9/drivers/dax/ |
D | bus.c | 285 device_lock(dev); in available_size_show() 303 device_lock(dev); in seed_show() 322 device_lock(dev); in create_show() 347 device_lock(dev); in create_store() 456 device_lock(dev); in free_dev_dax_id() 478 device_lock(dev); in delete_store() 479 device_lock(victim); in delete_store() 654 device_lock(dax_region->dev); in get_dax_range() 880 device_lock(dev); in size_show() 1052 device_lock(dax_region->dev); in size_store() [all …]
|
/linux-6.1.9/drivers/cxl/ |
D | pmem.c | 35 device_lock(&cxl_nvb->dev); in unregister_nvdimm() 44 device_lock(&cxl_nvb->dev); in unregister_nvdimm() 66 device_lock(&cxl_nvb->dev); in cxl_nvdimm_probe() 283 device_lock(&cxl_nvb->dev); in cxl_nvb_update_state() 407 device_lock(&cxl_nvb->dev); in release_mappings() 448 device_lock(&cxl_nvb->dev); in cxl_pmem_region_probe() 600 device_lock(dev); in cxl_nvdimm_bridge_reset()
|
/linux-6.1.9/drivers/nvdimm/ |
D | btt_devs.c | 53 device_lock(dev); in sector_size_store() 82 device_lock(dev); in uuid_store() 111 device_lock(dev); in namespace_store() 129 device_lock(dev); in size_show()
|
/linux-6.1.9/drivers/hwmon/ |
D | adt7411.c | 102 struct mutex device_lock; /* for "atomic" device accesses */ member 122 mutex_lock(&data->device_lock); in adt7411_read_10_bit() 135 mutex_unlock(&data->device_lock); in adt7411_read_10_bit() 146 mutex_lock(&data->device_lock); in adt7411_modify_bit() 160 mutex_unlock(&data->device_lock); in adt7411_modify_bit() 682 mutex_init(&data->device_lock); in adt7411_probe()
|
/linux-6.1.9/drivers/base/ |
D | dd.c | 426 device_lock(dev); in coredump_store() 520 device_lock(dev); in state_synced_show() 951 device_lock(dev); in __device_attach_async_helper() 983 device_lock(dev); in __device_attach() 1072 device_lock(parent); in __device_driver_lock() 1073 device_lock(dev); in __device_driver_lock() 1181 device_lock(dev); in __driver_attach()
|