Searched refs:paravirt_lazy_mode (Results 1 – 2 of 2) sorted by relevance
182 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()
627 enum paravirt_lazy_mode { enum633 enum paravirt_lazy_mode paravirt_get_lazy_mode(void);