Home
last modified time | relevance | path

Searched refs:mmu_notifier (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.10/include/linux/
Dmmu_notifier.h13 struct mmu_notifier;
82 void (*release)(struct mmu_notifier *subscription,
94 int (*clear_flush_young)(struct mmu_notifier *subscription,
104 int (*clear_young)(struct mmu_notifier *subscription,
115 int (*test_young)(struct mmu_notifier *subscription,
123 void (*change_pte)(struct mmu_notifier *subscription,
178 int (*invalidate_range_start)(struct mmu_notifier *subscription,
180 void (*invalidate_range_end)(struct mmu_notifier *subscription,
201 void (*invalidate_range)(struct mmu_notifier *subscription,
216 struct mmu_notifier *(*alloc_notifier)(struct mm_struct *mm);
[all …]
Dkvm_host.h495 struct mmu_notifier mmu_notifier; member
Dintel-iommu.h771 struct mmu_notifier notifier;
/Linux-v5.10/mm/
Dmmu_notifier.c302 struct mmu_notifier *subscription; in mn_hlist_release()
324 struct mmu_notifier, hlist); in mn_hlist_release()
369 struct mmu_notifier *subscription; in __mmu_notifier_clear_flush_young()
389 struct mmu_notifier *subscription; in __mmu_notifier_clear_young()
408 struct mmu_notifier *subscription; in __mmu_notifier_test_young()
430 struct mmu_notifier *subscription; in __mmu_notifier_change_pte()
479 struct mmu_notifier *subscription; in mn_hlist_invalidate_range_start()
533 struct mmu_notifier *subscription; in mn_hlist_invalidate_end()
587 struct mmu_notifier *subscription; in __mmu_notifier_invalidate_range()
606 int __mmu_notifier_register(struct mmu_notifier *subscription, in __mmu_notifier_register()
[all …]
DMakefile78 obj-$(CONFIG_MMU_NOTIFIER) += mmu_notifier.o
/Linux-v5.10/drivers/misc/sgi-gru/
Dgrutlbpurge.c209 static int gru_invalidate_range_start(struct mmu_notifier *mn, in gru_invalidate_range_start()
224 static void gru_invalidate_range_end(struct mmu_notifier *mn, in gru_invalidate_range_end()
238 static struct mmu_notifier *gru_alloc_notifier(struct mm_struct *mm) in gru_alloc_notifier()
252 static void gru_free_notifier(struct mmu_notifier *mn) in gru_free_notifier()
267 struct mmu_notifier *mn; in gru_register_mmu_notifier()
Dgrutables.h309 struct mmu_notifier ms_notifier;
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dmmu_rb.h77 struct mmu_notifier mn;
Dmmu_rb.c59 static int mmu_notifier_range_start(struct mmu_notifier *,
287 static int mmu_notifier_range_start(struct mmu_notifier *mn, in mmu_notifier_range_start()
/Linux-v5.10/drivers/gpu/drm/nouveau/
Dnouveau_svm.h10 struct mmu_notifier notifier;
Dnouveau_svm.c246 nouveau_svmm_invalidate_range_start(struct mmu_notifier *mn, in nouveau_svmm_invalidate_range_start()
286 static void nouveau_svmm_free_notifier(struct mmu_notifier *mn) in nouveau_svmm_free_notifier()
/Linux-v5.10/Documentation/vm/
Dindex.rst43 mmu_notifier
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c1014 static void kfd_process_free_notifier(struct mmu_notifier *mn) in kfd_process_free_notifier()
1016 kfd_unref_process(container_of(mn, struct kfd_process, mmu_notifier)); in kfd_process_free_notifier()
1019 static void kfd_process_notifier_release(struct mmu_notifier *mn, in kfd_process_notifier_release()
1029 p = container_of(mn, struct kfd_process, mmu_notifier); in kfd_process_notifier_release()
1073 mmu_notifier_put(&p->mmu_notifier); in kfd_process_notifier_release()
1186 process->mmu_notifier.ops = &kfd_process_mmu_notifier_ops; in create_process()
1187 err = mmu_notifier_register(&process->mmu_notifier, process->mm); in create_process()
Dkfd_priv.h767 struct mmu_notifier mmu_notifier; member
/Linux-v5.10/drivers/iommu/amd/
Diommu_v2.c40 struct mmu_notifier mn; /* mmu_notifier handle */
354 static struct pasid_state *mn_to_state(struct mmu_notifier *mn) in mn_to_state()
359 static void mn_invalidate_range(struct mmu_notifier *mn, in mn_invalidate_range()
376 static void mn_release(struct mmu_notifier *mn, struct mm_struct *mm) in mn_release()
/Linux-v5.10/virt/kvm/
Dkvm_main.c433 static inline struct kvm *mmu_notifier_to_kvm(struct mmu_notifier *mn) in mmu_notifier_to_kvm()
435 return container_of(mn, struct kvm, mmu_notifier); in mmu_notifier_to_kvm()
438 static void kvm_mmu_notifier_invalidate_range(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range()
450 static void kvm_mmu_notifier_change_pte(struct mmu_notifier *mn, in kvm_mmu_notifier_change_pte()
469 static int kvm_mmu_notifier_invalidate_range_start(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_start()
496 static void kvm_mmu_notifier_invalidate_range_end(struct mmu_notifier *mn, in kvm_mmu_notifier_invalidate_range_end()
520 static int kvm_mmu_notifier_clear_flush_young(struct mmu_notifier *mn, in kvm_mmu_notifier_clear_flush_young()
541 static int kvm_mmu_notifier_clear_young(struct mmu_notifier *mn, in kvm_mmu_notifier_clear_young()
571 static int kvm_mmu_notifier_test_young(struct mmu_notifier *mn, in kvm_mmu_notifier_test_young()
587 static void kvm_mmu_notifier_release(struct mmu_notifier *mn, in kvm_mmu_notifier_release()
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c33 struct mmu_notifier mn;
87 userptr_mn_invalidate_range_start(struct mmu_notifier *_mn, in userptr_mn_invalidate_range_start()
/Linux-v5.10/drivers/iommu/intel/
Dsvm.c185 static void intel_invalidate_range(struct mmu_notifier *mn, in intel_invalidate_range()
195 static void intel_mm_release(struct mmu_notifier *mn, struct mm_struct *mm) in intel_mm_release()
/Linux-v5.10/Documentation/x86/
Dsva.rst25 mmu_notifier() support to keep the device TLB cache and the CPU cache in
78 - Register for mmu_notifier() to track any page-table invalidations to keep