Home
last modified time | relevance | path

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

12345

/linux/drivers/gpu/drm/msm/disp/
A 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()
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()
107 spin_lock_irqsave(&list_lock, flags); in mdp_irq_register()
[all …]
/linux/drivers/staging/media/atomisp/pci/hmm/
A 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()
161 spin_lock_init(&dypool_info->list_lock); in hmm_dynamic_pool_init()
181 spin_lock_irqsave(&dypool_info->list_lock, flags); in hmm_dynamic_pool_exit()
[all …]
A 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()
/linux/drivers/staging/most/video/
A Dvideo.c36 spinlock_t list_lock; member
56 static DEFINE_SPINLOCK(list_lock);
131 spin_lock_irq(&mdev->list_lock); in comp_vdev_close()
498 spin_lock_irq(&list_lock); in comp_probe_channel()
500 spin_unlock_irq(&list_lock); in comp_probe_channel()
519 spin_lock_irq(&list_lock); in comp_disconnect_channel()
521 spin_unlock_irq(&list_lock); in comp_disconnect_channel()
562 spin_lock_irq(&list_lock); in comp_exit()
565 spin_unlock_irq(&list_lock); in comp_exit()
570 spin_lock_irq(&list_lock); in comp_exit()
[all …]
/linux/Documentation/RCU/
A Drcuref.rst24 alloc_object read_lock(&list_lock);
27 write_lock(&list_lock); ...
30 write_unlock(&list_lock); }
36 ... write_lock(&list_lock);
40 } write_unlock(&list_lock);
71 ... spin_lock(&list_lock);
74 ... spin_unlock(&list_lock);
99 spin_lock(&list_lock); ...
103 spin_unlock(&list_lock); 4.
145 spin_lock(&list_lock);
[all …]
/linux/drivers/soc/qcom/
A 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()
203 mutex_lock(&pdr->list_lock); in pdr_notifier_new_server()
227 mutex_lock(&pdr->list_lock); in pdr_notifier_del_server()
291 mutex_lock(&pdr->list_lock); in pdr_indack_work()
314 mutex_lock(&pdr->list_lock); in pdr_indication_cb()
339 mutex_lock(&pdr->list_lock); in pdr_indication_cb()
481 mutex_lock(&pdr->list_lock); in pdr_locator_work()
[all …]
A 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()
148 mutex_lock(&list_lock); in qcom_smem_state_put()
150 mutex_unlock(&list_lock); in qcom_smem_state_put()
212 mutex_lock(&list_lock); in qcom_smem_state_register()
214 mutex_unlock(&list_lock); in qcom_smem_state_register()
/linux/drivers/media/usb/pvrusb2/
A 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()
203 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_idle()
227 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_buffer_set_queued()
400 spin_lock_init(&sp->list_lock); in pvr2_stream_init()
427 spin_lock_irqsave(&sp->list_lock, irq_flags); in buffer_complete()
498 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_stream_set_callback()
511 spin_lock_irqsave(&sp->list_lock, irq_flags); in pvr2_stream_get_stats()
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-async.c484 mutex_lock(&list_lock); in __v4l2_async_nf_register()
505 mutex_unlock(&list_lock); in __v4l2_async_nf_register()
516 mutex_unlock(&list_lock); in __v4l2_async_nf_register()
573 mutex_lock(&list_lock); in v4l2_async_nf_unregister()
577 mutex_unlock(&list_lock); in v4l2_async_nf_unregister()
604 mutex_lock(&list_lock); in v4l2_async_nf_cleanup()
608 mutex_unlock(&list_lock); in v4l2_async_nf_cleanup()
617 mutex_lock(&list_lock); in __v4l2_async_nf_add_subdev()
718 mutex_lock(&list_lock); in v4l2_async_register_subdev()
777 mutex_lock(&list_lock); in v4l2_async_unregister_subdev()
[all …]
/linux/drivers/iio/buffer/
A Dindustrialio-buffer-dma.c218 spin_lock_irqsave(&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()
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()
623 spin_lock_init(&queue->list_lock); in iio_dma_buffer_init()
642 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_exit()
[all …]
/linux/drivers/iommu/
A 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()
/linux/net/hsr/
A Dhsr_framereg.c92 spin_lock_bh(&hsr->list_lock); in hsr_create_self_node()
97 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node()
101 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node()
112 spin_lock_bh(&hsr->list_lock); in hsr_del_self_node()
118 spin_unlock_bh(&hsr->list_lock); in hsr_del_self_node()
177 spin_lock_bh(&hsr->list_lock); in hsr_add_node()
186 spin_unlock_bh(&hsr->list_lock); in hsr_add_node()
189 spin_unlock_bh(&hsr->list_lock); in hsr_add_node()
370 spin_lock_bh(&hsr->list_lock); in hsr_handle_sup_frame()
372 spin_unlock_bh(&hsr->list_lock); in hsr_handle_sup_frame()
[all …]
/linux/fs/
A Dfs-writeback.c302 __acquires(&wb->list_lock) in locked_inode_to_wb_and_lock_list()
315 spin_lock(&wb->list_lock); in locked_inode_to_wb_and_lock_list()
323 spin_unlock(&wb->list_lock); in locked_inode_to_wb_and_lock_list()
338 __acquires(&wb->list_lock) in inode_to_wb_and_lock_list()
644 spin_lock(&wb->list_lock); in cleanup_offline_cgwb()
1175 __acquires(&wb->list_lock) in locked_inode_to_wb_and_lock_list()
1180 spin_lock(&wb->list_lock); in locked_inode_to_wb_and_lock_list()
1185 __acquires(&wb->list_lock) in inode_to_wb_and_lock_list()
1189 spin_lock(&wb->list_lock); in inode_to_wb_and_lock_list()
1978 spin_lock(&wb->list_lock); in writeback_inodes_wb()
[all …]
/linux/drivers/scsi/
A 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()
/linux/drivers/s390/cio/
A 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()
/linux/drivers/staging/greybus/
A 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()
/linux/drivers/xen/
A 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()
/linux/net/batman-adv/
A Dhash.h85 spinlock_t *list_lock; /* spinlock to protect write access */ in batadv_hash_add() local
92 list_lock = &hash->list_locks[index]; in batadv_hash_add()
94 spin_lock_bh(list_lock); in batadv_hash_add()
111 spin_unlock_bh(list_lock); in batadv_hash_add()
A Dgateway_client.c132 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
142 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
330 lockdep_assert_held(&bat_priv->gw.list_lock); in batadv_gw_node_add()
404 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
408 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
411 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
440 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
446 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update()
484 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
491 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
/linux/net/netfilter/
A Dnf_conncount.c88 lockdep_assert_held(&list->list_lock); in conn_free()
204 spin_lock_bh(&list->list_lock); in nf_conncount_add()
206 spin_unlock_bh(&list->list_lock); in nf_conncount_add()
214 spin_lock_init(&list->list_lock); in nf_conncount_list_init()
231 if (!spin_trylock(&list->list_lock)) in nf_conncount_gc_list()
261 spin_unlock(&list->list_lock); in nf_conncount_gc_list()
284 spin_lock(&rbconn->list.list_lock); in tree_nodes_free()
289 spin_unlock(&rbconn->list.list_lock); in tree_nodes_free()
419 spin_lock_bh(&rbconn->list.list_lock); in count_tree()
424 spin_unlock_bh(&rbconn->list.list_lock); in count_tree()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A 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()
/linux/sound/pci/ctxfi/
A Dcttimer.c47 spinlock_t list_lock; /* lock for instance list */ member
234 spin_lock_irqsave(&atimer->list_lock, flags); in ct_xfitimer_check_period()
241 spin_unlock_irqrestore(&atimer->list_lock, flags); in ct_xfitimer_check_period()
350 spin_lock_irq(&atimer->list_lock); in ct_timer_instance_new()
352 spin_unlock_irq(&atimer->list_lock); in ct_timer_instance_new()
385 spin_lock_irq(&atimer->list_lock); in ct_timer_instance_free()
387 spin_unlock_irq(&atimer->list_lock); in ct_timer_instance_free()
414 spin_lock_init(&atimer->list_lock); in ct_timer_new()
/linux/drivers/staging/most/net/
A 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()
/linux/mm/
A Dslab.c562 spin_lock(&n->list_lock); in cache_free_pfmemalloc()
564 spin_unlock(&n->list_lock); in cache_free_pfmemalloc()
702 spin_lock(&n->list_lock); in __drain_alien_cache()
713 spin_unlock(&n->list_lock); in __drain_alien_cache()
786 spin_lock(&n->list_lock); in __cache_free_alien()
2158 spin_lock(&n->list_lock); in do_drain()
2654 spin_lock(&n->list_lock); in cache_grow_end()
2857 spin_lock(&n->list_lock); in cache_alloc_pfmemalloc()
2928 spin_lock(&n->list_lock); in cache_alloc_refill()
3177 spin_lock(&n->list_lock); in ____cache_alloc_node()
[all …]
/linux/drivers/dma/idxd/
A 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()
233 spin_unlock(&irq_entry->list_lock); in irq_process_work_list()

Completed in 46 milliseconds

12345