Symbol: switch_mm
arch/arm/include/asm/mmu_context.h
108
#define activate_mm(prev,next) switch_mm(prev, next, NULL)
arch/arm/include/asm/proc-fns.h
141
#define cpu_do_switch_mm PROC_VTABLE(switch_mm)
arch/arm/include/asm/proc-fns.h
64
void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm);
arch/hexagon/include/asm/mmu_context.h
57
switch_mm(prev, next, current_thread_info()->task);
arch/loongarch/include/asm/mmu_context.h
133
#define activate_mm(prev, next) switch_mm(prev, next, current)
arch/nios2/include/asm/mmu_context.h
43
void switch_mm(struct mm_struct *prev, struct mm_struct *next,
arch/openrisc/include/asm/mmu_context.h
24
extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
arch/openrisc/include/asm/mmu_context.h
27
#define activate_mm(prev, next) switch_mm((prev), (next), NULL)
arch/parisc/include/asm/mmu_context.h
95
switch_mm(prev,next,current);
arch/riscv/include/asm/mmu_context.h
16
void switch_mm(struct mm_struct *prev, struct mm_struct *next,
arch/riscv/include/asm/mmu_context.h
26
switch_mm(prev, next, NULL);
arch/sparc/include/asm/mmu_context_32.h
24
void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm,
arch/sparc/include/asm/mmu_context_32.h
28
#define activate_mm(active_mm, mm) switch_mm((active_mm), (mm), NULL)
arch/sparc/include/asm/mmu_context_64.h
138
#define activate_mm(active_mm, mm) switch_mm(active_mm, mm, NULL)
arch/x86/include/asm/mmu_context.h
181
extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
arch/x86/mm/tlb.c
603
switch_mm(NULL, &init_mm, NULL);
drivers/firmware/efi/riscv-runtime.c
128
switch_mm(current->active_mm, &efi_mm, NULL);
drivers/firmware/efi/riscv-runtime.c
133
switch_mm(&efi_mm, current->active_mm, NULL);
drivers/gpu/drm/i915/gt/intel_ring_submission.c
926
ret = switch_mm(rq, vm_alias(engine->kernel_context->vm));
drivers/gpu/drm/i915/gt/intel_ring_submission.c
972
ret = switch_mm(rq, vm_alias(ce->vm));
include/asm-generic/mmu_context.h
60
switch_mm(prev_mm, next_mm, current);
include/linux/mmu_context.h
10
# define switch_mm_irqs_off switch_mm
kernel/fork.c
666
switch_mm(mm, &init_mm, current);