Searched refs:softirq_count (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/include/linux/ |
D | preempt.h | 111 # 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-6.12.1/kernel/ |
D | softirq.c | 189 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-6.12.1/arch/sparc/include/asm/ |
D | thread_info_32.h | 35 int softirq_count; member
|
/linux-6.12.1/kernel/trace/ |
D | trace_entries.h | 401 __field( unsigned int, softirq_count ) 411 __entry->softirq_count,
|
D | trace_osnoise.c | 329 int softirq_count; /* # softirqs during this sample */ member 517 entry->softirq_count = sample->softirq_count; in __trace_osnoise_sample() 1335 s->softirq_count = osn_var->softirq.count; in save_osn_sample_stats() 1351 s->softirq_count = osn_var->softirq.count - s->softirq_count; in diff_osn_sample_stats()
|
D | trace_output.c | 1412 trace_seq_printf(s, " %6u", field->softirq_count); in trace_osnoise_print() 1436 field->softirq_count, in trace_osnoise_raw()
|
D | trace.c | 2559 if (softirq_count() >> (SOFTIRQ_SHIFT + 1)) in tracing_gen_ctx_irq_test()
|
/linux-6.12.1/tools/tracing/rtla/src/ |
D | osnoise_top.c | 61 unsigned long long softirq_count; member 148 update_sum(&cpu_data->softirq_count, &val); in osnoise_top_handler() 253 trace_seq_printf(s, "%12llu ", cpu_data->softirq_count); in osnoise_top_print()
|
/linux-6.12.1/arch/sparc/kernel/ |
D | traps_32.c | 377 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
|
/linux-6.12.1/net/mac802154/ |
D | rx.c | 404 WARN_ON_ONCE(softirq_count() == 0); in ieee802154_rx()
|
/linux-6.12.1/arch/x86/kernel/fpu/ |
D | core.c | 84 return !softirq_count(); in irq_fpu_usable()
|
/linux-6.12.1/kernel/locking/ |
D | lockdep.c | 2603 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency() 4023 lockdep_softirq_context(curr), softirq_count() >> SOFTIRQ_SHIFT, in print_usage_bug() 4584 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off() 5681 if (softirq_count()) { in check_flags()
|
/linux-6.12.1/lib/ |
D | locking-selftest.c | 1485 if (softirq_count()) in dotest()
|
/linux-6.12.1/net/core/ |
D | dev.c | 5216 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx() 5246 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()
|
/linux-6.12.1/net/mac80211/ |
D | rx.c | 5348 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_rx_list()
|
D | tx.c | 3822 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_tx_dequeue()
|