Home
last modified time | relevance | path

Searched refs:next_mm (Results 1 – 6 of 6) sorted by relevance

/linux/arch/alpha/include/asm/
H A Dmmu_context.h134 ev5_switch_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm, in ev5_switch_mm() argument
147 mmc = next_mm->context[cpu]; in ev5_switch_mm()
149 mmc = __get_new_mm_context(next_mm, cpu); in ev5_switch_mm()
150 next_mm->context[cpu] = mmc; in ev5_switch_mm()
185 ev5_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev5_activate_mm() argument
187 __load_new_mm_context(next_mm); in ev5_activate_mm()
/linux/arch/m68k/include/asm/
H A Dmmu_context.h215 struct mm_struct *next_mm) in activate_mm() argument
217 activate_context(next_mm); in activate_mm()
303 struct mm_struct *next_mm) in activate_mm() argument
305 next_mm->context = virt_to_phys(next_mm->pgd); in activate_mm()
308 switch_mm_0230(next_mm); in activate_mm()
310 switch_mm_0460(next_mm); in activate_mm()
/linux/arch/alpha/mm/
H A Dfault.c42 __load_new_mm_context(struct mm_struct *next_mm) in __load_new_mm_context() argument
47 mmc = __get_new_mm_context(next_mm, smp_processor_id()); in __load_new_mm_context()
48 next_mm->context[smp_processor_id()] = mmc; in __load_new_mm_context()
52 pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; in __load_new_mm_context()
/linux/include/asm-generic/
H A Dmmu_context.h58 struct mm_struct *next_mm) in activate_mm() argument
60 switch_mm(prev_mm, next_mm, current); in activate_mm()
/linux/include/linux/sched/
H A Dmm.h553 extern void membarrier_update_current_mm(struct mm_struct *next_mm);
569 static inline void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_mm_sync_core_before_usermode()
570 membarrier_update_current_mm(struct mm_struct * next_mm) membarrier_update_current_mm() argument
/linux/kernel/sched/
H A Dsched.h3848 struct mm_struct *next_mm) in membarrier_switch_mm() argument
3852 if (prev_mm == next_mm) in membarrier_switch_mm()
3855 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()
3866 struct mm_struct *next_mm) in membarrier_switch_mm() argument