Lines Matching refs:mn
17 struct mmu_notifier mn; member
25 #define mn_to_smmu(mn) container_of(mn, struct arm_smmu_mmu_notifier, mn) argument
198 static void arm_smmu_mm_arch_invalidate_secondary_tlbs(struct mmu_notifier *mn, in arm_smmu_mm_arch_invalidate_secondary_tlbs() argument
203 struct arm_smmu_mmu_notifier *smmu_mn = mn_to_smmu(mn); in arm_smmu_mm_arch_invalidate_secondary_tlbs()
235 static void arm_smmu_mm_release(struct mmu_notifier *mn, struct mm_struct *mm) in arm_smmu_mm_release() argument
237 struct arm_smmu_mmu_notifier *smmu_mn = mn_to_smmu(mn); in arm_smmu_mm_release()
259 static void arm_smmu_mmu_notifier_free(struct mmu_notifier *mn) in arm_smmu_mmu_notifier_free() argument
261 kfree(mn_to_smmu(mn)); in arm_smmu_mmu_notifier_free()
280 if (smmu_mn->mn.mm == mm) { in arm_smmu_mmu_notifier_get()
299 smmu_mn->mn.ops = &arm_smmu_mmu_notifier_ops; in arm_smmu_mmu_notifier_get()
301 ret = mmu_notifier_register(&smmu_mn->mn, mm); in arm_smmu_mmu_notifier_get()
316 mmu_notifier_put(&smmu_mn->mn); in arm_smmu_mmu_notifier_get()
324 struct mm_struct *mm = smmu_mn->mn.mm; in arm_smmu_mmu_notifier_put()
344 mmu_notifier_put(&smmu_mn->mn); in arm_smmu_mmu_notifier_put()