Home
last modified time | relevance | path

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

/linux-4.4.14/arch/alpha/include/asm/
Dmmu_context.h132 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm() argument
162 ev4_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev4_switch_mm() argument
173 if (prev_mm != next_mm) in ev4_switch_mm()
178 ev5_switch_mm(prev_mm, next_mm, next); in ev4_switch_mm()
201 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm() argument
207 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm() argument
/linux-4.4.14/arch/tile/include/asm/
Dmmu_context.h126 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
129 switch_mm(prev_mm, next_mm, NULL); in activate_mm()
/linux-4.4.14/arch/blackfin/include/asm/
Dmmu_context.h73 static inline void __switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in __switch_mm() argument
79 if (prev_mm == next_mm) in __switch_mm()
82 if (prev_mm->context.page_rwx_mask == current_rwx_mask[cpu]) { in __switch_mm()
/linux-4.4.14/arch/metag/include/asm/
Dmmu_context.h105 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
108 switch_mmu(prev_mm, next_mm); in activate_mm()
/linux-4.4.14/arch/m68k/include/asm/
Dmmu_context.h204 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
294 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
322 static inline void activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in activate_mm() argument
/linux-4.4.14/arch/ia64/include/asm/
Dmmu_context.h195 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/linux-4.4.14/include/asm-generic/
Dmmu_context.h40 static inline void activate_mm(struct mm_struct *prev_mm, in activate_mm() argument
/linux-4.4.14/mm/
Dswapfile.c1486 struct mm_struct *prev_mm = start_mm; in try_to_unuse() local
1490 atomic_inc(&prev_mm->mm_users); in try_to_unuse()
1498 mmput(prev_mm); in try_to_unuse()
1499 prev_mm = mm; in try_to_unuse()
1520 mmput(prev_mm); in try_to_unuse()
/linux-4.4.14/kernel/sched/
Dsched.h606 struct mm_struct *prev_mm; member
Dcore.c2542 struct mm_struct *mm = rq->prev_mm; in finish_task_switch()
2561 rq->prev_mm = NULL; in finish_task_switch()
2691 rq->prev_mm = oldmm; in context_switch()