Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dparavirt.c244 static DEFINE_PER_CPU(enum paravirt_lazy_mode, paravirt_lazy_mode) = PARAVIRT_LAZY_NONE;
246 static inline void enter_lazy(enum paravirt_lazy_mode mode) in enter_lazy()
248 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()
250 this_cpu_write(paravirt_lazy_mode, mode); in enter_lazy()
253 static void leave_lazy(enum paravirt_lazy_mode mode) in leave_lazy()
255 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); in leave_lazy()
257 this_cpu_write(paravirt_lazy_mode, PARAVIRT_LAZY_NONE); in leave_lazy()
286 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()
303 enum paravirt_lazy_mode paravirt_get_lazy_mode(void) in paravirt_get_lazy_mode()
308 return this_cpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
/arch/arm/include/asm/xen/
Dhypervisor.h8 enum paravirt_lazy_mode { enum
14 static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void) in paravirt_get_lazy_mode()
/arch/x86/include/asm/
Dparavirt_types.h675 enum paravirt_lazy_mode { enum
681 enum paravirt_lazy_mode paravirt_get_lazy_mode(void);