Searched refs:prev_mm (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/arch/alpha/include/asm/ |
D | mmu_context.h | 136 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm() argument 166 ev4_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev4_switch_mm() argument 177 if (prev_mm != next_mm) in ev4_switch_mm() 182 ev5_switch_mm(prev_mm, next_mm, next); in ev4_switch_mm() 205 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm() argument 211 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm() argument
|
/Linux-v5.10/arch/m68k/include/asm/ |
D | mmu_context.h | 215 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 305 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 333 static inline void activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in activate_mm() argument
|
/Linux-v5.10/arch/ia64/include/asm/ |
D | mmu_context.h | 197 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
|
/Linux-v5.10/include/asm-generic/ |
D | mmu_context.h | 41 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
|
/Linux-v5.10/arch/x86/mm/ |
D | tlb.c | 342 unsigned long prev_mm, next_mm; in cond_ibpb() local 376 prev_mm = this_cpu_read(cpu_tlbstate.last_user_mm_ibpb); in cond_ibpb() 382 if (next_mm != prev_mm && in cond_ibpb() 383 (next_mm | prev_mm) & LAST_USER_MM_IBPB) in cond_ibpb()
|
/Linux-v5.10/arch/x86/platform/efi/ |
D | efi_64.c | 486 efi_scratch.prev_mm = current->active_mm; in efi_switch_mm() 488 switch_mm(efi_scratch.prev_mm, mm, NULL); in efi_switch_mm() 557 efi_switch_mm(efi_scratch.prev_mm); in efi_thunk_set_virtual_address_map() 867 efi_switch_mm(efi_scratch.prev_mm); in efi_set_virtual_address_map()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | efi.h | 104 struct mm_struct *prev_mm; member 120 efi_switch_mm(efi_scratch.prev_mm); \
|
/Linux-v5.10/kernel/sched/ |
D | sched.h | 953 struct mm_struct *prev_mm; member 2599 struct mm_struct *prev_mm, in membarrier_switch_mm() argument 2604 if (prev_mm == next_mm) in membarrier_switch_mm() 2615 struct mm_struct *prev_mm, in membarrier_switch_mm() argument
|
D | core.c | 3582 struct mm_struct *mm = rq->prev_mm; in finish_task_switch() 3601 rq->prev_mm = NULL; in finish_task_switch() 3769 rq->prev_mm = prev->active_mm; in context_switch()
|
/Linux-v5.10/mm/ |
D | swapfile.c | 2161 struct mm_struct *prev_mm; in try_to_unuse() local 2181 prev_mm = &init_mm; in try_to_unuse() 2182 mmget(prev_mm); in try_to_unuse() 2194 mmput(prev_mm); in try_to_unuse() 2195 prev_mm = mm; in try_to_unuse() 2199 mmput(prev_mm); in try_to_unuse() 2212 mmput(prev_mm); in try_to_unuse()
|