Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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.3-rc2/kernel/
A 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.3-rc2/arch/sparc/include/asm/
A Dthread_info_32.h35 int softirq_count; member
/linux-6.3-rc2/kernel/trace/
A Dtrace_entries.h375 __field( unsigned int, softirq_count )
385 __entry->softirq_count,
A Dtrace_osnoise.c316 int softirq_count; /* # softirqs during this sample */ member
509 entry->softirq_count = sample->softirq_count; in __trace_osnoise_sample()
1246 s->softirq_count = osn_var->softirq.count; in save_osn_sample_stats()
1262 s->softirq_count = osn_var->softirq.count - s->softirq_count; in diff_osn_sample_stats()
A Dtrace_output.c1235 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print()
1259 field->softirq_count, in trace_osnoise_raw()
A Dtrace.c2694 if (softirq_count() >> (SOFTIRQ_SHIFT + 1)) in tracing_gen_ctx_irq_test()
/linux-6.3-rc2/tools/tracing/rtla/src/
A Dosnoise_top.c52 unsigned long long softirq_count; member
139 update_sum(&cpu_data->softirq_count, &val); in osnoise_top_handler()
237 trace_seq_printf(s, "%12llu ", cpu_data->softirq_count); in osnoise_top_print()
/linux-6.3-rc2/arch/sparc/kernel/
A Dtraps_32.c376 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
/linux-6.3-rc2/net/mac802154/
A Drx.c308 WARN_ON_ONCE(softirq_count() == 0); in ieee802154_rx()
/linux-6.3-rc2/arch/x86/kernel/fpu/
A Dcore.c84 return !softirq_count(); in irq_fpu_usable()
/linux-6.3-rc2/kernel/locking/
A Dlockdep.c2568 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency()
3949 lockdep_softirq_context(curr), softirq_count() >> SOFTIRQ_SHIFT, in print_usage_bug()
4500 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off()
5525 if (softirq_count()) { in check_flags()
/linux-6.3-rc2/lib/
A Dlocking-selftest.c1485 if (softirq_count()) in dotest()
/linux-6.3-rc2/net/core/
A Ddev.c4961 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx()
4991 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()
/linux-6.3-rc2/net/mac80211/
A Drx.c5164 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_rx_list()
A Dtx.c3786 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_tx_dequeue()

Completed in 114 milliseconds