/openbmc/linux/drivers/gpu/drm/msm/disp/ |
H A 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() 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 …]
|
/openbmc/linux/drivers/staging/most/video/ |
H A D | video.c | 36 spinlock_t list_lock; member 56 static DEFINE_SPINLOCK(list_lock); 131 spin_lock_irq(&mdev->list_lock); in comp_vdev_close() 497 spin_lock_irq(&list_lock); in comp_probe_channel() 499 spin_unlock_irq(&list_lock); in comp_probe_channel() 518 spin_lock_irq(&list_lock); in comp_disconnect_channel() 520 spin_unlock_irq(&list_lock); in comp_disconnect_channel() 561 spin_lock_irq(&list_lock); in comp_exit() 564 spin_unlock_irq(&list_lock); in comp_exit() 569 spin_lock_irq(&list_lock); in comp_exit() [all …]
|
/openbmc/linux/Documentation/RCU/ |
H A D | rcuref.rst | 24 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 …]
|
/openbmc/qemu/util/ |
H A D | aio-win32.c | 83 qemu_lockcnt_lock(&ctx->list_lock); in aio_set_fd_handler() 129 qemu_lockcnt_unlock(&ctx->list_lock); in aio_set_fd_handler() 141 qemu_lockcnt_lock(&ctx->list_lock); in aio_set_event_notifier() 191 qemu_lockcnt_inc(&ctx->list_lock); in aio_prepare() 220 qemu_lockcnt_dec(&ctx->list_lock); in aio_prepare() 233 qemu_lockcnt_inc(&ctx->list_lock); in aio_pending() 250 qemu_lockcnt_dec(&ctx->list_lock); in aio_pending() 315 qemu_lockcnt_inc(&ctx->list_lock); in aio_dispatch() 318 qemu_lockcnt_dec(&ctx->list_lock); in aio_dispatch() 360 qemu_lockcnt_inc(&ctx->list_lock); in aio_poll() [all …]
|
H A D | aio-posix.c | 87 if (qemu_lockcnt_count(&ctx->list_lock)) { in aio_remove_fd_handler() 118 qemu_lockcnt_lock(&ctx->list_lock); in aio_set_fd_handler() 173 qemu_lockcnt_unlock(&ctx->list_lock); in aio_set_fd_handler() 228 qemu_lockcnt_inc(&ctx->list_lock); in poll_set_started() 252 qemu_lockcnt_dec(&ctx->list_lock); in poll_set_started() 278 qemu_lockcnt_inc(&ctx->list_lock); in aio_pending() 294 qemu_lockcnt_dec(&ctx->list_lock); in aio_pending() 422 qemu_lockcnt_inc(&ctx->list_lock); in aio_dispatch() 426 qemu_lockcnt_dec(&ctx->list_lock); in aio_dispatch() 622 qemu_lockcnt_inc(&ctx->list_lock); in aio_poll() [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | pdr_interface.c | 44 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() 313 mutex_lock(&pdr->list_lock); in pdr_indication_cb() 338 mutex_lock(&pdr->list_lock); in pdr_indication_cb() 482 mutex_lock(&pdr->list_lock); in pdr_locator_work() [all …]
|
H A 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() 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()
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A 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() 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 …]
|
/openbmc/linux/drivers/iio/buffer/ |
H A D | industrialio-buffer-dma.c | 218 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 …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-async.c | 589 mutex_lock(&list_lock); in __v4l2_async_nf_register() 608 mutex_unlock(&list_lock); in __v4l2_async_nf_register() 619 mutex_unlock(&list_lock); in __v4l2_async_nf_register() 646 mutex_lock(&list_lock); in v4l2_async_nf_unregister() 650 mutex_unlock(&list_lock); in v4l2_async_nf_unregister() 679 mutex_lock(&list_lock); in v4l2_async_nf_cleanup() 683 mutex_unlock(&list_lock); in v4l2_async_nf_cleanup() 690 mutex_lock(&list_lock); in __v4l2_async_nf_add_connection() 813 mutex_lock(&list_lock); in v4l2_async_register_subdev() 868 mutex_lock(&list_lock); in v4l2_async_unregister_subdev() [all …]
|
/openbmc/linux/net/batman-adv/ |
H A D | hash.h | 85 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()
|
H A D | gateway_client.c | 133 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select() 143 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select() 331 lockdep_assert_held(&bat_priv->gw.list_lock); in batadv_gw_node_add() 405 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update() 409 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update() 412 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update() 441 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update() 447 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_update() 485 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free() 492 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_node_free()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_dh.c | 16 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()
|
/openbmc/linux/net/hsr/ |
H A D | hsr_framereg.c | 90 spin_lock_bh(&hsr->list_lock); in hsr_create_self_node() 93 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node() 104 spin_lock_bh(&hsr->list_lock); in hsr_del_self_node() 107 spin_unlock_bh(&hsr->list_lock); in hsr_del_self_node() 169 spin_lock_bh(&hsr->list_lock); in hsr_add_node() 178 spin_unlock_bh(&hsr->list_lock); in hsr_add_node() 181 spin_unlock_bh(&hsr->list_lock); in hsr_add_node() 368 spin_lock_bh(&hsr->list_lock); in hsr_handle_sup_frame() 374 spin_unlock_bh(&hsr->list_lock); in hsr_handle_sup_frame() 505 spin_lock_bh(&hsr->list_lock); in hsr_prune_nodes() [all …]
|
/openbmc/linux/drivers/s390/cio/ |
H A D | eadm_sch.c | 37 static DEFINE_SPINLOCK(list_lock); 163 spin_lock_irqsave(&list_lock, flags); in eadm_get_idle_sch() 171 spin_unlock_irqrestore(&list_lock, flags); in eadm_get_idle_sch() 177 spin_unlock_irqrestore(&list_lock, flags); in eadm_get_idle_sch() 238 spin_lock_irq(&list_lock); in eadm_subchannel_probe() 240 spin_unlock_irq(&list_lock); in eadm_subchannel_probe() 279 spin_lock_irq(&list_lock); in eadm_subchannel_remove() 281 spin_unlock_irq(&list_lock); in eadm_subchannel_remove()
|
/openbmc/linux/drivers/staging/greybus/ |
H A 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()
|
/openbmc/linux/drivers/xen/ |
H A D | unpopulated-alloc.c | 15 static DEFINE_MUTEX(list_lock); 171 mutex_lock(&list_lock); in xen_alloc_unpopulated_pages() 204 mutex_unlock(&list_lock); in xen_alloc_unpopulated_pages() 223 mutex_lock(&list_lock); in xen_free_unpopulated_pages() 229 mutex_unlock(&list_lock); in xen_free_unpopulated_pages()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | event.c | 84 write_lock_irq(&ntfy->event->list_lock); in nvkm_event_ntfy_remove() 86 write_unlock_irq(&ntfy->event->list_lock); in nvkm_event_ntfy_remove() 92 write_lock_irq(&ntfy->event->list_lock); in nvkm_event_ntfy_insert() 94 write_unlock_irq(&ntfy->event->list_lock); in nvkm_event_ntfy_insert() 179 read_lock_irqsave(&event->list_lock, flags); in nvkm_event_ntfy() 188 read_unlock_irqrestore(&event->list_lock, flags); in nvkm_event_ntfy()
|
/openbmc/linux/fs/ |
H A D | fs-writeback.c | 305 __acquires(&wb->list_lock) in locked_inode_to_wb_and_lock_list() 318 spin_lock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 326 spin_unlock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 341 __acquires(&wb->list_lock) in inode_to_wb_and_lock_list() 666 spin_lock(&wb->list_lock); in cleanup_offline_cgwb() 678 spin_unlock(&wb->list_lock); in cleanup_offline_cgwb() 1166 __acquires(&wb->list_lock) in locked_inode_to_wb_and_lock_list() 1171 spin_lock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 1176 __acquires(&wb->list_lock) in inode_to_wb_and_lock_list() 1180 spin_lock(&wb->list_lock); in inode_to_wb_and_lock_list() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conncount.c | 88 lockdep_assert_held(&list->list_lock); in conn_free() 209 spin_lock_bh(&list->list_lock); in nf_conncount_add() 211 spin_unlock_bh(&list->list_lock); in nf_conncount_add() 219 spin_lock_init(&list->list_lock); in nf_conncount_list_init() 241 if (!spin_trylock(&list->list_lock)) in nf_conncount_gc_list() 272 spin_unlock(&list->list_lock); in nf_conncount_gc_list() 295 spin_lock(&rbconn->list.list_lock); in tree_nodes_free() 300 spin_unlock(&rbconn->list.list_lock); in tree_nodes_free() 428 spin_lock_bh(&rbconn->list.list_lock); in count_tree() 433 spin_unlock_bh(&rbconn->list.list_lock); in count_tree() [all …]
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epc-core.c | 615 mutex_lock(&epc->list_lock); in pci_epc_add_epf() 642 mutex_unlock(&epc->list_lock); in pci_epc_add_epf() 674 mutex_lock(&epc->list_lock); in pci_epc_remove_epf() 678 mutex_unlock(&epc->list_lock); in pci_epc_remove_epf() 697 mutex_lock(&epc->list_lock); in pci_epc_linkup() 704 mutex_unlock(&epc->list_lock); in pci_epc_linkup() 723 mutex_lock(&epc->list_lock); in pci_epc_linkdown() 730 mutex_unlock(&epc->list_lock); in pci_epc_linkdown() 749 mutex_lock(&epc->list_lock); in pci_epc_init_notify() 775 mutex_lock(&epc->list_lock); in pci_epc_bme_notify() [all …]
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | cttimer.c | 47 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()
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpios.h | 132 #define hpios_alistlock_init(obj) spin_lock_init(&((obj)->list_lock.lock)) 133 #define hpios_alistlock_lock(obj) spin_lock(&((obj)->list_lock.lock)) 134 #define hpios_alistlock_unlock(obj) spin_unlock(&((obj)->list_lock.lock))
|
/openbmc/linux/drivers/staging/most/net/ |
H A 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()
|
/openbmc/linux/mm/ |
H A D | slab.c | 561 raw_spin_lock(&n->list_lock); in cache_free_pfmemalloc() 563 raw_spin_unlock(&n->list_lock); in cache_free_pfmemalloc() 686 raw_spin_lock(&n->list_lock); in __drain_alien_cache() 697 raw_spin_unlock(&n->list_lock); in __drain_alien_cache() 770 raw_spin_lock(&n->list_lock); in __cache_free_alien() 2136 raw_spin_lock(&n->list_lock); in do_drain() 2612 raw_spin_lock(&n->list_lock); in cache_grow_end() 2815 raw_spin_lock(&n->list_lock); in cache_alloc_pfmemalloc() 2886 raw_spin_lock(&n->list_lock); in cache_alloc_refill() 3130 raw_spin_lock(&n->list_lock); in ____cache_alloc_node() [all …]
|