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