Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dsoftirq.c120 struct softirq_ctrl { struct
125 static DEFINE_PER_CPU(struct softirq_ctrl, softirq_ctrl) = { argument
126 .lock = INIT_LOCAL_LOCK(softirq_ctrl.lock),
141 return __this_cpu_read(softirq_ctrl.cnt) != 0; in local_bh_blocked()
154 local_lock(&softirq_ctrl.lock); in __local_bh_disable_ip()
158 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
166 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()
187 this_cpu_read(softirq_ctrl.cnt)); in __local_bh_enable()
195 newcnt = __this_cpu_sub_return(softirq_ctrl.cnt, cnt); in __local_bh_enable()
200 local_unlock(&softirq_ctrl.lock); in __local_bh_enable()
[all …]