Lines Matching refs:state
281 static inline void interrupt_nmi_enter_prepare(struct pt_regs *regs, struct interrupt_nmi_state *state)
284 state->irq_soft_mask = local_paca->irq_soft_mask;
285 state->irq_happened = local_paca->irq_happened;
286 state->softe = regs->softe;
301 * masked state. This makes arch_irq_disabled_regs(regs)
309 /* Don't do any per-CPU operations until interrupt state is fixed */
312 state->ftrace_enabled = this_cpu_get_ftrace_enabled();
343 static inline void interrupt_nmi_exit_prepare(struct pt_regs *regs, struct interrupt_nmi_state *state)
373 this_cpu_set_ftrace_enabled(state->ftrace_enabled);
376 WARN_ON_ONCE((state->irq_happened | PACA_IRQ_HARD_DIS) != local_paca->irq_happened);
377 regs->softe = state->softe;
378 local_paca->irq_happened = state->irq_happened;
379 local_paca->irq_soft_mask = state->irq_soft_mask;
565 struct interrupt_nmi_state state; \
568 interrupt_nmi_enter_prepare(regs, &state); \
572 interrupt_nmi_exit_prepare(regs, &state); \