nmi_running 95 arch/sh/kernel/ftrace.c static atomic_t nmi_running = ATOMIC_INIT(0); nmi_running 102 arch/sh/kernel/ftrace.c int old = atomic_read(&nmi_running); nmi_running 110 arch/sh/kernel/ftrace.c old = atomic_cmpxchg(&nmi_running, old, new); nmi_running 132 arch/sh/kernel/ftrace.c if (atomic_inc_return(&nmi_running) & MOD_CODE_WRITE_FLAG) { nmi_running 144 arch/sh/kernel/ftrace.c atomic_dec(&nmi_running); nmi_running 149 arch/sh/kernel/ftrace.c if (!atomic_cmpxchg(&nmi_running, 0, MOD_CODE_WRITE_FLAG)) nmi_running 154 arch/sh/kernel/ftrace.c } while (atomic_cmpxchg(&nmi_running, 0, MOD_CODE_WRITE_FLAG)); nmi_running 159 arch/sh/kernel/ftrace.c if (!atomic_read(&nmi_running)) nmi_running 164 arch/sh/kernel/ftrace.c } while (atomic_read(&nmi_running));