Home
last modified time | relevance | path

Searched refs:tlb_gen (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/mm/
H A Dtlb.c237 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()
591 next_tlb_gen = atomic64_read(&next->context.tlb_gen); in switch_mm_irqs_off()
592 if (this_cpu_read(cpu_tlbstate.ctxs[prev_asid].tlb_gen) == in switch_mm_irqs_off()
623 next_tlb_gen = atomic64_read(&next->context.tlb_gen); in switch_mm_irqs_off()
635 this_cpu_write(cpu_tlbstate.ctxs[new_asid].tlb_gen, next_tlb_gen); in switch_mm_irqs_off()
697 u64 tlb_gen = atomic64_read(&init_mm.context.tlb_gen); in initialize_tlbstate_and_flush() local
724 this_cpu_write(cpu_tlbstate.ctxs[0].tlb_gen, tlb_gen); in initialize_tlbstate_and_flush()
752 u64 local_tlb_gen = this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen); in flush_tlb_func()
804 mm_tlb_gen = atomic64_read(&loaded_mm->context.tlb_gen); in flush_tlb_func()
886 this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen); in flush_tlb_func()
/linux/arch/x86/include/asm/
H A Dtlbflush.h69 u64 tlb_gen; member
277 return atomic64_inc_return(&mm->context.tlb_gen); in inc_mm_tlb_gen()
H A Dmmu.h38 atomic64_t tlb_gen; member
H A Dmmu_context.h153 atomic64_set(&mm->context.tlb_gen, 0); in init_new_context()