Searched refs:softirq_count (Results 1 – 16 of 16) sorted by relevance
| /linux/include/linux/ |
| H A D | preempt.h | 139 # define softirq_count() (current->softirq_disable_cnt & SOFTIRQ_MASK) macro 140 # define irq_count() ((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | softirq_count()) 142 # define softirq_count() (preempt_count() & SOFTIRQ_MASK) macro 156 #define in_serving_softirq() (softirq_count() & SOFTIRQ_OFFSET) 168 #define in_softirq() (softirq_count())
|
| /linux/include/trace/events/ |
| H A D | osnoise.h | 20 int softirq_count; /* # softirqs during this sample */ member 51 __field( int, softirq_count ) 62 __entry->softirq_count = s->softirq_count; 75 __entry->softirq_count,
|
| /linux/kernel/ |
| H A D | softirq.c | 136 * The per task counter is used for softirq_count(), in_softirq() and 211 * local lock and to make softirq_count() & al work. in __local_bh_disable_ip() 248 if (softirq_count() == cnt) in __local_bh_enable() 412 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_disable_ip() 433 if (softirq_count() == (cnt & SOFTIRQ_MASK)) in __local_bh_enable() 460 if (softirq_count() == SOFTIRQ_DISABLE_OFFSET) in __local_bh_enable_ip()
|
| /linux/tools/tracing/rtla/src/ |
| H A D | osnoise_top.c | 26 unsigned long long softirq_count; member 113 tep_get_field_val(s, event, "softirq_count", record, &val, 1); in osnoise_top_handler() 114 update_sum(&cpu_data->softirq_count, &val); in osnoise_top_handler() 220 trace_seq_printf(s, "%12llu ", cpu_data->softirq_count); in osnoise_top_print()
|
| /linux/kernel/trace/ |
| H A D | trace_entries.h | 431 __field( unsigned int, softirq_count ) 441 __entry->softirq_count,
|
| H A D | trace_osnoise.c | 517 entry->softirq_count = sample->softirq_count; in __record_osnoise_sample() 1345 s->softirq_count = osn_var->softirq.count; in save_osn_sample_stats() 1361 s->softirq_count = osn_var->softirq.count - s->softirq_count; in diff_osn_sample_stats()
|
| H A D | trace.c | 1737 if (softirq_count() >> (SOFTIRQ_SHIFT + 1)) in tracing_gen_ctx_irq_test()
|
| /linux/arch/sparc/kernel/ |
| H A D | traps_32.c | 377 TI_SOFTIRQ != offsetof(struct thread_info, softirq_count) ||
|
| /linux/net/mac802154/ |
| H A D | rx.c | 480 WARN_ON_ONCE(softirq_count() == 0); in ieee802154_rx()
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | core.c | 110 return !softirq_count(); in irq_fpu_usable()
|
| /linux/kernel/rcu/ |
| H A D | tree_plugin.h | 30 ((!(IS_ENABLED(CONFIG_PREEMPT_COUNT) && preemptible()) || softirq_count()) && in rcu_rdp_is_offloaded()
|
| H A D | rcutorture.c | 488 if ((preempt_count() & HARDIRQ_MASK) || softirq_count()) in rcu_read_delay() 2214 !softirq_count(), ROEC_ARGS); 2228 softirq_count(), ROEC_ARGS); in rcutorture_one_extend() 2249 if (IS_ENABLED(CONFIG_PREEMPT_RT) && softirq_count()) in rcutorture_one_extend()
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 2616 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency() 4071 lockdep_softirq_context(curr), softirq_count() >> SOFTIRQ_SHIFT, in print_usage_bug() 4632 DEBUG_LOCKS_WARN_ON(!softirq_count()); in lockdep_softirqs_off() 5790 if (softirq_count()) { in check_flags()
|
| /linux/net/core/ |
| H A D | dev.c | 5831 lockdep_assert_once(hardirq_count() | softirq_count()); in __netif_rx() 5861 bool need_bh_off = !(hardirq_count() | softirq_count()); in netif_rx()
|
| /linux/net/mac80211/ |
| H A D | rx.c | 5574 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_rx_list()
|
| H A D | tx.c | 3928 WARN_ON_ONCE(softirq_count() == 0); in ieee80211_tx_dequeue()
|