Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kernel/
Dparavirt.c212 static DEFINE_PER_CPU(enum paravirt_lazy_mode, paravirt_lazy_mode) = PARAVIRT_LAZY_NONE;
214 static inline void enter_lazy(enum paravirt_lazy_mode mode) in enter_lazy()
216 BUG_ON(this_cpu_read(paravirt_lazy_mode) != PARAVIRT_LAZY_NONE); in enter_lazy()
218 this_cpu_write(paravirt_lazy_mode, mode); in enter_lazy()
221 static void leave_lazy(enum paravirt_lazy_mode mode) in leave_lazy()
223 BUG_ON(this_cpu_read(paravirt_lazy_mode) != mode); in leave_lazy()
225 this_cpu_write(paravirt_lazy_mode, PARAVIRT_LAZY_NONE); in leave_lazy()
255 if (this_cpu_read(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU) { in paravirt_start_context_switch()
273 enum paravirt_lazy_mode paravirt_get_lazy_mode(void) in paravirt_get_lazy_mode()
278 return this_cpu_read(paravirt_lazy_mode); in paravirt_get_lazy_mode()
/Linux-v5.4/include/xen/arm/
Dhypervisor.h11 enum paravirt_lazy_mode { enum
17 static inline enum paravirt_lazy_mode paravirt_get_lazy_mode(void) in paravirt_get_lazy_mode()
/Linux-v5.4/include/trace/events/
Dxen.h16 TP_PROTO(enum paravirt_lazy_mode mode),
19 __field(enum paravirt_lazy_mode, mode)
28 TP_PROTO(enum paravirt_lazy_mode mode), \
/Linux-v5.4/arch/x86/include/asm/
Dparavirt_types.h649 enum paravirt_lazy_mode { enum
655 enum paravirt_lazy_mode paravirt_get_lazy_mode(void);