Searched refs:prev_mm (Results 1 – 9 of 9) sorted by relevance
| /linux/arch/x86/mm/ |
| H A D | tlb.c | 627 static void l1d_flush_evaluate(unsigned long prev_mm, unsigned long next_mm, in l1d_flush_evaluate() argument 631 if (prev_mm & LAST_USER_MM_L1D_FLUSH) in l1d_flush_evaluate() 667 unsigned long prev_mm, next_mm; in cond_mitigation() local 673 prev_mm = this_cpu_read(cpu_tlbstate.last_user_mm_spec); in cond_mitigation() 723 if (next_mm != prev_mm && in cond_mitigation() 724 (next_mm | prev_mm) & LAST_USER_MM_IBPB) in cond_mitigation() 734 if ((prev_mm & ~LAST_USER_MM_SPEC_MASK) != (unsigned long)next->mm) in cond_mitigation() 744 if (unlikely((prev_mm | next_mm) & LAST_USER_MM_L1D_FLUSH)) in cond_mitigation() 745 l1d_flush_evaluate(prev_mm, next_mm, next); in cond_mitigation() 1014 struct mm_struct *prev_mm; in use_temporary_mm() local [all …]
|
| /linux/include/asm-generic/ |
| H A 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/arch/alpha/include/asm/ |
| H A D | mmu_context.h | 134 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm() argument 185 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm() argument
|
| /linux/arch/m68k/include/asm/ |
| H A D | mmu_context.h | 214 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 302 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
|
| /linux/arch/x86/include/asm/ |
| H A D | mmu_context.h | 286 extern void unuse_temporary_mm(struct mm_struct *prev_mm);
|
| /linux/mm/ |
| H A D | swapfile.c | 2441 struct mm_struct *prev_mm; in try_to_unuse() local 2458 prev_mm = &init_mm; in try_to_unuse() 2459 mmget(prev_mm); in try_to_unuse() 2471 mmput(prev_mm); in try_to_unuse() 2472 prev_mm = mm; in try_to_unuse() 2475 mmput(prev_mm); in try_to_unuse() 2488 mmput(prev_mm); in try_to_unuse()
|
| /linux/kernel/sched/ |
| H A D | sched.h | 1183 struct mm_struct *prev_mm; member 3493 struct mm_struct *prev_mm, in membarrier_switch_mm() argument 3498 if (prev_mm == next_mm) in membarrier_switch_mm() 3511 struct mm_struct *prev_mm, in membarrier_switch_mm() argument
|
| H A D | core.c | 5154 struct mm_struct *mm = rq->prev_mm; in finish_task_switch() 5173 rq->prev_mm = NULL; in finish_task_switch() 5314 rq->prev_mm = prev->active_mm; in context_switch()
|
| /linux/arch/x86/kernel/ |
| H A D | alternative.c | 2490 struct mm_struct *prev_mm; in __text_poke() local 2548 prev_mm = use_temporary_mm(text_poke_mm); in __text_poke() 2569 unuse_temporary_mm(prev_mm); in __text_poke()
|