Searched refs:prev_mm (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/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-v4.19/arch/m68k/include/asm/ |
D | mmu_context.h | 205 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 295 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument 323 static inline void activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in activate_mm() argument
|
/Linux-v4.19/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-v4.19/include/asm-generic/ |
D | mmu_context.h | 41 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
|
/Linux-v4.19/arch/x86/include/asm/ |
D | efi.h | 79 struct mm_struct *prev_mm; member 99 efi_switch_mm(efi_scratch.prev_mm); \
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | efi_64.c | 159 efi_switch_mm(efi_scratch.prev_mm); in efi_call_phys_epilog() 630 efi_scratch.prev_mm = current->active_mm; in efi_switch_mm() 632 switch_mm(efi_scratch.prev_mm, mm, NULL); in efi_switch_mm() 694 efi_switch_mm(efi_scratch.prev_mm); in efi_thunk_set_virtual_address_map()
|
/Linux-v4.19/mm/ |
D | swapfile.c | 2128 struct mm_struct *prev_mm = start_mm; in try_to_unuse() local 2132 mmget(prev_mm); in try_to_unuse() 2140 mmput(prev_mm); in try_to_unuse() 2141 prev_mm = mm; in try_to_unuse() 2162 mmput(prev_mm); in try_to_unuse()
|
/Linux-v4.19/kernel/sched/ |
D | core.c | 2639 struct mm_struct *mm = rq->prev_mm; in finish_task_switch() 2658 rq->prev_mm = NULL; in finish_task_switch() 2817 rq->prev_mm = oldmm; in context_switch()
|
D | sched.h | 829 struct mm_struct *prev_mm; member
|