Searched refs:kfd_locked (Results 1 – 1 of 1) sorted by relevance
45 static atomic_t kfd_locked = ATOMIC_INIT(0); variable735 atomic_dec(&kfd_locked); in kgd2kfd_post_reset()746 return (atomic_read(&kfd_locked) > 0); in kfd_is_locked()757 if (atomic_inc_return(&kfd_locked) == 1) in kgd2kfd_suspend()778 count = atomic_dec_return(&kfd_locked); in kgd2kfd_resume()