/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_dynamic_pool.c | 48 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 …]
|
D | hmm_reserved_pool.c | 48 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()
|
/kernel/linux/common_modules/memory_security/src/ |
D | jit_memory.c | 15 DEFINE_SPINLOCK(list_lock); 39 spin_lock(&list_lock); in find_jit_memory() 41 spin_unlock(&list_lock); in find_jit_memory() 68 spin_lock(&list_lock); in check_jit_memory() 70 spin_unlock(&list_lock); in check_jit_memory() 81 spin_lock(&list_lock); in delete_jit_memory() 83 spin_unlock(&list_lock); in delete_jit_memory() 94 spin_lock(&list_lock); in exit_jit_memory() 96 spin_unlock(&list_lock); in exit_jit_memory()
|
/kernel/linux/linux-5.10/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() 374 spin_lock_irqsave(&list_lock, flags); in get_comp_dev() 377 spin_unlock_irqrestore(&list_lock, flags); in get_comp_dev() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
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() 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 …]
|
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() 177 mutex_lock(&list_lock); in qcom_smem_state_register() 179 mutex_unlock(&list_lock); in qcom_smem_state_register()
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_filemap.c | 196 LOS_SpinLockSave(&mapping->list_lock, &intSave); in OsVmmFileRemove() 209 LOS_SpinUnlockRestore(&mapping->list_lock, intSave); in OsVmmFileRemove() 324 LOS_SpinLockSave(&mapping->list_lock, &intSave); in OsReleaseFpage() 329 LOS_SpinUnlockRestore(&mapping->list_lock, intSave); in OsReleaseFpage() 344 LOS_SpinLockSave(&mapping->list_lock, &intSave); in OsDelMapInfo() 347 LOS_SpinUnlockRestore(&mapping->list_lock, intSave); in OsDelMapInfo() 359 LOS_SpinUnlockRestore(&mapping->list_lock, intSave); in OsDelMapInfo() 363 LOS_SpinUnlockRestore(&mapping->list_lock, intSave); in OsDelMapInfo() 385 LOS_SpinLockSave(&mapping->list_lock, &intSave); in OsVmmFileFault() 394 LOS_SpinUnlockRestore(&mapping->list_lock, intSave); in OsVmmFileFault() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-async.c | 154 static DEFINE_MUTEX(list_lock); 441 lockdep_assert_held(&list_lock); in v4l2_async_notifier_has_async_subdev() 503 mutex_lock(&list_lock); in __v4l2_async_notifier_register() 524 mutex_unlock(&list_lock); in __v4l2_async_notifier_register() 535 mutex_unlock(&list_lock); in __v4l2_async_notifier_register() 592 mutex_lock(&list_lock); in v4l2_async_notifier_unregister() 596 mutex_unlock(&list_lock); in v4l2_async_notifier_unregister() 623 mutex_lock(&list_lock); in v4l2_async_notifier_cleanup() 627 mutex_unlock(&list_lock); in v4l2_async_notifier_cleanup() 636 mutex_lock(&list_lock); in v4l2_async_notifier_add_subdev() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_common.c | 47 mutex_lock(&mdev->mlx5e_res.td.list_lock); in mlx5e_create_tir() 49 mutex_unlock(&mdev->mlx5e_res.td.list_lock); in mlx5e_create_tir() 57 mutex_lock(&mdev->mlx5e_res.td.list_lock); in mlx5e_destroy_tir() 60 mutex_unlock(&mdev->mlx5e_res.td.list_lock); in mlx5e_destroy_tir() 130 mutex_init(&mdev->mlx5e_res.td.list_lock); in mlx5e_create_mdev_resources() 183 mutex_lock(&mdev->mlx5e_res.td.list_lock); in mlx5e_refresh_tirs() 195 mutex_unlock(&mdev->mlx5e_res.td.list_lock); in mlx5e_refresh_tirs()
|
/kernel/linux/linux-5.10/drivers/iio/buffer/ |
D | industrialio-buffer-dma.c | 218 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 …]
|
/kernel/linux/linux-5.10/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() 230 spin_lock(&s390_domain->list_lock); in s390_iommu_update_trans() 237 spin_unlock(&s390_domain->list_lock); in s390_iommu_update_trans()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_framereg.c | 92 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() 178 spin_lock_bh(&hsr->list_lock); in hsr_add_node() 180 lockdep_is_held(&hsr->list_lock)) { in hsr_add_node() 187 spin_unlock_bh(&hsr->list_lock); in hsr_add_node() 190 spin_unlock_bh(&hsr->list_lock); in hsr_add_node() 329 spin_lock_bh(&hsr->list_lock); in hsr_handle_sup_frame() [all …]
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | unpopulated-alloc.c | 14 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/ |
D | fs-writeback.c | 122 assert_spin_locked(&wb->list_lock); in inode_io_list_move_locked() 145 assert_spin_locked(&wb->list_lock); in inode_io_list_del_locked() 292 __acquires(&wb->list_lock) in locked_inode_to_wb_and_lock_list() 305 spin_lock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 313 spin_unlock(&wb->list_lock); in locked_inode_to_wb_and_lock_list() 328 __acquires(&wb->list_lock) in inode_to_wb_and_lock_list() 382 spin_lock(&old_wb->list_lock); in inode_switch_wbs_work_fn() 383 spin_lock_nested(&new_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn() 385 spin_lock(&new_wb->list_lock); in inode_switch_wbs_work_fn() 386 spin_lock_nested(&old_wb->list_lock, SINGLE_DEPTH_NESTING); in inode_switch_wbs_work_fn() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conncount.c | 88 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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|