Home
last modified time | relevance | path

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

/linux-6.15/arch/x86/xen/
H A Denlighten_pv.c118 bool inhcall = __this_cpu_read(xen_in_preemptible_hcall); in get_and_clear_inhcall() local
121 return inhcall; in get_and_clear_inhcall()
124 static __always_inline void restore_inhcall(bool inhcall) in restore_inhcall() argument
126 __this_cpu_write(xen_in_preemptible_hcall, inhcall); in restore_inhcall()
132 static __always_inline void restore_inhcall(bool inhcall) { } in restore_inhcall() argument
742 bool inhcall; in xen_pv_evtchn_do_upcall() local
747 inhcall = get_and_clear_inhcall(); in xen_pv_evtchn_do_upcall()
748 if (inhcall && !WARN_ON_ONCE(state.exit_rcu)) { in xen_pv_evtchn_do_upcall()
751 restore_inhcall(inhcall); in xen_pv_evtchn_do_upcall()