Searched refs:tlb_gen (Results 1 – 4 of 4) sorted by relevance
96 *need_flush = (this_cpu_read(cpu_tlbstate.ctxs[asid].tlb_gen) < in choose_new_asid()361 next_tlb_gen = atomic64_read(&next->context.tlb_gen); in switch_mm_irqs_off()362 if (this_cpu_read(cpu_tlbstate.ctxs[prev_asid].tlb_gen) == in switch_mm_irqs_off()405 next_tlb_gen = atomic64_read(&next->context.tlb_gen); in switch_mm_irqs_off()416 this_cpu_write(cpu_tlbstate.ctxs[new_asid].tlb_gen, next_tlb_gen); in switch_mm_irqs_off()486 u64 tlb_gen = atomic64_read(&init_mm.context.tlb_gen); in initialize_tlbstate_and_flush() local508 this_cpu_write(cpu_tlbstate.ctxs[0].tlb_gen, tlb_gen); in initialize_tlbstate_and_flush()535 u64 mm_tlb_gen = atomic64_read(&loaded_mm->context.tlb_gen); in flush_tlb_func_common()536 u64 local_tlb_gen = this_cpu_read(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen); in flush_tlb_func_common()635 this_cpu_write(cpu_tlbstate.ctxs[loaded_mm_asid].tlb_gen, mm_tlb_gen); in flush_tlb_func_common()
28 atomic64_t tlb_gen; member
153 u64 tlb_gen; member599 return atomic64_inc_return(&mm->context.tlb_gen); in inc_mm_tlb_gen()
192 atomic64_set(&mm->context.tlb_gen, 0); in init_new_context()