Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dpreempt.h111 # define softirq_count() (current->softirq_disable_cnt & SOFTIRQ_MASK) macro
112 # define irq_count() ((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | softirq_count())
114 # define softirq_count() (preempt_count() & SOFTIRQ_MASK) macro
128 #define in_serving_softirq() (softirq_count() & SOFTIRQ_OFFSET)
142 #define in_softirq() (softirq_count())
/linux/include/trace/events/
H A Dosnoise.h20 int softirq_count; /* # softirqs during this sample */ member
51 __field( int, softirq_count )
62 __entry->softirq_count = s->softirq_count;
67 " irq_count=%d nmi_count=%d softirq_count=%d"
75 __entry->softirq_count,
/linux/arch/sparc/include/asm/
H A Dthread_info_32.h35 int softirq_count; member
89 #define TI_SOFTIRQ 0x14 /* softirq_count */
/linux/tools/tracing/rtla/src/
H A Dosnoise_top.c26 unsigned long long softirq_count; member
112 tep_get_field_val(s, event, "softirq_count", record, &val, 1); in osnoise_top_handler()
113 update_sum(&cpu_data->softirq_count, &val); in osnoise_top_handler()
218 trace_seq_printf(s, "%12llu ", cpu_data->softirq_count); in osnoise_top_print()
/linux/kernel/trace/
H A Dtrace_entries.h430 __field( unsigned int, softirq_count )
440 __entry->softirq_count,
H A Dtrace_output.c1553 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print()
1577 field->softirq_count, in trace_osnoise_raw()
H A Dtrace.c2591 if (softirq_count() >> (SOFTIRQ_SHIFT + 1)) in tracing_gen_ctx_irq_test()
/linux/arch/sparc/kernel/
H A Dtraps_32.c377 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
/linux/net/mac802154/
H A Drx.c404 WARN_ON_ONCE(softirq_count() == 0); in ieee802154_rx()
/linux/arch/x86/kernel/fpu/
H A Dcore.c109 return !softirq_count(); in irq_fpu_usable()
/linux/kernel/rcu/
H A Dtree_plugin.h32 ((!(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible()) || softirq_count()) && in rcu_rdp_is_offloaded()
/linux/kernel/locking/
H A Dlockdep.c2572 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency()
4027 lockdep_softirq_context(curr), softirq_count() >> SOFTIRQ_SHIFT, in print_usage_bug()
4588 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
5716 if (softirq_count()) { in check_flags()
/linux/lib/
H A Dlocking-selftest.c1485 if (softirq_count()) in dotest()
/linux/net/core/
H A Ddev.c5508 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx()
5538 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()
/linux/net/mac80211/
H A Drx.c5309 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_rx_list()
H A Dtx.c3814 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_tx_dequeue()