Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/
Dsoftirq.c146 int newcnt; in __local_bh_disable_ip() local
165 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()
170 current->softirq_disable_cnt = newcnt; in __local_bh_disable_ip()
172 if (IS_ENABLED(CONFIG_TRACE_IRQFLAGS) && newcnt == cnt) { in __local_bh_disable_ip()
183 int newcnt; in __local_bh_enable() local
194 newcnt = __this_cpu_sub_return(softirq_ctrl.cnt, cnt); in __local_bh_enable()
195 current->softirq_disable_cnt = newcnt; in __local_bh_enable()
197 if (!newcnt && unlock) { in __local_bh_enable()