Searched refs:tlb_gen (Results 1 – 4 of 4) sorted by relevance
239 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()596 next_tlb_gen = atomic64_read(&next->context.tlb_gen); in switch_mm_irqs_off()597 if (this_cpu_read(cpu_tlbstate.ctxs[prev_asid].tlb_gen) == in switch_mm_irqs_off()630 next_tlb_gen = atomic64_read(&next->context.tlb_gen); in switch_mm_irqs_off()642 this_cpu_write(cpu_tlbstate.ctxs[new_asid].tlb_gen, next_tlb_gen); in switch_mm_irqs_off()703 u64 tlb_gen = atomic64_read(&init_mm.context.tlb_gen); in initialize_tlbstate_and_flush() local729 this_cpu_write(cpu_tlbstate.ctxs[0].tlb_gen, tlb_gen); in initialize_tlbstate_and_flush()757 u64 local_tlb_gen = this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen); in flush_tlb_func()809 mm_tlb_gen = atomic64_read(&loaded_mm->context.tlb_gen); in flush_tlb_func()891 this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen); in flush_tlb_func()
69 u64 tlb_gen; member277 return atomic64_inc_return(&mm->context.tlb_gen); in inc_mm_tlb_gen()
38 atomic64_t tlb_gen; member
147 atomic64_set(&mm->context.tlb_gen, 0); in init_new_context()