Home
last modified time | relevance | path

Searched refs:notifier_lock (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/platform/surface/
Dsurface_aggregator_cdev.c60 struct mutex notifier_lock; /* Guards notifier access for registration */ member
148 mutex_lock(&client->notifier_lock); in ssam_cdev_notifier_register()
152 mutex_unlock(&client->notifier_lock); in ssam_cdev_notifier_register()
159 mutex_unlock(&client->notifier_lock); in ssam_cdev_notifier_register()
183 mutex_unlock(&client->notifier_lock); in ssam_cdev_notifier_register()
199 mutex_lock(&client->notifier_lock); in ssam_cdev_notifier_unregister()
203 mutex_unlock(&client->notifier_lock); in ssam_cdev_notifier_unregister()
212 mutex_unlock(&client->notifier_lock); in ssam_cdev_notifier_unregister()
238 mutex_lock(&client->notifier_lock); in ssam_cdev_notifier_unregister_all()
244 mutex_unlock(&client->notifier_lock); in ssam_cdev_notifier_unregister_all()
[all …]
/linux-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_state_monitor.c62 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register()
64 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_register()
73 spin_lock_irqsave(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister()
78 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in t7xx_fsm_notifier_unregister()
87 spin_lock_irqsave(&ctl->notifier_lock, flags); in fsm_state_notify()
89 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in fsm_state_notify()
93 spin_lock_irqsave(&ctl->notifier_lock, flags); in fsm_state_notify()
95 spin_unlock_irqrestore(&ctl->notifier_lock, flags); in fsm_state_notify()
623 spin_lock_init(&ctl->notifier_lock); in t7xx_fsm_init()
Dt7xx_state_monitor.h97 spinlock_t notifier_lock; /* Protects notifier list */ member
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c1082 mutex_lock(&process_info->notifier_lock); in init_user_pages()
1084 mutex_unlock(&process_info->notifier_lock); in init_user_pages()
1391 mutex_init(&info->notifier_lock); in init_kfd_vm()
1460 mutex_destroy(&info->notifier_lock); in init_kfd_vm()
1605 mutex_destroy(&process_info->notifier_lock); in amdgpu_amdkfd_gpuvm_destroy_cb()
1658 mutex_lock(&pinfo->notifier_lock); in amdgpu_amdkfd_criu_resume()
1660 mutex_unlock(&pinfo->notifier_lock); in amdgpu_amdkfd_criu_resume()
1950 mutex_lock(&process_info->notifier_lock); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1952 mutex_unlock(&process_info->notifier_lock); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2052 mutex_lock(&mem->process_info->notifier_lock); in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
[all …]
Damdgpu_hmm.c77 mutex_lock(&adev->notifier_lock); in amdgpu_hmm_invalidate_gfx()
83 mutex_unlock(&adev->notifier_lock); in amdgpu_hmm_invalidate_gfx()
Damdgpu_amdkfd.h146 struct mutex notifier_lock; member
Damdgpu_cs.c1315 mutex_lock(&p->adev->notifier_lock); in amdgpu_cs_submit()
1328 mutex_unlock(&p->adev->notifier_lock); in amdgpu_cs_submit()
1374 mutex_unlock(&p->adev->notifier_lock); in amdgpu_cs_submit()
Damdgpu.h1101 struct mutex notifier_lock; member
Damdgpu_device.c4085 mutex_init(&adev->notifier_lock); in amdgpu_device_init()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_vm.c250 down_read(&vm->userptr.notifier_lock); in xe_vm_add_compute_exec_queue()
264 up_read(&vm->userptr.notifier_lock); in xe_vm_add_compute_exec_queue()
312 lockdep_assert_held_read(&vm->userptr.notifier_lock); in __xe_vm_userptr_needs_repin()
546 down_read(&vm->userptr.notifier_lock); in preempt_rebind_work_func()
548 up_read(&vm->userptr.notifier_lock); in preempt_rebind_work_func()
562 up_read(&vm->userptr.notifier_lock); in preempt_rebind_work_func()
605 down_write(&vm->userptr.notifier_lock); in vma_userptr_invalidate()
610 up_write(&vm->userptr.notifier_lock); in vma_userptr_invalidate()
626 up_write(&vm->userptr.notifier_lock); in vma_userptr_invalidate()
1401 init_rwsem(&vm->userptr.notifier_lock); in xe_vm_create()
[all …]
Dxe_exec.c291 err = down_read_interruptible(&vm->userptr.notifier_lock); in xe_exec_ioctl()
333 up_read(&vm->userptr.notifier_lock); in xe_exec_ioctl()
Dxe_vm_types.h218 struct rw_semaphore notifier_lock; member
Dxe_pt.c1209 lockdep_assert_held_read(&vm->userptr.notifier_lock); in vma_check_userptr()
1259 lockdep_assert_held_read(&vm->userptr.notifier_lock); in op_check_userptr()
1300 down_read(&vm->userptr.notifier_lock); in xe_pt_userptr_pre_commit()
1305 up_read(&vm->userptr.notifier_lock); in xe_pt_userptr_pre_commit()
1874 lockdep_assert_held_read(&vm->userptr.notifier_lock); in bind_op_commit()
1908 lockdep_assert_held_read(&vm->userptr.notifier_lock); in unbind_op_commit()
2117 up_read(&vm->userptr.notifier_lock); in xe_pt_update_ops_run()