Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/entry/
H A Dcommon.c238 bool inhcall = __this_cpu_read(xen_in_preemptible_hcall); in get_and_clear_inhcall() local
241 return inhcall; in get_and_clear_inhcall()
244 static __always_inline void restore_inhcall(bool inhcall) in restore_inhcall() argument
246 __this_cpu_write(xen_in_preemptible_hcall, inhcall); in restore_inhcall()
250 static __always_inline void restore_inhcall(bool inhcall) { } in restore_inhcall() argument
266 bool inhcall; in xen_pv_evtchn_do_upcall() local
278 inhcall = get_and_clear_inhcall(); in xen_pv_evtchn_do_upcall()
279 if (inhcall && !WARN_ON_ONCE(state.exit_rcu)) { in xen_pv_evtchn_do_upcall()
283 restore_inhcall(inhcall); in xen_pv_evtchn_do_upcall()
/kernel/linux/linux-6.6/arch/x86/entry/
H A Dcommon.c371 bool inhcall = __this_cpu_read(xen_in_preemptible_hcall); in get_and_clear_inhcall() local
374 return inhcall; in get_and_clear_inhcall()
377 static __always_inline void restore_inhcall(bool inhcall) in restore_inhcall() argument
379 __this_cpu_write(xen_in_preemptible_hcall, inhcall); in restore_inhcall()
383 static __always_inline void restore_inhcall(bool inhcall) { } in restore_inhcall() argument
400 bool inhcall; in xen_pv_evtchn_do_upcall() local
405 inhcall = get_and_clear_inhcall(); in xen_pv_evtchn_do_upcall()
406 if (inhcall && !WARN_ON_ONCE(state.exit_rcu)) { in xen_pv_evtchn_do_upcall()
409 restore_inhcall(inhcall); in xen_pv_evtchn_do_upcall()

Completed in 2 milliseconds