Searched refs:mem_limit_lock (Results 1 – 1 of 1) sorted by relevance
60 spinlock_t mem_limit_lock; member123 spin_lock_init(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_gpuvm_init_mem_limits()205 spin_lock(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_reserve_mem_limit()236 spin_unlock(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_reserve_mem_limit()243 spin_lock(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_unreserve_mem_limit()281 spin_unlock(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_unreserve_mem_limit()1601 spin_lock(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_get_available_memory()1623 spin_unlock(&kfd_mem_limit.mem_limit_lock); in amdgpu_amdkfd_get_available_memory()3014 spin_lock(&kfd_mem_limit.mem_limit_lock); in kfd_debugfs_kfd_mem_limits()3021 spin_unlock(&kfd_mem_limit.mem_limit_lock); in kfd_debugfs_kfd_mem_limits()