Home
last modified time | relevance | path

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

/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
145 mmc = next_mm->context[cpu]; in ev5_switch_mm()
147 mmc = __get_new_mm_context(next_mm, cpu); in ev5_switch_mm()
148 next_mm->context[cpu] = mmc; in ev5_switch_mm()
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
203 __load_new_mm_context(next_mm); in ev5_activate_mm()
207 ev4_activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in ev4_activate_mm() argument
[all …]
/arch/m68k/include/asm/
Dmmu_context.h205 struct mm_struct *next_mm) in activate_mm() argument
207 activate_context(next_mm); in activate_mm()
295 struct mm_struct *next_mm) in activate_mm() argument
297 next_mm->context = virt_to_phys(next_mm->pgd); in activate_mm()
300 switch_mm_0230(next_mm); in activate_mm()
302 switch_mm_0460(next_mm); in activate_mm()
322 static inline void activate_mm(struct mm_struct *prev_mm, struct mm_struct *next_mm) in activate_mm() argument
/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()
84 set_mask_dcplbs(next_mm->context.page_rwx_mask, cpu); in __switch_mm()
90 if (!next_mm->context.l1_stack_save) in __switch_mm()
92 if (next_mm->context.l1_stack_save == current_l1_stack_save) in __switch_mm()
97 current_l1_stack_save = next_mm->context.l1_stack_save; in __switch_mm()
/arch/alpha/mm/
Dfault.c41 __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()
/arch/tile/include/asm/
Dmmu_context.h127 struct mm_struct *next_mm) in activate_mm() argument
129 switch_mm(prev_mm, next_mm, NULL); in activate_mm()
/arch/metag/include/asm/
Dmmu_context.h106 struct mm_struct *next_mm) in activate_mm() argument
108 switch_mmu(prev_mm, next_mm); in activate_mm()
/arch/h8300/include/asm/
Dmmu_context.h28 struct mm_struct *next_mm) in activate_mm() argument
/arch/ia64/include/asm/
Dmmu_context.h195 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument