Home
last modified time | relevance | path

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

/arch/loongarch/include/asm/
A Dmmu_context.h52 get_new_mmu_context(struct mm_struct *mm, unsigned long cpu, bool *need_flush) in get_new_mmu_context() argument
57 *need_flush = true; /* start new asid cycle */ in get_new_mmu_context()
91 bool need_flush = false; in switch_mm_irqs_off() local
96 get_new_mmu_context(next, cpu, &need_flush); in switch_mm_irqs_off()
103 if (need_flush) in switch_mm_irqs_off()
151 bool need_flush = false; in drop_mmu_context() local
154 get_new_mmu_context(mm, cpu, &need_flush); in drop_mmu_context()
157 if (need_flush) in drop_mmu_context()
/arch/arm/mm/
A Dpmsa-v7.c368 unsigned int subregions, bool need_flush) in mpu_setup_region() argument
387 if (need_flush) in mpu_setup_region()
441 bool need_flush = region == PMSAv7_RAM_REGION; in pmsav7_setup() local
448 xip[i].subreg, need_flush); in pmsav7_setup()
/arch/x86/mm/
A Dtlb.c221 unsigned int need_flush : 1; member
231 ns.need_flush = 1; in choose_new_asid()
244 ns.need_flush = 0; in choose_new_asid()
258 ns.need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < next_tlb_gen); in choose_new_asid()
271 ns.need_flush = true; in choose_new_asid()
565 bool need_flush) in load_new_mm_cr3() argument
569 if (need_flush) { in load_new_mm_cr3()
900 ns.need_flush = true; in switch_mm_irqs_off()
926 if (ns.need_flush) { in switch_mm_irqs_off()
/arch/x86/kernel/
A Damd_gart_64.c87 static bool need_flush; /* global flush state. set for each gart wrap */ variable
104 need_flush = true; in alloc_iommu()
113 need_flush = true; in alloc_iommu()
117 need_flush = true; in alloc_iommu()
142 if (need_flush) { in flush_gart()
144 need_flush = false; in flush_gart()
/arch/sparc/kernel/
A Diommu-common.c19 static inline bool need_flush(struct iommu_map_table *iommu) in need_flush() function
206 (n < pool->hint || need_flush(iommu))) { in iommu_tbl_range_alloc()
/arch/arm64/kvm/hyp/
A Dpgtable.c1096 bool need_flush = false; in stage2_unmap_walker() local
1112 need_flush = !stage2_has_fwb(pgt); in stage2_unmap_walker()
1122 if (need_flush && mm_ops->dcache_clean_inval_poc) in stage2_unmap_walker()

Completed in 21 milliseconds