Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dpreempt.h104 # define softirq_count() (current->softirq_disable_cnt & SOFTIRQ_MASK) macro
106 # define softirq_count() (preempt_count() & SOFTIRQ_MASK) macro
108 #define irq_count() (nmi_count() | hardirq_count() | softirq_count())
120 #define in_serving_softirq() (softirq_count() & SOFTIRQ_OFFSET)
130 #define in_softirq() (softirq_count())
/linux-6.1.9/kernel/
Dsoftirq.c203 if (IS_ENABLED(CONFIG_TRACE_IRQFLAGS) && softirq_count() == cnt) { in __local_bh_enable()
335 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_disable_ip()
356 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_enable()
383 if (softirq_count() == SOFTIRQ_DISABLE_OFFSET) in __local_bh_enable_ip()
/linux-6.1.9/arch/sparc/include/asm/
Dthread_info_32.h35 int softirq_count; member
/linux-6.1.9/tools/tracing/rtla/src/
Dosnoise_top.c46 unsigned long long softirq_count; member
133 update_sum(&cpu_data->softirq_count, &val); in osnoise_top_handler()
209 trace_seq_printf(s, "%12llu ", cpu_data->softirq_count); in osnoise_top_print()
/linux-6.1.9/kernel/trace/
Dtrace_entries.h375 __field( unsigned int, softirq_count )
385 __entry->softirq_count,
Dtrace_osnoise.c294 int softirq_count; /* # softirqs during this sample */ member
487 entry->softirq_count = sample->softirq_count; in __trace_osnoise_sample()
1223 s->softirq_count = osn_var->softirq.count; in save_osn_sample_stats()
1239 s->softirq_count = osn_var->softirq.count - s->softirq_count; in diff_osn_sample_stats()
Dtrace_output.c1268 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print()
1292 field->softirq_count, in trace_osnoise_raw()
Dtrace.c2650 if (softirq_count() >> (SOFTIRQ_SHIFT + 1)) in tracing_gen_ctx_irq_test()
/linux-6.1.9/net/mac802154/
Drx.c253 WARN_ON_ONCE(softirq_count() == 0); in ieee802154_rx()
/linux-6.1.9/arch/sparc/kernel/
Dtraps_32.c376 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
/linux-6.1.9/arch/x86/kernel/fpu/
Dcore.c84 return !softirq_count(); in irq_fpu_usable()
/linux-6.1.9/kernel/locking/
Dlockdep.c2567 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency()
3948 lockdep_softirq_context(curr), softirq_count() >> SOFTIRQ_SHIFT, in print_usage_bug()
4499 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
5524 if (softirq_count()) { in check_flags()
/linux-6.1.9/lib/
Dlocking-selftest.c1485 if (softirq_count()) in dotest()
/linux-6.1.9/net/core/
Ddev.c4971 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx()
5001 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()
/linux-6.1.9/net/mac80211/
Drx.c5143 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_rx_list()
Dtx.c3723 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_tx_dequeue()