Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dsoftirq.c134 struct softirq_ctrl { struct
139 static DEFINE_PER_CPU(struct softirq_ctrl, softirq_ctrl) = { argument
140 .lock = INIT_LOCAL_LOCK(softirq_ctrl.lock),
155 return __this_cpu_read(softirq_ctrl.cnt) != 0; in local_bh_blocked()
168 local_lock(&softirq_ctrl.lock); in __local_bh_disable_ip()
172 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()
180 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()
201 this_cpu_read(softirq_ctrl.cnt)); in __local_bh_enable()
209 newcnt = __this_cpu_sub_return(softirq_ctrl.cnt, cnt); in __local_bh_enable()
214 local_unlock(&softirq_ctrl.lock); in __local_bh_enable()
[all …]