Searched refs:recovery_lock (Results 1 – 3 of 3) sorted by relevance
1534 mutex_lock(&con->recovery_lock); in amdgpu_ras_badpages_read()1563 mutex_unlock(&con->recovery_lock); in amdgpu_ras_badpages_read()1646 mutex_lock(&con->recovery_lock); in amdgpu_ras_add_bad_pages()1662 mutex_unlock(&con->recovery_lock); in amdgpu_ras_add_bad_pages()1749 mutex_lock(&con->recovery_lock); in amdgpu_ras_check_bad_page()1762 mutex_unlock(&con->recovery_lock); in amdgpu_ras_check_bad_page()1820 mutex_lock(&con->recovery_lock); in amdgpu_ras_reserve_bad_pages()1848 mutex_unlock(&con->recovery_lock); in amdgpu_ras_reserve_bad_pages()1863 mutex_lock(&con->recovery_lock); in amdgpu_ras_release_bad_pages()1877 mutex_unlock(&con->recovery_lock); in amdgpu_ras_release_bad_pages()[all …]
336 struct mutex recovery_lock; member
46 static DEFINE_SPINLOCK(recovery_lock);1293 spin_lock_irq(&recovery_lock); in recovery_work_func()1300 spin_unlock_irq(&recovery_lock); in recovery_work_func()1321 spin_lock_irqsave(&recovery_lock, flags); in ccw_device_schedule_recovery()1326 spin_unlock_irqrestore(&recovery_lock, flags); in ccw_device_schedule_recovery()