Lines Matching refs:mmu_notifier
1161 static struct mmu_notifier *kfd_process_alloc_notifier(struct mm_struct *mm)
1168 return p ? &p->mmu_notifier : ERR_PTR(-ESRCH);
1171 static void kfd_process_free_notifier(struct mmu_notifier *mn)
1173 kfd_unref_process(container_of(mn, struct kfd_process, mmu_notifier));
1213 mmu_notifier_put(&p->mmu_notifier);
1216 static void kfd_process_notifier_release(struct mmu_notifier *mn,
1223 * mmu_notifier srcu is read locked
1225 p = container_of(mn, struct kfd_process, mmu_notifier);
1234 * by mmu_notifier and by kfd_cleanup_pocesses.
1257 * avoid race conditions with mmu_notifier that might try to free them.
1269 * temp list for processing. Once done, callback from mmu_notifier
1471 struct mmu_notifier *mn;
1538 BUG_ON(mn != &process->mmu_notifier);