Lines Matching defs:mn
50 struct mmu_notifier mn; /* mmu_otifier handle */
327 mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm);
395 static struct pasid_state *mn_to_state(struct mmu_notifier *mn)
397 return container_of(mn, struct pasid_state, mn);
400 static void __mn_flush_page(struct mmu_notifier *mn,
406 pasid_state = mn_to_state(mn);
412 static int mn_clear_flush_young(struct mmu_notifier *mn,
416 __mn_flush_page(mn, address);
421 static void mn_change_pte(struct mmu_notifier *mn,
426 __mn_flush_page(mn, address);
429 static void mn_invalidate_page(struct mmu_notifier *mn,
433 __mn_flush_page(mn, address);
436 static void mn_invalidate_range_start(struct mmu_notifier *mn,
443 pasid_state = mn_to_state(mn);
450 static void mn_invalidate_range_end(struct mmu_notifier *mn,
457 pasid_state = mn_to_state(mn);
688 pasid_state->mn.ops = &iommu_mn;
693 mmu_notifier_register(&pasid_state->mn, pasid_state->mm);
712 mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm);