Searched refs:softirq_ctrl (Results 1 – 1 of 1) sorted by relevance
119 struct softirq_ctrl { struct124 static DEFINE_PER_CPU(struct softirq_ctrl, softirq_ctrl) = { argument125 .lock = INIT_LOCAL_LOCK(softirq_ctrl.lock),140 return __this_cpu_read(softirq_ctrl.cnt) != 0; in local_bh_blocked()153 local_lock(&softirq_ctrl.lock); in __local_bh_disable_ip()157 DEBUG_LOCKS_WARN_ON(this_cpu_read(softirq_ctrl.cnt)); in __local_bh_disable_ip()165 newcnt = __this_cpu_add_return(softirq_ctrl.cnt, cnt); in __local_bh_disable_ip()186 this_cpu_read(softirq_ctrl.cnt)); in __local_bh_enable()194 newcnt = __this_cpu_sub_return(softirq_ctrl.cnt, cnt); in __local_bh_enable()199 local_unlock(&softirq_ctrl.lock); in __local_bh_enable()[all …]