Home
last modified time | relevance | path

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

/arch/x86/mm/
Dtlb.c77 u16 *new_asid, bool *need_flush) in choose_new_asid() argument
83 *need_flush = true; in choose_new_asid()
96 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()
110 *need_flush = true; in choose_new_asid()
113 static void load_new_mm_cr3(pgd_t *pgdir, u16 new_asid, bool need_flush) in load_new_mm_cr3() argument
117 if (need_flush) { in load_new_mm_cr3()
283 bool need_flush; in switch_mm_irqs_off() local
377 need_flush = true; in switch_mm_irqs_off()
413 choose_new_asid(next, next_tlb_gen, &new_asid, &need_flush); in switch_mm_irqs_off()
420 if (need_flush) { in switch_mm_irqs_off()
/arch/arm/mm/
Dpmsa-v7.c367 unsigned int subregions, bool need_flush) in mpu_setup_region() argument
386 if (need_flush) in mpu_setup_region()
440 bool need_flush = region == PMSAv7_RAM_REGION; in pmsav7_setup() local
447 xip[i].subreg, need_flush); in pmsav7_setup()
/arch/x86/kernel/
Damd_gart_64.c89 static bool need_flush; /* global flush state. set for each gart wrap */ variable
107 need_flush = true; in alloc_iommu()
116 need_flush = true; in alloc_iommu()
120 need_flush = true; in alloc_iommu()
145 if (need_flush) { in flush_gart()
147 need_flush = false; in flush_gart()
/arch/sparc/kernel/
Diommu-common.c19 static inline bool need_flush(struct iommu_map_table *iommu) in need_flush() function
210 (n < pool->hint || need_flush(iommu))) { in iommu_tbl_range_alloc()
/arch/x86/kvm/
Dmmu.c1893 int need_flush = 0; in kvm_set_pte_rmapp() local
1906 need_flush = 1; in kvm_set_pte_rmapp()
1925 if (need_flush && kvm_available_flush_tlb_with_range()) { in kvm_set_pte_rmapp()
1930 return need_flush; in kvm_set_pte_rmapp()