Lines Matching full:notifier

259 		container_of(mn, struct nouveau_svmm, notifier);  in nouveau_svmm_invalidate_range_start()
297 kfree(container_of(mn, struct nouveau_svmm, notifier)); in nouveau_svmm_free_notifier()
313 mmu_notifier_put(&svmm->notifier); in nouveau_svmm_fini()
362 svmm->notifier.ops = &nouveau_mn_ops; in nouveau_svmm_init()
363 ret = __mmu_notifier_register(&svmm->notifier, current->mm); in nouveau_svmm_init()
505 struct mmu_interval_notifier notifier; member
514 container_of(mni, struct svm_notifier, notifier); in nouveau_svm_range_invalidate()
524 * notifier that does invalidation is always called after the range in nouveau_svm_range_invalidate()
525 * notifier. in nouveau_svm_range_invalidate()
591 struct svm_notifier *notifier) in nouveau_atomic_range_fault() argument
595 struct mm_struct *mm = svmm->notifier.mm; in nouveau_atomic_range_fault()
601 ret = mmu_interval_notifier_insert(&notifier->notifier, mm, in nouveau_atomic_range_fault()
613 notifier_seq = mmu_interval_read_begin(&notifier->notifier); in nouveau_atomic_range_fault()
624 if (!mmu_interval_read_retry(&notifier->notifier, in nouveau_atomic_range_fault()
647 mmu_interval_notifier_remove(&notifier->notifier); in nouveau_atomic_range_fault()
655 struct svm_notifier *notifier) in nouveau_range_fault() argument
662 .notifier = &notifier->notifier, in nouveau_range_fault()
667 struct mm_struct *mm = svmm->notifier.mm; in nouveau_range_fault()
670 ret = mmu_interval_notifier_insert(&notifier->notifier, mm, in nouveau_range_fault()
676 range.start = notifier->notifier.interval_tree.start; in nouveau_range_fault()
677 range.end = notifier->notifier.interval_tree.last + 1; in nouveau_range_fault()
685 range.notifier_seq = mmu_interval_read_begin(range.notifier); in nouveau_range_fault()
696 if (mmu_interval_read_retry(range.notifier, in nouveau_range_fault()
710 mmu_interval_notifier_remove(&notifier->notifier); in nouveau_range_fault()
781 struct svm_notifier notifier; in nouveau_svm_fault() local
826 mm = svmm->notifier.mm; in nouveau_svm_fault()
832 notifier.svmm = svmm; in nouveau_svm_fault()
836 &notifier); in nouveau_svm_fault()
840 &notifier); in nouveau_svm_fault()