Lines Matching full:mn
41 struct mmu_notifier mn; /* mmu_notifier handle */ member
337 mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm); in free_pasid_states()
356 static struct pasid_state *mn_to_state(struct mmu_notifier *mn) in mn_to_state() argument
358 return container_of(mn, struct pasid_state, mn); in mn_to_state()
361 static void mn_arch_invalidate_secondary_tlbs(struct mmu_notifier *mn, in mn_arch_invalidate_secondary_tlbs() argument
368 pasid_state = mn_to_state(mn); in mn_arch_invalidate_secondary_tlbs()
378 static void mn_release(struct mmu_notifier *mn, struct mm_struct *mm) in mn_release() argument
386 pasid_state = mn_to_state(mn); in mn_release()
641 pasid_state->mn.ops = &iommu_mn; in amd_iommu_bind_pasid()
646 ret = mmu_notifier_register(&pasid_state->mn, mm); in amd_iommu_bind_pasid()
675 mmu_notifier_unregister(&pasid_state->mn, mm); in amd_iommu_bind_pasid()
723 mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm); in amd_iommu_unbind_pasid()