Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/xen/
H A Dhypervisor.h73 enum xen_lazy_mode { enum
79 DECLARE_PER_CPU(enum xen_lazy_mode, xen_lazy_mode);
82 static inline void enter_lazy(enum xen_lazy_mode mode) in enter_lazy()
84 enum xen_lazy_mode old_mode = this_cpu_read(xen_lazy_mode); in enter_lazy()
93 this_cpu_write(xen_lazy_mode, mode); in enter_lazy()
96 static inline void leave_lazy(enum xen_lazy_mode mode) in leave_lazy()
98 BUG_ON(this_cpu_read(xen_lazy_mode) != mode); in leave_lazy()
101 this_cpu_write(xen_lazy_mode, XEN_LAZY_NONE); in leave_lazy()
106 enum xen_lazy_mode xen_get_lazy_mode(void);
/openbmc/linux/include/trace/events/
H A Dxen.h16 TP_PROTO(enum xen_lazy_mode mode),
19 __field(enum xen_lazy_mode, mode)
28 TP_PROTO(enum xen_lazy_mode mode), \
/openbmc/linux/arch/x86/xen/
H A Denlighten_pv.c104 DEFINE_PER_CPU(enum xen_lazy_mode, xen_lazy_mode) = XEN_LAZY_NONE;
107 enum xen_lazy_mode xen_get_lazy_mode(void) in xen_get_lazy_mode()
112 return this_cpu_read(xen_lazy_mode); in xen_get_lazy_mode()
380 if (this_cpu_read(xen_lazy_mode) == XEN_LAZY_MMU) { in xen_start_context_switch()