Searched refs:xen_lazy_mode (Results 1 – 3 of 3) sorted by relevance
68 enum xen_lazy_mode { enum74 DECLARE_PER_CPU(enum xen_lazy_mode, xen_lazy_mode);77 static inline void enter_lazy(enum xen_lazy_mode mode) in enter_lazy()79 enum xen_lazy_mode old_mode = this_cpu_read(xen_lazy_mode); in enter_lazy()88 this_cpu_write(xen_lazy_mode, mode); in enter_lazy()91 static inline void leave_lazy(enum xen_lazy_mode mode) in leave_lazy()93 BUG_ON(this_cpu_read(xen_lazy_mode) != mode); in leave_lazy()96 this_cpu_write(xen_lazy_mode, XEN_LAZY_NONE); in leave_lazy()101 enum xen_lazy_mode xen_get_lazy_mode(void);
16 TP_PROTO(enum xen_lazy_mode mode),19 __field(enum xen_lazy_mode, mode)28 TP_PROTO(enum xen_lazy_mode mode), \
100 DEFINE_PER_CPU(enum xen_lazy_mode, xen_lazy_mode) = XEN_LAZY_NONE;103 enum xen_lazy_mode xen_get_lazy_mode(void) in xen_get_lazy_mode()108 return this_cpu_read(xen_lazy_mode); in xen_get_lazy_mode()388 if (this_cpu_read(xen_lazy_mode) == XEN_LAZY_MMU) { in xen_start_context_switch()