Home
last modified time | relevance | path

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

/linux-6.6.21/arch/alpha/include/asm/
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.6.21/arch/m68k/include/asm/
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-6.6.21/arch/alpha/mm/
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.6.21/include/asm-generic/
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.6.21/arch/x86/mm/
Dtlb.c345 static void l1d_flush_evaluate(unsigned long prev_mm, unsigned long next_mm, in l1d_flush_evaluate() argument
353 if (likely(!(next_mm & LAST_USER_MM_L1D_FLUSH))) in l1d_flush_evaluate()
385 unsigned long prev_mm, next_mm; in cond_mitigation() local
390 next_mm = mm_mangle_tif_spec_bits(next); in cond_mitigation()
441 if (next_mm != prev_mm && in cond_mitigation()
442 (next_mm | prev_mm) & LAST_USER_MM_IBPB) in cond_mitigation()
463 if (unlikely((prev_mm | next_mm) & LAST_USER_MM_L1D_FLUSH)) in cond_mitigation()
464 l1d_flush_evaluate(prev_mm, next_mm, next); in cond_mitigation()
467 this_cpu_write(cpu_tlbstate.last_user_mm_spec, next_mm); in cond_mitigation()
/linux-6.6.21/arch/ia64/include/asm/
Dmmu_context.h189 #define switch_mm(prev_mm,next_mm,next_task) activate_mm(prev_mm, next_mm) argument
/linux-6.6.21/kernel/sched/
Dmembarrier.c236 void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_update_current_mm() argument
241 if (next_mm) in membarrier_update_current_mm()
242 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_update_current_mm()
Dsched.h3238 struct mm_struct *next_mm) in membarrier_switch_mm() argument
3242 if (prev_mm == next_mm) in membarrier_switch_mm()
3245 membarrier_state = atomic_read(&next_mm->membarrier_state); in membarrier_switch_mm()
3254 struct mm_struct *next_mm) in membarrier_switch_mm() argument
/linux-6.6.21/include/linux/sched/
Dmm.h465 extern void membarrier_update_current_mm(struct mm_struct *next_mm);
481 static inline void membarrier_update_current_mm(struct mm_struct *next_mm) in membarrier_update_current_mm() argument
/linux-6.6.21/drivers/acpi/acpica/
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()
Devrgnini.c54 local_region_context->first_mm = mm->next_mm; in acpi_ev_system_memory_region_setup()
/linux-6.6.21/include/acpi/
Dactypes.h1232 struct acpi_mem_mapping *next_mm; member
/linux-6.6.21/mm/
Dksm.c2372 next_mm: in scan_get_next_rmap_item()
2474 goto next_mm; in scan_get_next_rmap_item()