Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dsoftirq.c147 int newcnt; in __local_bh_disable_ip() local
166 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()
171 current->softirq_disable_cnt = newcnt; in __local_bh_disable_ip()
173 if (IS_ENABLED(CONFIG_TRACE_IRQFLAGS) && newcnt == cnt) { in __local_bh_disable_ip()
184 int newcnt; in __local_bh_enable() local
195 newcnt = __this_cpu_sub_return(softirq_ctrl.cnt, cnt); in __local_bh_enable()
196 current->softirq_disable_cnt = newcnt; in __local_bh_enable()
198 if (!newcnt && unlock) { in __local_bh_enable()