Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/alpha/include/asm/
A Dmmu_context.h136 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-6.3-rc2/arch/m68k/include/asm/
A Dmmu_context.h213 struct mm_struct *next_mm) in activate_mm() argument
215 activate_context(next_mm); in activate_mm()
301 struct mm_struct *next_mm) in activate_mm() argument
303 next_mm->context = virt_to_phys(next_mm->pgd); in activate_mm()
306 switch_mm_0230(next_mm); in activate_mm()
308 switch_mm_0460(next_mm); in activate_mm()
/linux-6.3-rc2/arch/alpha/mm/
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-6.3-rc2/include/asm-generic/
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-6.3-rc2/arch/x86/mm/
A Dtlb.c339 static void l1d_flush_evaluate(unsigned long prev_mm, unsigned long next_mm, in l1d_flush_evaluate() argument
347 if (likely(!(next_mm & LAST_USER_MM_L1D_FLUSH))) in l1d_flush_evaluate()
379 unsigned long prev_mm, next_mm; in cond_mitigation() local
384 next_mm = mm_mangle_tif_spec_bits(next); in cond_mitigation()
435 if (next_mm != prev_mm && in cond_mitigation()
436 (next_mm | prev_mm) & LAST_USER_MM_IBPB) in cond_mitigation()
457 if (unlikely((prev_mm | next_mm) & LAST_USER_MM_L1D_FLUSH)) in cond_mitigation()
458 l1d_flush_evaluate(prev_mm, next_mm, next); in cond_mitigation()
461 this_cpu_write(cpu_tlbstate.last_user_mm_spec, next_mm); in cond_mitigation()
/linux-6.3-rc2/arch/ia64/include/asm/
A Dmmu_context.h189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/linux-6.3-rc2/kernel/sched/
A Dmembarrier.c233 void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_update_current_mm() argument
238 if (next_mm) in membarrier_update_current_mm()
239 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_update_current_mm()
A Dsched.h3198 struct mm_struct *next_mm) in membarrier_switch_mm() argument
3202 if (prev_mm == next_mm) in membarrier_switch_mm()
3205 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()
3214 struct mm_struct *next_mm) in membarrier_switch_mm() argument
/linux-6.3-rc2/include/linux/sched/
A Dmm.h433 extern void membarrier_update_current_mm(struct mm_struct *next_mm);
449 static inline void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_update_current_mm() argument
/linux-6.3-rc2/drivers/acpi/acpica/
A Dexregion.c109 for (mm = mem_info->first_mm; mm; mm = mm->next_mm) { in acpi_ex_system_memory_space_handler()
184 mm->next_mm = mem_info->first_mm; in acpi_ex_system_memory_space_handler()
A Devrgnini.c54 local_region_context->first_mm = mm->next_mm; in acpi_ev_system_memory_region_setup()
/linux-6.3-rc2/include/acpi/
A Dactypes.h1233 struct acpi_mem_mapping *next_mm; member
/linux-6.3-rc2/mm/
A Dksm.c2307 next_mm: in scan_get_next_rmap_item()
2408 goto next_mm; in scan_get_next_rmap_item()

Completed in 39 milliseconds