/drivers/gpu/drm/msm/disp/ |
D | mdp_kms.c | 19 static DEFINE_SPINLOCK(list_lock); 26 assert_spin_locked(&list_lock); in update_irq() 41 spin_lock_irqsave(&list_lock, flags); in mdp_irq_update() 43 spin_unlock_irqrestore(&list_lock, flags); in mdp_irq_update() 51 spin_lock_irqsave(&list_lock, flags); in mdp_dispatch_irqs() 55 spin_unlock_irqrestore(&list_lock, flags); in mdp_dispatch_irqs() 57 spin_lock_irqsave(&list_lock, flags); in mdp_dispatch_irqs() 62 spin_unlock_irqrestore(&list_lock, flags); in mdp_dispatch_irqs() 70 spin_lock_irqsave(&list_lock, flags); in mdp_update_vblank_mask() 76 spin_unlock_irqrestore(&list_lock, flags); in mdp_update_vblank_mask() [all …]
|
/drivers/staging/most/video/ |
D | video.c | 37 spinlock_t list_lock; member 57 static DEFINE_SPINLOCK(list_lock); 132 spin_lock_irq(&mdev->list_lock); in comp_vdev_close() 136 spin_unlock_irq(&mdev->list_lock); in comp_vdev_close() 138 spin_lock_irq(&mdev->list_lock); in comp_vdev_close() 140 spin_unlock_irq(&mdev->list_lock); in comp_vdev_close() 193 spin_lock_irq(&mdev->list_lock); in comp_vdev_read() 195 spin_unlock_irq(&mdev->list_lock); in comp_vdev_read() 375 spin_lock_irqsave(&list_lock, flags); in get_comp_dev() 378 spin_unlock_irqrestore(&list_lock, flags); in get_comp_dev() [all …]
|
/drivers/soc/qcom/ |
D | smem_state.c | 14 static DEFINE_MUTEX(list_lock); 63 mutex_lock(&list_lock); in of_node_to_state() 74 mutex_unlock(&list_lock); in of_node_to_state() 148 mutex_lock(&list_lock); in qcom_smem_state_put() 150 mutex_unlock(&list_lock); in qcom_smem_state_put() 176 mutex_lock(&list_lock); in qcom_smem_state_register() 178 mutex_unlock(&list_lock); in qcom_smem_state_register()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 63 spinlock_t list_lock; member 160 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_none() 162 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_none() 177 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_ready() 188 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_ready() 203 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle() 213 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle() 227 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_queued() 237 spin_unlock_irqrestore(&sp->list_lock, irq_flags); in pvr2_buffer_set_queued() 400 spin_lock_init(&sp->list_lock); in pvr2_stream_init() [all …]
|
/drivers/media/v4l2-core/ |
D | v4l2-async.c | 88 static DEFINE_MUTEX(list_lock); 374 lockdep_assert_held(&list_lock); in v4l2_async_notifier_has_async_subdev() 436 mutex_lock(&list_lock); in __v4l2_async_notifier_register() 457 mutex_unlock(&list_lock); in __v4l2_async_notifier_register() 468 mutex_unlock(&list_lock); in __v4l2_async_notifier_register() 525 mutex_lock(&list_lock); in v4l2_async_notifier_unregister() 529 mutex_unlock(&list_lock); in v4l2_async_notifier_unregister() 556 mutex_lock(&list_lock); in v4l2_async_notifier_cleanup() 560 mutex_unlock(&list_lock); in v4l2_async_notifier_cleanup() 569 mutex_lock(&list_lock); in v4l2_async_notifier_add_subdev() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_common.c | 48 mutex_lock(&mdev->mlx5e_res.td.list_lock); in mlx5e_create_tir() 50 mutex_unlock(&mdev->mlx5e_res.td.list_lock); in mlx5e_create_tir() 58 mutex_lock(&mdev->mlx5e_res.td.list_lock); in mlx5e_destroy_tir() 61 mutex_unlock(&mdev->mlx5e_res.td.list_lock); in mlx5e_destroy_tir() 121 mutex_init(&mdev->mlx5e_res.td.list_lock); in mlx5e_create_mdev_resources() 167 mutex_lock(&mdev->mlx5e_res.td.list_lock); in mlx5e_refresh_tirs() 179 mutex_unlock(&mdev->mlx5e_res.td.list_lock); in mlx5e_refresh_tirs()
|
/drivers/staging/uwb/ |
D | uwb-debug.c | 51 spinlock_t list_lock; member 63 spin_lock(&dbg->list_lock); in uwb_dbg_rsv_cb() 65 spin_unlock(&dbg->list_lock); in uwb_dbg_rsv_cb() 100 spin_lock(&(rc->dbg)->list_lock); in cmd_rsv_establish() 102 spin_unlock(&(rc->dbg)->list_lock); in cmd_rsv_establish() 113 spin_lock(&(rc->dbg)->list_lock); in cmd_rsv_terminate() 124 spin_unlock(&(rc->dbg)->list_lock); in cmd_rsv_terminate() 257 spin_lock(&dbg->list_lock); in uwb_dbg_new_rsv() 259 spin_unlock(&dbg->list_lock); in uwb_dbg_new_rsv() 275 spin_lock_init(&(rc->dbg)->list_lock); in uwb_dbg_add_rc()
|
/drivers/iio/buffer/ |
D | industrialio-buffer-dma.c | 219 spin_lock_irqsave(&queue->list_lock, flags); in iio_dma_buffer_block_done() 221 spin_unlock_irqrestore(&queue->list_lock, flags); in iio_dma_buffer_block_done() 244 spin_lock_irqsave(&queue->list_lock, flags); in iio_dma_buffer_block_list_abort() 251 spin_unlock_irqrestore(&queue->list_lock, flags); in iio_dma_buffer_block_list_abort() 307 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_request_update() 322 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_request_update() 461 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_dequeue() 468 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_dequeue() 555 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_data_available() 558 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_data_available() [all …]
|
D | industrialio-buffer-dmaengine.c | 51 spin_lock_irqsave(&block->queue->list_lock, flags); in iio_dmaengine_buffer_block_done() 53 spin_unlock_irqrestore(&block->queue->list_lock, flags); in iio_dmaengine_buffer_block_done() 82 spin_lock_irq(&dmaengine_buffer->queue.list_lock); in iio_dmaengine_buffer_submit_block() 84 spin_unlock_irq(&dmaengine_buffer->queue.list_lock); in iio_dmaengine_buffer_submit_block()
|
/drivers/scsi/ |
D | scsi_dh.c | 16 static DEFINE_SPINLOCK(list_lock); 91 spin_lock(&list_lock); in __scsi_dh_lookup() 98 spin_unlock(&list_lock); in __scsi_dh_lookup() 206 spin_lock(&list_lock); in scsi_register_device_handler() 208 spin_unlock(&list_lock); in scsi_register_device_handler() 228 spin_lock(&list_lock); in scsi_unregister_device_handler() 230 spin_unlock(&list_lock); in scsi_unregister_device_handler()
|
/drivers/iommu/ |
D | s390-iommu.c | 29 spinlock_t list_lock; member 72 spin_lock_init(&s390_domain->list_lock); in s390_domain_alloc() 111 spin_lock_irqsave(&s390_domain->list_lock, flags); in s390_iommu_attach_device() 121 spin_unlock_irqrestore(&s390_domain->list_lock, flags); in s390_iommu_attach_device() 127 spin_unlock_irqrestore(&s390_domain->list_lock, flags); in s390_iommu_attach_device() 150 spin_lock_irqsave(&s390_domain->list_lock, flags); in s390_iommu_detach_device() 160 spin_unlock_irqrestore(&s390_domain->list_lock, flags); in s390_iommu_detach_device() 240 spin_lock(&s390_domain->list_lock); in s390_iommu_update_trans() 247 spin_unlock(&s390_domain->list_lock); in s390_iommu_update_trans()
|
/drivers/staging/greybus/ |
D | raw.c | 23 struct mutex list_lock; member 66 mutex_lock(&raw->list_lock); in receive_data() 85 mutex_unlock(&raw->list_lock); in receive_data() 176 mutex_init(&raw->list_lock); in gb_raw_probe() 238 mutex_lock(&raw->list_lock); in gb_raw_disconnect() 243 mutex_unlock(&raw->list_lock); in gb_raw_disconnect() 292 mutex_lock(&raw->list_lock); in raw_read() 313 mutex_unlock(&raw->list_lock); in raw_read()
|
/drivers/s390/cio/ |
D | eadm_sch.c | 36 static DEFINE_SPINLOCK(list_lock); 168 spin_lock_irqsave(&list_lock, flags); in eadm_get_idle_sch() 176 spin_unlock_irqrestore(&list_lock, flags); in eadm_get_idle_sch() 182 spin_unlock_irqrestore(&list_lock, flags); in eadm_get_idle_sch() 243 spin_lock_irq(&list_lock); in eadm_subchannel_probe() 245 spin_unlock_irq(&list_lock); in eadm_subchannel_probe() 289 spin_lock_irq(&list_lock); in eadm_subchannel_remove() 291 spin_unlock_irq(&list_lock); in eadm_subchannel_remove()
|
/drivers/gpu/drm/nouveau/nvkm/core/ |
D | notify.c | 96 assert_spin_locked(&event->list_lock); in nvkm_notify_send() 123 spin_lock_irqsave(¬ify->event->list_lock, flags); in nvkm_notify_fini() 125 spin_unlock_irqrestore(¬ify->event->list_lock, flags); in nvkm_notify_fini() 155 spin_lock_irqsave(&event->list_lock, flags); in nvkm_notify_init() 157 spin_unlock_irqrestore(&event->list_lock, flags); in nvkm_notify_init()
|
D | event.c | 61 spin_lock_irqsave(&event->list_lock, flags); in nvkm_event_send() 71 spin_unlock_irqrestore(&event->list_lock, flags); in nvkm_event_send() 97 spin_lock_init(&event->list_lock); in nvkm_event_init()
|
/drivers/staging/most/net/ |
D | net.c | 72 static DEFINE_SPINLOCK(list_lock); /* list_head, ch->linked = false, dev_hold */ 295 spin_lock_irqsave(&list_lock, flags); in get_net_dev_hold() 301 spin_unlock_irqrestore(&list_lock, flags); in get_net_dev_hold() 335 spin_lock_irqsave(&list_lock, flags); in comp_probe_channel() 337 spin_unlock_irqrestore(&list_lock, flags); in comp_probe_channel() 387 spin_lock_irqsave(&list_lock, flags); in comp_disconnect_channel() 389 spin_unlock_irqrestore(&list_lock, flags); in comp_disconnect_channel() 397 spin_lock_irqsave(&list_lock, flags); in comp_disconnect_channel() 399 spin_unlock_irqrestore(&list_lock, flags); in comp_disconnect_channel()
|
/drivers/s390/block/ |
D | scm_blk.c | 27 static DEFINE_SPINLOCK(list_lock); 56 spin_lock_irq(&list_lock); in scm_free_rqs() 62 spin_unlock_irq(&list_lock); in scm_free_rqs() 87 spin_lock_irq(&list_lock); in __scm_alloc_rq() 89 spin_unlock_irq(&list_lock); in __scm_alloc_rq() 115 spin_lock_irq(&list_lock); in scm_request_fetch() 121 spin_unlock_irq(&list_lock); in scm_request_fetch() 141 spin_lock_irqsave(&list_lock, flags); in scm_request_done() 143 spin_unlock_irqrestore(&list_lock, flags); in scm_request_done()
|
/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 50 static DEFINE_SPINLOCK(list_lock); 275 spin_lock_irqsave(&list_lock, flags); in release_engine() 277 spin_unlock_irqrestore(&list_lock, flags); in release_engine() 329 spin_lock_irqsave(&list_lock, flags); in dmm_txn_init() 335 spin_unlock_irqrestore(&list_lock, flags); in dmm_txn_init() 572 spin_lock_irqsave(&list_lock, flags); in tiler_reserve_2d() 574 spin_unlock_irqrestore(&list_lock, flags); in tiler_reserve_2d() 596 spin_lock_irqsave(&list_lock, flags); in tiler_reserve_1d() 598 spin_unlock_irqrestore(&list_lock, flags); in tiler_reserve_1d() 612 spin_lock_irqsave(&list_lock, flags); in tiler_release() [all …]
|
D | omap_debugfs.c | 26 mutex_lock(&priv->list_lock); in gem_show() 28 mutex_unlock(&priv->list_lock); in gem_show()
|
/drivers/staging/media/soc_camera/ |
D | soc_camera.c | 51 static DEFINE_MUTEX(list_lock); 624 if (mutex_lock_interruptible(&list_lock)) in soc_camera_open() 628 mutex_unlock(&list_lock); in soc_camera_open() 636 mutex_unlock(&list_lock); in soc_camera_open() 1050 mutex_lock(&list_lock); in scan_add_host() 1068 mutex_unlock(&list_lock); in scan_add_host() 1128 mutex_lock(&list_lock); in soc_camera_dyn_pdev() 1132 mutex_unlock(&list_lock); in soc_camera_dyn_pdev() 1380 mutex_lock(&list_lock); in soc_camera_async_complete() 1382 mutex_unlock(&list_lock); in soc_camera_async_complete() [all …]
|
/drivers/hid/ |
D | hidraw.c | 299 spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags); in hidraw_open() 301 spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags); in hidraw_open() 352 spin_lock_irqsave(&hidraw_table[minor]->list_lock, flags); in hidraw_release() 354 spin_unlock_irqrestore(&hidraw_table[minor]->list_lock, flags); in hidraw_release() 485 spin_lock_irqsave(&dev->list_lock, flags); in hidraw_report_event() 500 spin_unlock_irqrestore(&dev->list_lock, flags); in hidraw_report_event() 548 spin_lock_init(&dev->list_lock); in hidraw_connect()
|
/drivers/pci/controller/ |
D | vmd.c | 55 static DEFINE_RAW_SPINLOCK(list_lock); 145 raw_spin_lock_irqsave(&list_lock, flags); in vmd_irq_enable() 149 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_irq_enable() 161 raw_spin_lock_irqsave(&list_lock, flags); in vmd_irq_disable() 166 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_irq_disable() 216 raw_spin_lock_irqsave(&list_lock, flags); in vmd_next_irq() 221 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_next_irq() 258 raw_spin_lock_irqsave(&list_lock, flags); in vmd_msi_free() 260 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_msi_free()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 235 static DEFINE_SPINLOCK(list_lock); 451 spin_lock(&list_lock); in initialize_controller() 459 spin_unlock(&list_lock); in initialize_controller() 762 spin_lock(&list_lock); in rdac_bus_attach() 764 spin_unlock(&list_lock); in rdac_bus_attach() 778 spin_lock(&list_lock); in rdac_bus_detach() 784 spin_unlock(&list_lock); in rdac_bus_detach()
|
/drivers/crypto/ |
D | omap-aes.c | 44 static DEFINE_SPINLOCK(list_lock); 213 spin_lock_bh(&list_lock); in omap_aes_find_dev() 217 spin_unlock_bh(&list_lock); in omap_aes_find_dev() 637 spin_lock_bh(&list_lock); in omap_aes_gcm_cra_init() 641 spin_unlock_bh(&list_lock); in omap_aes_gcm_cra_init() 1095 spin_lock_bh(&list_lock); in queue_len_store() 1102 spin_unlock_bh(&list_lock); in queue_len_store() 1198 spin_lock(&list_lock); in omap_aes_probe() 1200 spin_unlock(&list_lock); in omap_aes_probe() 1287 spin_lock(&list_lock); in omap_aes_remove() [all …]
|
/drivers/scsi/qedi/ |
D | qedi_fw.c | 456 spin_lock(&qedi_conn->list_lock); in qedi_process_nopin_mesg() 463 spin_unlock(&qedi_conn->list_lock); in qedi_process_nopin_mesg() 654 spin_lock(&qedi_conn->list_lock); in qedi_scsi_completion() 660 spin_unlock(&qedi_conn->list_lock); in qedi_scsi_completion() 819 spin_lock(&qedi_conn->list_lock); in qedi_process_cmd_cleanup_resp() 822 spin_unlock(&qedi_conn->list_lock); in qedi_process_cmd_cleanup_resp() 1099 spin_lock(&qedi_conn->list_lock); in qedi_send_iscsi_login() 1103 spin_unlock(&qedi_conn->list_lock); in qedi_send_iscsi_login() 1172 spin_lock(&qedi_conn->list_lock); in qedi_send_iscsi_logout() 1176 spin_unlock(&qedi_conn->list_lock); in qedi_send_iscsi_logout() [all …]
|