Searched refs:evicted_bos (Results 1 – 2 of 2) sorted by relevance
867 atomic_set(&info->evicted_bos, 0); in init_kfd_vm()1660 int invalid, evicted_bos; in amdgpu_amdkfd_evict_userptr() local1664 evicted_bos = atomic_inc_return(&process_info->evicted_bos); in amdgpu_amdkfd_evict_userptr()1665 if (evicted_bos == 1) { in amdgpu_amdkfd_evict_userptr()1883 int evicted_bos; in amdgpu_amdkfd_restore_userptr_worker() local1885 evicted_bos = atomic_read(&process_info->evicted_bos); in amdgpu_amdkfd_restore_userptr_worker()1886 if (!evicted_bos) in amdgpu_amdkfd_restore_userptr_worker()1908 if (atomic_read(&process_info->evicted_bos) != evicted_bos) in amdgpu_amdkfd_restore_userptr_worker()1919 if (atomic_cmpxchg(&process_info->evicted_bos, evicted_bos, 0) != in amdgpu_amdkfd_restore_userptr_worker()1920 evicted_bos) in amdgpu_amdkfd_restore_userptr_worker()[all …]
117 atomic_t evicted_bos; member