/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/staging/most/video/ |
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() 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() 373 spin_lock_irqsave(&list_lock, flags); in get_comp_dev() 376 spin_unlock_irqrestore(&list_lock, flags); in get_comp_dev() [all …]
|
/linux-6.12.1/Documentation/RCU/ |
D | rcuref.rst | 24 alloc_object read_lock(&list_lock); 27 write_lock(&list_lock); ... 28 add_element read_unlock(&list_lock); 30 write_unlock(&list_lock); } 36 ... write_lock(&list_lock); 40 } write_unlock(&list_lock); 62 spin_lock(&list_lock); rcu_read_unlock(); 66 spin_unlock(&list_lock); rcu_read_unlock(); 71 ... spin_lock(&list_lock); 74 ... spin_unlock(&list_lock); [all …]
|
/linux-6.12.1/drivers/soc/qcom/ |
D | pdr_interface.c | 45 struct mutex list_lock; member 90 mutex_lock(&pdr->list_lock); in pdr_locator_new_server() 95 mutex_unlock(&pdr->list_lock); in pdr_locator_new_server() 172 mutex_lock(&pdr->list_lock); in pdr_notifier_work() 194 mutex_unlock(&pdr->list_lock); in pdr_notifier_work() 204 mutex_lock(&pdr->list_lock); in pdr_notifier_new_server() 216 mutex_unlock(&pdr->list_lock); in pdr_notifier_new_server() 228 mutex_lock(&pdr->list_lock); in pdr_notifier_del_server() 239 mutex_unlock(&pdr->list_lock); in pdr_notifier_del_server() 292 mutex_lock(&pdr->list_lock); in pdr_indack_work() [all …]
|
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()
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-async.c | 176 static DEFINE_MUTEX(list_lock); 524 lockdep_assert_held(&list_lock); in v4l2_async_nf_has_async_match() 593 mutex_lock(&list_lock); in __v4l2_async_nf_register() 612 mutex_unlock(&list_lock); in __v4l2_async_nf_register() 623 mutex_unlock(&list_lock); in __v4l2_async_nf_register() 650 mutex_lock(&list_lock); in v4l2_async_nf_unregister() 654 mutex_unlock(&list_lock); in v4l2_async_nf_unregister() 683 mutex_lock(&list_lock); in v4l2_async_nf_cleanup() 687 mutex_unlock(&list_lock); in v4l2_async_nf_cleanup() 694 mutex_lock(&list_lock); in __v4l2_async_nf_add_connection() [all …]
|
/linux-6.12.1/net/hsr/ |
D | hsr_framereg.c | 106 spin_lock_bh(&hsr->list_lock); in hsr_create_self_node() 108 lockdep_is_held(&hsr->list_lock)); in hsr_create_self_node() 109 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node() 120 spin_lock_bh(&hsr->list_lock); in hsr_del_self_node() 122 lockdep_is_held(&hsr->list_lock)); in hsr_del_self_node() 123 spin_unlock_bh(&hsr->list_lock); in hsr_del_self_node() 185 spin_lock_bh(&hsr->list_lock); in hsr_add_node() 187 lockdep_is_held(&hsr->list_lock)) { in hsr_add_node() 194 spin_unlock_bh(&hsr->list_lock); in hsr_add_node() 197 spin_unlock_bh(&hsr->list_lock); in hsr_add_node() [all …]
|
/linux-6.12.1/drivers/scsi/ |
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()
|
/linux-6.12.1/net/batman-adv/ |
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()
|
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()
|
/linux-6.12.1/drivers/pci/endpoint/ |
D | pci-epc-core.c | 612 mutex_lock(&epc->list_lock); in pci_epc_add_epf() 639 mutex_unlock(&epc->list_lock); in pci_epc_add_epf() 671 mutex_lock(&epc->list_lock); in pci_epc_remove_epf() 675 mutex_unlock(&epc->list_lock); in pci_epc_remove_epf() 694 mutex_lock(&epc->list_lock); in pci_epc_linkup() 701 mutex_unlock(&epc->list_lock); in pci_epc_linkup() 720 mutex_lock(&epc->list_lock); in pci_epc_linkdown() 727 mutex_unlock(&epc->list_lock); in pci_epc_linkdown() 746 mutex_lock(&epc->list_lock); in pci_epc_init_notify() 754 mutex_unlock(&epc->list_lock); in pci_epc_init_notify() [all …]
|
/linux-6.12.1/drivers/s390/cio/ |
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()
|
/linux-6.12.1/drivers/staging/greybus/ |
D | raw.c | 23 struct mutex list_lock; member 69 mutex_lock(&raw->list_lock); in receive_data() 88 mutex_unlock(&raw->list_lock); in receive_data() 179 mutex_init(&raw->list_lock); in gb_raw_probe() 241 mutex_lock(&raw->list_lock); in gb_raw_disconnect() 246 mutex_unlock(&raw->list_lock); in gb_raw_disconnect() 295 mutex_lock(&raw->list_lock); in raw_read() 316 mutex_unlock(&raw->list_lock); in raw_read()
|
/linux-6.12.1/fs/ |
D | fs-writeback.c | 122 assert_spin_locked(&wb->list_lock); in inode_io_list_move_locked() 306 assert_spin_locked(&wb->list_lock); in inode_cgwb_move_to_attached() 329 __acquires(&wb->list_lock) in locked_inode_to_wb_and_lock_list() 342 spin_lock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 350 spin_unlock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 365 __acquires(&wb->list_lock) in inode_to_wb_and_lock_list() 517 spin_lock(&old_wb->list_lock); in inode_switch_wbs_work_fn() 518 spin_lock_nested(&new_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn() 520 spin_lock(&new_wb->list_lock); in inode_switch_wbs_work_fn() 521 spin_lock_nested(&old_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn() [all …]
|
/linux-6.12.1/drivers/iio/buffer/ |
D | industrialio-buffer-dma.c | 240 spin_lock_irqsave(&queue->list_lock, flags); in iio_dma_buffer_block_done() 242 spin_unlock_irqrestore(&queue->list_lock, flags); in iio_dma_buffer_block_done() 272 spin_lock_irqsave(&queue->list_lock, flags); in iio_dma_buffer_block_list_abort() 282 spin_unlock_irqrestore(&queue->list_lock, flags); in iio_dma_buffer_block_list_abort() 357 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_request_update() 371 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_request_update() 429 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_fileio_free() 435 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_fileio_free() 554 spin_lock_irq(&queue->list_lock); in iio_dma_buffer_dequeue() 566 spin_unlock_irq(&queue->list_lock); in iio_dma_buffer_dequeue() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/ |
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()
|
/linux-6.12.1/drivers/xen/ |
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()
|
/linux-6.12.1/net/netfilter/ |
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 …]
|
/linux-6.12.1/sound/pci/ctxfi/ |
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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/fs/btrfs/ |
D | async-thread.c | 33 spinlock_t list_lock; member 80 spin_lock_init(&wq->list_lock); in btrfs_init_workqueue() 215 spinlock_t *lock = &wq->list_lock; in run_ordered_work() 348 spin_lock_irqsave(&wq->list_lock, flags); in btrfs_queue_work() 350 spin_unlock_irqrestore(&wq->list_lock, flags); in btrfs_queue_work()
|
/linux-6.12.1/sound/pci/asihpi/ |
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))
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tir.c | 175 mutex_lock(&res->td.list_lock); in mlx5e_tir_init() 177 mutex_unlock(&res->td.list_lock); in mlx5e_tir_init() 195 mutex_lock(&res->td.list_lock); in mlx5e_tir_destroy() 197 mutex_unlock(&res->td.list_lock); in mlx5e_tir_destroy()
|