Searched refs:notifier_lock (Results 1 – 13 of 13) sorted by relevance
60 struct mutex notifier_lock; /* Guards notifier access for registration */ member148 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 …]
62 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()
97 spinlock_t notifier_lock; /* Protects notifier list */ member
1082 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 …]
77 mutex_lock(&adev->notifier_lock); in amdgpu_hmm_invalidate_gfx()83 mutex_unlock(&adev->notifier_lock); in amdgpu_hmm_invalidate_gfx()
146 struct mutex notifier_lock; member
1315 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()
1101 struct mutex notifier_lock; member
4085 mutex_init(&adev->notifier_lock); in amdgpu_device_init()
250 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 …]
291 err = down_read_interruptible(&vm->userptr.notifier_lock); in xe_exec_ioctl()333 up_read(&vm->userptr.notifier_lock); in xe_exec_ioctl()
218 struct rw_semaphore notifier_lock; member
1209 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()