Lines Matching refs:prange
138 static inline void svm_range_lock(struct svm_range *prange) in svm_range_lock() argument
140 mutex_lock(&prange->lock); in svm_range_lock()
141 prange->saved_flags = memalloc_noreclaim_save(); in svm_range_lock()
144 static inline void svm_range_unlock(struct svm_range *prange) in svm_range_unlock() argument
146 memalloc_noreclaim_restore(prange->saved_flags); in svm_range_unlock()
147 mutex_unlock(&prange->lock); in svm_range_unlock()
166 struct amdgpu_device *svm_range_get_adev_by_id(struct svm_range *prange,
169 struct svm_range *prange, bool clear);
170 void svm_range_vram_node_free(struct svm_range *prange);
173 struct svm_range *prange);
178 struct svm_range *prange, struct mm_struct *mm,
183 void svm_range_free_dma_mappings(struct svm_range *prange);
195 svm_range_get_pdd_by_adev(struct svm_range *prange, struct amdgpu_device *adev);