Searched refs:prev_mm (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/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-6.1.9/include/asm-generic/ |
D | mmu_context.h | 57 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 60 switch_mm(prev_mm, next_mm, current); in activate_mm()
|
/linux-6.1.9/arch/x86/mm/ |
D | tlb.c | 339 static void l1d_flush_evaluate(unsigned long prev_mm, unsigned long next_mm, in l1d_flush_evaluate() argument 343 if (prev_mm & LAST_USER_MM_L1D_FLUSH) in l1d_flush_evaluate() 379 unsigned long prev_mm, next_mm; in cond_mitigation() local 385 prev_mm = this_cpu_read(cpu_tlbstate.last_user_mm_spec); in cond_mitigation() 435 if (next_mm != prev_mm && in cond_mitigation() 436 (next_mm | prev_mm) & LAST_USER_MM_IBPB) in cond_mitigation() 446 if ((prev_mm & ~LAST_USER_MM_SPEC_MASK) != in cond_mitigation() 457 if (unlikely((prev_mm | next_mm) & LAST_USER_MM_L1D_FLUSH)) in cond_mitigation() 458 l1d_flush_evaluate(prev_mm, next_mm, next); in cond_mitigation()
|
/linux-6.1.9/arch/ia64/include/asm/ |
D | mmu_context.h | 189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
|
/linux-6.1.9/arch/m68k/include/asm/ |
D | mmu_context.h | 212 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 300 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
|
/linux-6.1.9/mm/ |
D | swapfile.c | 2035 struct mm_struct *prev_mm; in try_to_unuse() local 2052 prev_mm = &init_mm; in try_to_unuse() 2053 mmget(prev_mm); in try_to_unuse() 2065 mmput(prev_mm); in try_to_unuse() 2066 prev_mm = mm; in try_to_unuse() 2069 mmput(prev_mm); in try_to_unuse() 2082 mmput(prev_mm); in try_to_unuse()
|
/linux-6.1.9/kernel/sched/ |
D | sched.h | 1012 struct mm_struct *prev_mm; member 3177 struct mm_struct *prev_mm, in membarrier_switch_mm() argument 3182 if (prev_mm == next_mm) in membarrier_switch_mm() 3193 struct mm_struct *prev_mm, in membarrier_switch_mm() argument
|
D | core.c | 5078 struct mm_struct *mm = rq->prev_mm; in finish_task_switch() 5097 rq->prev_mm = NULL; in finish_task_switch() 5228 rq->prev_mm = prev->active_mm; in context_switch()
|