Home
last modified time | relevance | path

Searched refs:paravirt_lazy_mode (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kernel/
Dparavirt.c162 static DEFINE_PER_CPU(enum paravirt_lazy_mode, paravirt_lazy_mode) = PARAVIRT_LAZY_NONE;
164 static inline void enter_lazy(enum paravirt_lazy_mode mode) in enter_lazy()
166 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()
168 this_cpu_write(paravirt_lazy_mode, mode); in enter_lazy()
171 static void leave_lazy(enum paravirt_lazy_mode mode) in leave_lazy()
173 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); in leave_lazy()
175 this_cpu_write(paravirt_lazy_mode, PARAVIRT_LAZY_NONE); in leave_lazy()
205 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()
223 enum paravirt_lazy_mode paravirt_get_lazy_mode(void) in paravirt_get_lazy_mode()
228 return this_cpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
/arch/x86/include/asm/
Dparavirt_types.h565 enum paravirt_lazy_mode { enum
571 enum paravirt_lazy_mode paravirt_get_lazy_mode(void);