| /linux/arch/openrisc/include/asm/ |
| H A D | mmu_context.h | 24 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next, 27 #define activate_mm(prev, next) switch_mm((prev), (next), NULL)
|
| /linux/arch/hexagon/include/asm/ |
| H A D | mmu_context.h | 29 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function 57 switch_mm(prev, next, current_thread_info()->task); in activate_mm()
|
| /linux/Documentation/features/sched/membarrier-sync-core/ |
| H A D | arch-support.txt | 23 # - via switch_mm() and sync_core_before_usermode() (respectively, for 27 # The serialization in switch_mm() is activated by prepare_sync_core_cmd(). 40 # instead on write_cr3() performed by switch_mm() to provide core serialization
|
| /linux/arch/parisc/include/asm/ |
| H A D | mmu_context.h | 65 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function 95 switch_mm(prev,next,current); in activate_mm()
|
| /linux/drivers/firmware/efi/ |
| H A D | riscv-runtime.c | 128 switch_mm(current->active_mm, &efi_mm, NULL); in efi_virtmap_load() 133 switch_mm(&efi_mm, current->active_mm, NULL); in efi_virtmap_unload()
|
| /linux/arch/arm/include/asm/ |
| H A D | mmu_context.h | 108 #define activate_mm(prev,next) switch_mm(prev, next, NULL) 117 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| H A D | proc-fns.h | 64 void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm); member 141 #define cpu_do_switch_mm PROC_VTABLE(switch_mm)
|
| /linux/arch/m68k/include/asm/ |
| H A D | mmu_context.h | 72 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function 207 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function 291 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() function
|
| /linux/Documentation/scheduler/ |
| H A D | membarrier.rst | 34 switch_mm(), if mm is not NULL; they rely on the full barrier implied 35 by mmdrop(), otherwise. On powerpc and riscv, switch_mm() relies on
|
| /linux/arch/loongarch/include/asm/ |
| H A D | mmu_context.h | 115 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function 133 #define activate_mm(prev, next) switch_mm(prev, next, current)
|
| /linux/include/asm-generic/ |
| H A D | nommu_context.h | 11 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
|
| H A D | mmu_context.h | 60 switch_mm(prev_mm, next_mm, current); in activate_mm()
|
| /linux/arch/um/include/asm/ |
| H A D | mmu_context.h | 16 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/nios2/include/asm/ |
| H A D | mmu_context.h | 43 void switch_mm(struct mm_struct *prev, struct mm_struct *next,
|
| /linux/arch/csky/include/asm/ |
| H A D | mmu_context.h | 24 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/nios2/mm/ |
| H A D | mmu_context.c | 80 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/arc/include/asm/ |
| H A D | mmu_context.h | 132 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/microblaze/include/asm/ |
| H A D | mmu_context_mm.h | 114 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/xtensa/include/asm/ |
| H A D | mmu_context.h | 126 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | vmalloced-kernel-stacks.rst | 50 switch_mm(),很可能)需要确保堆栈的页表项在可能未填充的堆栈上运行之前已经填
|
| /linux/arch/sh/include/asm/ |
| H A D | mmu_context.h | 109 static inline void switch_mm(struct mm_struct *prev, in switch_mm() function
|
| /linux/arch/openrisc/mm/ |
| H A D | tlb.c | 137 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/alpha/include/asm/ |
| H A D | mmu_context.h | 190 #define switch_mm(a,b,c) ev5_switch_mm((a),(b),(c)) macro
|
| /linux/arch/mips/include/asm/ |
| H A D | mmu_context.h | 155 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|
| /linux/arch/riscv/mm/ |
| H A D | context.c | 318 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() function
|