Searched refs:next_mm (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/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 149 mmc = next_mm->context[cpu]; in ev5_switch_mm() 151 mmc = __get_new_mm_context(next_mm, cpu); in ev5_switch_mm() 152 next_mm->context[cpu] = mmc; in ev5_switch_mm() 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 207 __load_new_mm_context(next_mm); in ev5_activate_mm() 211 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm() argument [all …]
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | mmu_context.h | 206 struct mm_struct *next_mm) in activate_mm() argument 208 activate_context(next_mm); in activate_mm() 296 struct mm_struct *next_mm) in activate_mm() argument 298 next_mm->context = virt_to_phys(next_mm->pgd); in activate_mm() 301 switch_mm_0230(next_mm); in activate_mm() 303 switch_mm_0460(next_mm); in activate_mm() 323 static inline void activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in activate_mm() argument
|
| /Linux-v5.4/arch/alpha/mm/ |
| D | fault.c | 41 __load_new_mm_context(struct mm_struct *next_mm) in __load_new_mm_context() argument 46 mmc = __get_new_mm_context(next_mm, smp_processor_id()); in __load_new_mm_context() 47 next_mm->context[smp_processor_id()] = mmc; in __load_new_mm_context() 51 pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; in __load_new_mm_context()
|
| /Linux-v5.4/arch/x86/mm/ |
| D | tlb.c | 215 unsigned long prev_mm, next_mm; in cond_ibpb() local 248 next_mm = mm_mangle_tif_spec_ib(next); in cond_ibpb() 255 if (next_mm != prev_mm && in cond_ibpb() 256 (next_mm | prev_mm) & LAST_USER_MM_IBPB) in cond_ibpb() 259 this_cpu_write(cpu_tlbstate.last_user_mm_ibpb, next_mm); in cond_ibpb()
|
| /Linux-v5.4/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.4/include/asm-generic/ |
| D | mmu_context.h | 42 struct mm_struct *next_mm) in activate_mm() argument
|
| /Linux-v5.4/kernel/sched/ |
| D | sched.h | 2479 struct mm_struct *next_mm) in membarrier_switch_mm() argument 2483 if (prev_mm == next_mm) in membarrier_switch_mm() 2486 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm() 2495 struct mm_struct *next_mm) in membarrier_switch_mm() argument
|
| /Linux-v5.4/mm/ |
| D | ksm.c | 2274 next_mm: in scan_get_next_rmap_item() 2369 goto next_mm; in scan_get_next_rmap_item()
|