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/kernel/
H A Dsoftirq.c189 if (IS_ENABLED(CONFIG_TRACE_IRQFLAGS) && softirq_count() == cnt) { in __local_bh_enable()
321 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_disable_ip()
342 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_enable()
369 if (softirq_count() == SOFTIRQ_DISABLE_OFFSET) in __local_bh_enable_ip()
/linux/arch/sparc/include/asm/
H A Dthread_info_32.h35 int softirq_count; member
/linux/kernel/trace/
H A Dtrace_entries.h401 __field( unsigned int, softirq_count )
411 __entry->softirq_count,
H A Dtrace_osnoise.c318 int softirq_count; /* # softirqs during this sample */ member
511 entry->softirq_count = sample->softirq_count; in __trace_osnoise_sample()
1329 s->softirq_count = osn_var->softirq.count; in save_osn_sample_stats()
1345 s->softirq_count = osn_var->softirq.count - s->softirq_count; in diff_osn_sample_stats()
H A Dtrace_output.c1408 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print()
1432 field->softirq_count, in trace_osnoise_raw()
H A Dtrace.c2517 if (softirq_count() >> (SOFTIRQ_SHIFT + 1)) in tracing_gen_ctx_irq_test()
/linux/tools/tracing/rtla/src/
H A Dosnoise_top.c60 unsigned long long softirq_count; member
147 update_sum(&cpu_data->softirq_count, &val); in osnoise_top_handler()
245 trace_seq_printf(s, "%12llu ", cpu_data->softirq_count); in osnoise_top_print()
/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.c84 return !softirq_count(); in irq_fpu_usable()
/linux/kernel/locking/
H A Dlockdep.c2582 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency()
3986 lockdep_softirq_context(curr), softirq_count() >> SOFTIRQ_SHIFT, in print_usage_bug()
4537 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
5610 if (softirq_count()) { in check_flags()
/linux/lib/
H A Dlocking-selftest.c1485 if (softirq_count()) in dotest()
/linux/net/core/
H A Ddev.c5171 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx()
5201 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()
/linux/net/mac80211/
H A Drx.c5345 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_rx_list()
H A Dtx.c3824 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_tx_dequeue()