Searched refs:kfd_locked (Results 1 – 1 of 1) sorted by relevance
41 static atomic_t kfd_locked = ATOMIC_INIT(0); variable845 atomic_dec(&kfd_locked); in kgd2kfd_post_reset()856 return (atomic_read(&kfd_locked) > 0); in kfd_is_locked()867 if (atomic_inc_return(&kfd_locked) == 1) in kgd2kfd_suspend()888 count = atomic_dec_return(&kfd_locked); in kgd2kfd_resume()