Home
last modified time | relevance | path

Searched refs:prev_mm (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dmmu_context.h136 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
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmmu_context.h215 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
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dmmu_context.h197 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/kernel/linux/linux-5.10/include/asm-generic/
Dmmu_context.h41 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_64.c467 efi_scratch.prev_mm = current->active_mm; in efi_switch_mm()
469 switch_mm(efi_scratch.prev_mm, mm, NULL); in efi_switch_mm()
538 efi_switch_mm(efi_scratch.prev_mm); in efi_thunk_set_virtual_address_map()
848 efi_switch_mm(efi_scratch.prev_mm); in efi_set_virtual_address_map()
/kernel/linux/linux-5.10/arch/x86/mm/
Dtlb.c342 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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Defi.h104 struct mm_struct *prev_mm; member
120 efi_switch_mm(efi_scratch.prev_mm); \
/kernel/linux/linux-5.10/mm/
Dswapfile.c2176 struct mm_struct *prev_mm; in try_to_unuse() local
2196 prev_mm = &init_mm; in try_to_unuse()
2197 mmget(prev_mm); in try_to_unuse()
2209 mmput(prev_mm); in try_to_unuse()
2210 prev_mm = mm; in try_to_unuse()
2214 mmput(prev_mm); in try_to_unuse()
2227 mmput(prev_mm); in try_to_unuse()
/kernel/linux/linux-5.10/kernel/sched/
Dsched.h1055 struct mm_struct *prev_mm; member
2791 struct mm_struct *prev_mm, in membarrier_switch_mm() argument
2796 if (prev_mm == next_mm) in membarrier_switch_mm()
2807 struct mm_struct *prev_mm, in membarrier_switch_mm() argument
Dcore.c3775 struct mm_struct *mm = rq->prev_mm; in finish_task_switch()
3794 rq->prev_mm = NULL; in finish_task_switch()
3962 rq->prev_mm = prev->active_mm; in context_switch()