Searched refs:softirq_ctrl (Results 1 – 1 of 1) sorted by relevance
161 struct softirq_ctrl { struct166 static DEFINE_PER_CPU(struct softirq_ctrl, softirq_ctrl) = { argument167 .lock = INIT_LOCAL_LOCK(softirq_ctrl.lock),182 return __this_cpu_read(softirq_ctrl.cnt) != 0; in local_bh_blocked()195 local_lock(&softirq_ctrl.lock); in __local_bh_disable_ip()199 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()207 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()228 this_cpu_read(softirq_ctrl.cnt)); in __local_bh_enable()236 newcnt = __this_cpu_sub_return(softirq_ctrl.cnt, cnt); in __local_bh_enable()241 local_unlock(&softirq_ctrl.lock); in __local_bh_enable()[all …]