/drivers/misc/mei/ |
D | wd.c | 178 mutex_unlock(&dev->device_lock); in mei_wd_stop() 183 mutex_lock(&dev->device_lock); in mei_wd_stop() 214 mutex_lock(&dev->device_lock); in mei_wd_ops_start() 233 mutex_unlock(&dev->device_lock); in mei_wd_ops_start() 252 mutex_lock(&dev->device_lock); in mei_wd_ops_stop() 254 mutex_unlock(&dev->device_lock); in mei_wd_ops_stop() 275 mutex_lock(&dev->device_lock); in mei_wd_ops_ping() 309 mutex_unlock(&dev->device_lock); in mei_wd_ops_ping() 334 mutex_lock(&dev->device_lock); in mei_wd_ops_set_timeout() 340 mutex_unlock(&dev->device_lock); in mei_wd_ops_set_timeout()
|
D | main.c | 73 mutex_lock(&dev->device_lock); in mei_open() 97 mutex_unlock(&dev->device_lock); in mei_open() 102 mutex_unlock(&dev->device_lock); in mei_open() 128 mutex_lock(&dev->device_lock); in mei_release() 175 mutex_unlock(&dev->device_lock); in mei_release() 207 mutex_lock(&dev->device_lock); in mei_read() 262 mutex_unlock(&dev->device_lock); in mei_read() 274 mutex_lock(&dev->device_lock); in mei_read() 326 mutex_unlock(&dev->device_lock); in mei_read() 354 mutex_lock(&dev->device_lock); in mei_write() [all …]
|
D | bus.c | 263 mutex_lock(&dev->device_lock); in ___mei_cl_send() 267 mutex_unlock(&dev->device_lock); in ___mei_cl_send() 286 mutex_lock(&dev->device_lock); in __mei_cl_recv() 291 mutex_unlock(&dev->device_lock); in __mei_cl_recv() 298 mutex_unlock(&dev->device_lock); in __mei_cl_recv() 307 mutex_lock(&dev->device_lock); in __mei_cl_recv() 326 mutex_unlock(&dev->device_lock); in __mei_cl_recv() 424 mutex_lock(&dev->device_lock); in mei_cl_enable_device() 430 mutex_unlock(&dev->device_lock); in mei_cl_enable_device() 436 mutex_unlock(&dev->device_lock); in mei_cl_enable_device() [all …]
|
D | init.c | 51 mutex_init(&dev->device_lock); in mei_device_init() 83 mutex_lock(&dev->device_lock); in mei_start() 117 mutex_unlock(&dev->device_lock); in mei_start() 122 mutex_unlock(&dev->device_lock); in mei_start() 202 mutex_lock(&dev->device_lock); in mei_stop() 213 mutex_unlock(&dev->device_lock); in mei_stop()
|
D | hw-me.c | 241 mutex_unlock(&dev->device_lock); in mei_me_hw_ready_wait() 244 mutex_lock(&dev->device_lock); in mei_me_hw_ready_wait() 474 mutex_lock(&dev->device_lock); in mei_me_irq_thread_handler() 488 mutex_unlock(&dev->device_lock); in mei_me_irq_thread_handler() 500 mutex_unlock(&dev->device_lock); in mei_me_irq_thread_handler() 505 mutex_unlock(&dev->device_lock); in mei_me_irq_thread_handler() 526 mutex_unlock(&dev->device_lock); in mei_me_irq_thread_handler()
|
D | client.c | 342 mutex_lock(&dev->device_lock); in mei_host_client_init() 369 mutex_unlock(&dev->device_lock); in mei_host_client_init() 415 mutex_unlock(&dev->device_lock); in mei_cl_disconnect() 421 mutex_lock(&dev->device_lock); in mei_cl_disconnect() 517 mutex_unlock(&dev->device_lock); in mei_cl_connect() 522 mutex_lock(&dev->device_lock); in mei_cl_connect() 773 mutex_unlock(&dev->device_lock); in mei_cl_write() 781 mutex_lock(&dev->device_lock); in mei_cl_write()
|
D | nfc.c | 418 mutex_lock(&dev->device_lock); in mei_nfc_init() 421 mutex_unlock(&dev->device_lock); in mei_nfc_init() 428 mutex_unlock(&dev->device_lock); in mei_nfc_init() 440 mutex_lock(&dev->device_lock); in mei_nfc_init() 443 mutex_unlock(&dev->device_lock); in mei_nfc_init() 450 mutex_unlock(&dev->device_lock); in mei_nfc_init()
|
D | debugfs.c | 44 mutex_lock(&dev->device_lock); in mei_dbgfs_read_meclients() 66 mutex_unlock(&dev->device_lock); in mei_dbgfs_read_meclients()
|
D | amthif.c | 198 mutex_unlock(&dev->device_lock); in mei_amthif_read() 204 mutex_lock(&dev->device_lock); in mei_amthif_read() 421 mutex_unlock(&dev->device_lock); in mei_amthif_poll() 423 mutex_lock(&dev->device_lock); in mei_amthif_poll()
|
D | pci-me.c | 326 mutex_lock(&dev->device_lock); in mei_me_pci_resume() 330 mutex_unlock(&dev->device_lock); in mei_me_pci_resume()
|
/drivers/md/ |
D | multipath.c | 65 spin_lock_irqsave(&conf->device_lock, flags); in multipath_reschedule_retry() 67 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_reschedule_retry() 208 spin_lock_irqsave(&conf->device_lock, flags); in multipath_error() 210 spin_unlock_irqrestore(&conf->device_lock, flags); in multipath_error() 279 spin_lock_irq(&conf->device_lock); in multipath_add_disk() 283 spin_unlock_irq(&conf->device_lock); in multipath_add_disk() 350 spin_lock_irqsave(&conf->device_lock, flags); in multipathd() 355 spin_unlock_irqrestore(&conf->device_lock, flags); in multipathd() 380 spin_unlock_irqrestore(&conf->device_lock, flags); in multipathd() 458 spin_lock_init(&conf->device_lock); in multipath_run()
|
D | raid1.c | 209 spin_lock_irqsave(&conf->device_lock, flags); in reschedule_retry() 212 spin_unlock_irqrestore(&conf->device_lock, flags); in reschedule_retry() 231 spin_lock_irqsave(&conf->device_lock, flags); in call_bio_endio() 234 spin_unlock_irqrestore(&conf->device_lock, flags); in call_bio_endio() 318 spin_lock_irqsave(&conf->device_lock, flags); in raid1_end_read_request() 323 spin_unlock_irqrestore(&conf->device_lock, flags); in raid1_end_read_request() 769 spin_lock_irq(&conf->device_lock); in flush_pending_writes() 775 spin_unlock_irq(&conf->device_lock); in flush_pending_writes() 793 spin_unlock_irq(&conf->device_lock); in flush_pending_writes() 966 spin_lock_irq(&conf->device_lock); in raid1_unplug() [all …]
|
D | raid5.c | 248 if (atomic_dec_and_lock(&sh->count, &conf->device_lock)) { in release_stripe() 250 spin_unlock(&conf->device_lock); in release_stripe() 467 spin_lock_irq(&conf->device_lock); in get_active_stripe() 472 conf->device_lock); in get_active_stripe() 486 conf->device_lock); in get_active_stripe() 509 spin_unlock_irq(&conf->device_lock); in get_active_stripe() 1622 spin_lock_irq(&conf->device_lock); in resize_stripes() 1625 conf->device_lock); in resize_stripes() 1627 spin_unlock_irq(&conf->device_lock); in resize_stripes() 1696 spin_lock_irq(&conf->device_lock); in drop_one_stripe() [all …]
|
D | raid10.c | 279 spin_lock_irqsave(&conf->device_lock, flags); in reschedule_retry() 282 spin_unlock_irqrestore(&conf->device_lock, flags); in reschedule_retry() 303 spin_lock_irqsave(&conf->device_lock, flags); in raid_end_bio_io() 306 spin_unlock_irqrestore(&conf->device_lock, flags); in raid_end_bio_io() 396 spin_lock_irqsave(&conf->device_lock, flags); in raid10_end_read_request() 399 spin_unlock_irqrestore(&conf->device_lock, flags); in raid10_end_read_request() 955 spin_lock_irq(&conf->device_lock); in flush_pending_writes() 961 spin_unlock_irq(&conf->device_lock); in flush_pending_writes() 979 spin_unlock_irq(&conf->device_lock); in flush_pending_writes() 1128 spin_lock_irq(&conf->device_lock); in raid10_unplug() [all …]
|
D | multipath.h | 12 spinlock_t device_lock; member
|
D | raid1.h | 44 spinlock_t device_lock; member
|
D | raid10.h | 18 spinlock_t device_lock; member
|
/drivers/hwmon/ |
D | adt7411.c | 50 struct mutex device_lock; /* for "atomic" device accesses */ member 69 mutex_lock(&data->device_lock); in adt7411_read_10_bit() 82 mutex_unlock(&data->device_lock); in adt7411_read_10_bit() 93 mutex_lock(&data->device_lock); in adt7411_modify_bit() 107 mutex_unlock(&data->device_lock); in adt7411_modify_bit() 292 mutex_init(&data->device_lock); in adt7411_probe()
|
/drivers/base/ |
D | dd.c | 416 device_lock(dev); in device_attach() 457 device_lock(dev->parent); in __driver_attach() 458 device_lock(dev); in __driver_attach() 534 device_lock(dev); in device_release_driver() 563 device_lock(dev->parent); in driver_detach() 564 device_lock(dev); in driver_detach()
|
/drivers/net/usb/ |
D | kaweth.c | 218 spinlock_t device_lock; member 633 spin_lock(&kaweth->device_lock); in kaweth_usb_receive() 635 spin_unlock(&kaweth->device_lock); in kaweth_usb_receive() 638 spin_unlock(&kaweth->device_lock); in kaweth_usb_receive() 808 spin_lock_irq(&kaweth->device_lock); in kaweth_start_xmit() 826 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit() 859 spin_unlock_irq(&kaweth->device_lock); in kaweth_start_xmit() 957 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_suspend() 959 spin_unlock_irqrestore(&kaweth->device_lock, flags); in kaweth_suspend() 974 spin_lock_irqsave(&kaweth->device_lock, flags); in kaweth_resume() [all …]
|
/drivers/vfio/ |
D | vfio.c | 74 struct mutex device_lock; member 207 mutex_init(&group->device_lock); in vfio_create_group() 372 mutex_lock(&group->device_lock); in vfio_group_create_device() 374 mutex_unlock(&group->device_lock); in vfio_group_create_device() 386 mutex_unlock(&group->device_lock); in vfio_device_release() 400 kref_put_mutex(&device->kref, vfio_device_release, &group->device_lock); in vfio_device_put() 416 mutex_lock(&group->device_lock); in vfio_group_get_device() 420 mutex_unlock(&group->device_lock); in vfio_group_get_device() 424 mutex_unlock(&group->device_lock); in vfio_group_get_device() 1115 mutex_lock(&group->device_lock); in vfio_group_get_device_fd() [all …]
|
/drivers/pci/pcie/aer/ |
D | aerdrv_core.c | 214 device_lock(&dev->dev); in report_error_detected() 265 device_lock(&dev->dev); in report_mmio_enabled() 286 device_lock(&dev->dev); in report_slot_reset() 304 device_lock(&dev->dev); in report_resume()
|
/drivers/target/ |
D | target_core_device.c | 586 spin_lock(&hba->device_lock); in core_dev_export() 588 spin_unlock(&hba->device_lock); in core_dev_export() 613 spin_lock(&hba->device_lock); in core_dev_unexport() 615 spin_unlock(&hba->device_lock); in core_dev_unexport() 1511 spin_lock(&hba->device_lock); in target_configure_device() 1513 spin_unlock(&hba->device_lock); in target_configure_device() 1532 spin_lock(&hba->device_lock); in target_free_device() 1534 spin_unlock(&hba->device_lock); in target_free_device()
|
/drivers/vfio/pci/ |
D | vfio_pci_intrs.c | 770 device_lock(&pdev->dev); in vfio_pci_set_err_trigger() 777 device_lock(&pdev->dev); in vfio_pci_set_err_trigger() 787 device_lock(&pdev->dev); in vfio_pci_set_err_trigger() 798 device_lock(&pdev->dev); in vfio_pci_set_err_trigger()
|
/drivers/s390/cio/ |
D | scm.c | 136 device_lock(dev); \ 205 device_lock(&scmdev->dev); in scmdev_update()
|