Home
last modified time | relevance | path

Searched refs:list_lock (Results 1 – 25 of 65) sorted by relevance

123

/drivers/gpu/drm/msm/disp/
Dmdp_kms.c19 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/media/atomisp/pci/hmm/
Dhmm_dynamic_pool.c48 spin_lock_irqsave(&dypool_info->list_lock, flags); in get_pages_from_dynamic_pool()
56 spin_unlock_irqrestore(&dypool_info->list_lock, flags); in get_pages_from_dynamic_pool()
65 spin_lock_irqsave(&dypool_info->list_lock, flags); in get_pages_from_dynamic_pool()
68 spin_unlock_irqrestore(&dypool_info->list_lock, flags); in get_pages_from_dynamic_pool()
84 spin_lock_irqsave(&dypool_info->list_lock, flags); in free_pages_to_dynamic_pool()
86 spin_unlock_irqrestore(&dypool_info->list_lock, flags); in free_pages_to_dynamic_pool()
89 spin_unlock_irqrestore(&dypool_info->list_lock, flags); in free_pages_to_dynamic_pool()
133 spin_lock_irqsave(&dypool_info->list_lock, flags); in free_pages_to_dynamic_pool()
136 spin_unlock_irqrestore(&dypool_info->list_lock, flags); in free_pages_to_dynamic_pool()
161 spin_lock_init(&dypool_info->list_lock); in hmm_dynamic_pool_init()
[all …]
Dhmm_reserved_pool.c48 spin_lock_irqsave(&repool_info->list_lock, flags); in get_pages_from_reserved_pool()
61 spin_unlock_irqrestore(&repool_info->list_lock, flags); in get_pages_from_reserved_pool()
74 spin_lock_irqsave(&repool_info->list_lock, flags); in free_pages_to_reserved_pool()
82 spin_unlock_irqrestore(&repool_info->list_lock, flags); in free_pages_to_reserved_pool()
104 spin_lock_init(&pool_info->list_lock); in hmm_reserved_pool_setup()
204 spin_lock_irqsave(&repool_info->list_lock, flags); in hmm_reserved_pool_exit()
206 spin_unlock_irqrestore(&repool_info->list_lock, flags); in hmm_reserved_pool_exit()
213 spin_unlock_irqrestore(&repool_info->list_lock, flags); in hmm_reserved_pool_exit()
/drivers/staging/most/video/
Dvideo.c36 spinlock_t list_lock; member
56 static DEFINE_SPINLOCK(list_lock);
131 spin_lock_irq(&mdev->list_lock); in comp_vdev_close()
135 spin_unlock_irq(&mdev->list_lock); in comp_vdev_close()
137 spin_lock_irq(&mdev->list_lock); in comp_vdev_close()
139 spin_unlock_irq(&mdev->list_lock); in comp_vdev_close()
192 spin_lock_irq(&mdev->list_lock); in comp_vdev_read()
194 spin_unlock_irq(&mdev->list_lock); in comp_vdev_read()
374 spin_lock_irqsave(&list_lock, flags); in get_comp_dev()
377 spin_unlock_irqrestore(&list_lock, flags); in get_comp_dev()
[all …]
/drivers/soc/qcom/
Dpdr_interface.c44 struct mutex list_lock; member
89 mutex_lock(&pdr->list_lock); in pdr_locator_new_server()
94 mutex_unlock(&pdr->list_lock); in pdr_locator_new_server()
171 mutex_lock(&pdr->list_lock); in pdr_notifier_work()
193 mutex_unlock(&pdr->list_lock); in pdr_notifier_work()
203 mutex_lock(&pdr->list_lock); in pdr_notifier_new_server()
215 mutex_unlock(&pdr->list_lock); in pdr_notifier_new_server()
227 mutex_lock(&pdr->list_lock); in pdr_notifier_del_server()
238 mutex_unlock(&pdr->list_lock); in pdr_notifier_del_server()
291 mutex_lock(&pdr->list_lock); in pdr_indack_work()
[all …]
Dsmem_state.c14 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()
149 mutex_lock(&list_lock); in qcom_smem_state_put()
151 mutex_unlock(&list_lock); in qcom_smem_state_put()
213 mutex_lock(&list_lock); in qcom_smem_state_register()
215 mutex_unlock(&list_lock); in qcom_smem_state_register()
/drivers/media/v4l2-core/
Dv4l2-async.c148 static DEFINE_MUTEX(list_lock);
426 lockdep_assert_held(&list_lock); in v4l2_async_notifier_has_async_subdev()
486 mutex_lock(&list_lock); in __v4l2_async_notifier_register()
507 mutex_unlock(&list_lock); in __v4l2_async_notifier_register()
518 mutex_unlock(&list_lock); in __v4l2_async_notifier_register()
575 mutex_lock(&list_lock); in v4l2_async_notifier_unregister()
579 mutex_unlock(&list_lock); in v4l2_async_notifier_unregister()
606 mutex_lock(&list_lock); in v4l2_async_notifier_cleanup()
610 mutex_unlock(&list_lock); in v4l2_async_notifier_cleanup()
619 mutex_lock(&list_lock); in __v4l2_async_notifier_add_subdev()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-io.c63 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/iio/buffer/
Dindustrialio-buffer-dma.c218 spin_lock_irqsave(&queue->list_lock, flags); in iio_dma_buffer_block_done()
220 spin_unlock_irqrestore(&queue->list_lock, flags); in iio_dma_buffer_block_done()
243 spin_lock_irqsave(&queue->list_lock, flags); in iio_dma_buffer_block_list_abort()
250 spin_unlock_irqrestore(&queue->list_lock, flags); in iio_dma_buffer_block_list_abort()
306 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_request_update()
321 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_request_update()
460 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_dequeue()
467 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_dequeue()
554 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_data_available()
557 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_data_available()
[all …]
Dindustrialio-buffer-dmaengine.c54 spin_lock_irqsave(&block->queue->list_lock, flags); in iio_dmaengine_buffer_block_done()
56 spin_unlock_irqrestore(&block->queue->list_lock, flags); in iio_dmaengine_buffer_block_done()
86 spin_lock_irq(&dmaengine_buffer->queue.list_lock); in iio_dmaengine_buffer_submit_block()
88 spin_unlock_irq(&dmaengine_buffer->queue.list_lock); in iio_dmaengine_buffer_submit_block()
/drivers/iommu/
Ds390-iommu.c29 spinlock_t list_lock; member
72 spin_lock_init(&s390_domain->list_lock); in s390_domain_alloc()
118 spin_lock_irqsave(&s390_domain->list_lock, flags); in s390_iommu_attach_device()
128 spin_unlock_irqrestore(&s390_domain->list_lock, flags); in s390_iommu_attach_device()
134 spin_unlock_irqrestore(&s390_domain->list_lock, flags); in s390_iommu_attach_device()
158 spin_lock_irqsave(&s390_domain->list_lock, flags); in s390_iommu_detach_device()
168 spin_unlock_irqrestore(&s390_domain->list_lock, flags); in s390_iommu_detach_device()
238 spin_lock(&s390_domain->list_lock); in s390_iommu_update_trans()
245 spin_unlock(&s390_domain->list_lock); in s390_iommu_update_trans()
/drivers/scsi/
Dscsi_dh.c16 static DEFINE_SPINLOCK(list_lock);
92 spin_lock(&list_lock); in __scsi_dh_lookup()
99 spin_unlock(&list_lock); in __scsi_dh_lookup()
207 spin_lock(&list_lock); in scsi_register_device_handler()
209 spin_unlock(&list_lock); in scsi_register_device_handler()
229 spin_lock(&list_lock); in scsi_unregister_device_handler()
231 spin_unlock(&list_lock); in scsi_unregister_device_handler()
/drivers/s390/cio/
Deadm_sch.c36 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/staging/greybus/
Draw.c23 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/xen/
Dunpopulated-alloc.c14 static DEFINE_MUTEX(list_lock);
116 mutex_lock(&list_lock); in xen_alloc_unpopulated_pages()
149 mutex_unlock(&list_lock); in xen_alloc_unpopulated_pages()
163 mutex_lock(&list_lock); in xen_free_unpopulated_pages()
169 mutex_unlock(&list_lock); in xen_free_unpopulated_pages()
/drivers/gpu/drm/nouveau/nvkm/core/
Dnotify.c96 assert_spin_locked(&event->list_lock); in nvkm_notify_send()
123 spin_lock_irqsave(&notify->event->list_lock, flags); in nvkm_notify_fini()
125 spin_unlock_irqrestore(&notify->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()
Devent.c61 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/
Dnet.c72 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/dma/idxd/
Dirq.c204 spin_lock(&irq_entry->list_lock); in irq_process_pending_llist()
207 spin_unlock(&irq_entry->list_lock); in irq_process_pending_llist()
221 spin_lock(&irq_entry->list_lock); in irq_process_work_list()
223 spin_unlock(&irq_entry->list_lock); in irq_process_work_list()
234 spin_unlock(&irq_entry->list_lock); in irq_process_work_list()
/drivers/s390/block/
Dscm_blk.c28 static DEFINE_SPINLOCK(list_lock);
57 spin_lock_irq(&list_lock); in scm_free_rqs()
63 spin_unlock_irq(&list_lock); in scm_free_rqs()
88 spin_lock_irq(&list_lock); in __scm_alloc_rq()
90 spin_unlock_irq(&list_lock); in __scm_alloc_rq()
116 spin_lock_irq(&list_lock); in scm_request_fetch()
122 spin_unlock_irq(&list_lock); in scm_request_fetch()
142 spin_lock_irqsave(&list_lock, flags); in scm_request_done()
144 spin_unlock_irqrestore(&list_lock, flags); in scm_request_done()
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c50 static DEFINE_SPINLOCK(list_lock);
273 spin_lock_irqsave(&list_lock, flags); in release_engine()
275 spin_unlock_irqrestore(&list_lock, flags); in release_engine()
327 spin_lock_irqsave(&list_lock, flags); in dmm_txn_init()
333 spin_unlock_irqrestore(&list_lock, flags); in dmm_txn_init()
570 spin_lock_irqsave(&list_lock, flags); in tiler_reserve_2d()
572 spin_unlock_irqrestore(&list_lock, flags); in tiler_reserve_2d()
594 spin_lock_irqsave(&list_lock, flags); in tiler_reserve_1d()
596 spin_unlock_irqrestore(&list_lock, flags); in tiler_reserve_1d()
610 spin_lock_irqsave(&list_lock, flags); in tiler_release()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtir.c169 mutex_lock(&res->td.list_lock); in mlx5e_tir_init()
171 mutex_unlock(&res->td.list_lock); in mlx5e_tir_init()
189 mutex_lock(&res->td.list_lock); in mlx5e_tir_destroy()
191 mutex_unlock(&res->td.list_lock); in mlx5e_tir_destroy()
/drivers/scsi/qedi/
Dqedi_fw.c62 spin_lock(&qedi_conn->list_lock); in qedi_process_logout_resp()
73 spin_unlock(&qedi_conn->list_lock); in qedi_process_logout_resp()
126 spin_lock(&qedi_conn->list_lock); in qedi_process_text_resp()
137 spin_unlock(&qedi_conn->list_lock); in qedi_process_text_resp()
222 spin_lock(&qedi_conn->list_lock); in qedi_process_tmf_resp()
228 spin_unlock(&qedi_conn->list_lock); in qedi_process_tmf_resp()
297 spin_lock(&qedi_conn->list_lock); in qedi_process_login_resp()
303 spin_unlock(&qedi_conn->list_lock); in qedi_process_login_resp()
462 spin_lock(&qedi_conn->list_lock); in qedi_process_nopin_mesg()
469 spin_unlock(&qedi_conn->list_lock); in qedi_process_nopin_mesg()
[all …]
/drivers/staging/media/atomisp/include/hmm/
Dhmm_pool.h82 spinlock_t list_lock; member
99 spinlock_t list_lock; member
/drivers/pci/controller/
Dvmd.c76 static DEFINE_RAW_SPINLOCK(list_lock);
164 raw_spin_lock_irqsave(&list_lock, flags); in vmd_irq_enable()
168 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_irq_enable()
180 raw_spin_lock_irqsave(&list_lock, flags); in vmd_irq_disable()
185 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_irq_disable()
235 raw_spin_lock_irqsave(&list_lock, flags); in vmd_next_irq()
241 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_next_irq()
278 raw_spin_lock_irqsave(&list_lock, flags); in vmd_msi_free()
280 raw_spin_unlock_irqrestore(&list_lock, flags); in vmd_msi_free()

123