Lines Matching refs:notifier
70 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_hmm_invalidate_gfx()
107 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_hmm_invalidate_hsa()
133 return mmu_interval_notifier_insert(&bo->notifier, current->mm, in amdgpu_hmm_register()
136 return mmu_interval_notifier_insert(&bo->notifier, current->mm, addr, in amdgpu_hmm_register()
150 if (!bo->notifier.mm) in amdgpu_hmm_unregister()
152 mmu_interval_notifier_remove(&bo->notifier); in amdgpu_hmm_unregister()
153 bo->notifier.mm = NULL; in amdgpu_hmm_unregister()
156 int amdgpu_hmm_range_get_pages(struct mmu_interval_notifier *notifier, in amdgpu_hmm_range_get_pages() argument
178 hmm_range->notifier = notifier; in amdgpu_hmm_range_get_pages()
199 hmm_range->notifier_seq = mmu_interval_read_begin(notifier); in amdgpu_hmm_range_get_pages()
245 r = mmu_interval_read_retry(hmm_range->notifier, in amdgpu_hmm_range_get_pages_done()