/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | mmu_context.h | 51 static inline void cpu_switch_mm(pgd_t *pgd, struct mm_struct *mm) in cpu_switch_mm() function 121 cpu_switch_mm(mm->pgd, mm); in cpu_uninstall_idmap() 130 cpu_switch_mm(lm_alias(idmap_pg_dir), &init_mm); in cpu_install_idmap()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | mmu_context.h | 57 static inline void cpu_switch_mm(pgd_t *pgd, struct mm_struct *mm) in cpu_switch_mm() function 110 cpu_switch_mm(mm->pgd, mm); in cpu_uninstall_idmap() 119 cpu_switch_mm(lm_alias(idmap), &init_mm); in __cpu_install_idmap() 146 /* avoid cpu_switch_mm() and its SW-PAN and CNP interactions */ in cpu_install_ttbr0()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | mmu_context.h | 58 * cpu_switch_mm() needs to flush the VIVT caches. To avoid in check_and_switch_context() 66 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context() 78 * Preemption must be disabled during cpu_switch_mm() as we in finish_arch_post_lock_switch() 86 cpu_switch_mm(mm->pgd, mm); in finish_arch_post_lock_switch()
|
H A D | proc-fns.h | 154 #define cpu_switch_mm(pgd,mm) cpu_do_switch_mm(virt_to_phys(pgd),mm) macro 185 #define cpu_switch_mm(pgd,mm) { } macro
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | mmu_context.h | 69 * cpu_switch_mm() needs to flush the VIVT caches. To avoid in check_and_switch_context() 77 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context() 89 * Preemption must be disabled during cpu_switch_mm() as we in finish_arch_post_lock_switch() 97 cpu_switch_mm(mm->pgd, mm); in finish_arch_post_lock_switch()
|
H A D | proc-fns.h | 152 #define cpu_switch_mm(pgd,mm) cpu_do_switch_mm(virt_to_phys(pgd),mm) macro 183 #define cpu_switch_mm(pgd,mm) { } macro
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
H A D | proc-fns.h | 16 extern void cpu_switch_mm(struct mm_struct *mm);
|
H A D | mmu_context.h | 61 cpu_switch_mm(next); in switch_mm()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
H A D | kasan_init.c | 234 cpu_switch_mm(tmp_pgd_table, &init_mm); in kasan_init() 285 cpu_switch_mm(swapper_pg_dir, &init_mm); in kasan_init()
|
H A D | idmap.c | 130 cpu_switch_mm(idmap_pgd, &init_mm); in setup_mm_for_reboot()
|
H A D | context.c | 276 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context()
|
/kernel/linux/linux-6.6/arch/arm/mm/ |
H A D | kasan_init.c | 233 cpu_switch_mm(tmp_pgd_table, &init_mm); in kasan_init() 293 cpu_switch_mm(swapper_pg_dir, &init_mm); in kasan_init()
|
H A D | idmap.c | 130 cpu_switch_mm(idmap_pgd, &init_mm); in setup_mm_for_reboot()
|
H A D | context.c | 275 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | hibernate.c | 85 cpu_switch_mm(idmap_pgd, &init_mm); in arch_restore_image()
|
H A D | suspend.c | 47 cpu_switch_mm(mm->pgd, mm); in cpu_suspend()
|
H A D | smp.c | 414 cpu_switch_mm(mm->pgd, mm); in secondary_start_kernel()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | hibernate.c | 85 cpu_switch_mm(idmap_pgd, &init_mm); in arch_restore_image()
|
H A D | suspend.c | 47 cpu_switch_mm(mm->pgd, mm); in cpu_suspend()
|
H A D | smp.c | 423 cpu_switch_mm(mm->pgd, mm); in secondary_start_kernel()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
H A D | context.c | 270 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context()
|
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | context.c | 270 cpu_switch_mm(mm->pgd, mm); in check_and_switch_context()
|
/kernel/linux/linux-5.10/arch/nds32/mm/ |
H A D | proc.c | 529 void cpu_switch_mm(struct mm_struct *mm) in cpu_switch_mm() function
|