Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dparavirt.c182 static DEFINE_PER_CPU(enum paravirt_lazy_mode, paravirt_lazy_mode) = PARAVIRT_LAZY_NONE;
184 static inline void enter_lazy(enum paravirt_lazy_mode mode) in enter_lazy()
186 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()
188 this_cpu_write(paravirt_lazy_mode, mode); in enter_lazy()
191 static void leave_lazy(enum paravirt_lazy_mode mode) in leave_lazy()
193 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); in leave_lazy()
195 this_cpu_write(paravirt_lazy_mode, PARAVIRT_LAZY_NONE); in leave_lazy()
225 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()
243 enum paravirt_lazy_mode paravirt_get_lazy_mode(void) in paravirt_get_lazy_mode()
248 return this_cpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
/arch/x86/include/asm/
Dparavirt_types.h627 enum paravirt_lazy_mode { enum
633 enum paravirt_lazy_mode paravirt_get_lazy_mode(void);