Lines Matching refs:cpu
30 unsigned int i, cpu; in __do_softirq() local
42 cpu = smp_processor_id(); in __do_softirq()
44 if ( rcu_allowed && rcu_pending(cpu) ) in __do_softirq()
45 rcu_check_callbacks(cpu); in __do_softirq()
47 if ( ((pending = (softirq_pending(cpu) & ~ignore_mask)) == 0) in __do_softirq()
48 || cpu_is_offline(cpu) ) in __do_softirq()
52 clear_bit(i, &softirq_pending(cpu)); in __do_softirq()
85 unsigned int cpu, this_cpu = smp_processor_id(); in cpumask_raise_softirq() local
96 for_each_cpu(cpu, mask) in cpumask_raise_softirq()
97 if ( !test_and_set_bit(nr, &softirq_pending(cpu)) && in cpumask_raise_softirq()
98 cpu != this_cpu && in cpumask_raise_softirq()
99 !arch_skip_send_event_check(cpu) ) in cpumask_raise_softirq()
100 __cpumask_set_cpu(cpu, raise_mask); in cpumask_raise_softirq()
106 void cpu_raise_softirq(unsigned int cpu, unsigned int nr) in cpu_raise_softirq() argument
110 if ( test_and_set_bit(nr, &softirq_pending(cpu)) in cpu_raise_softirq()
111 || (cpu == this_cpu) in cpu_raise_softirq()
112 || arch_skip_send_event_check(cpu) ) in cpu_raise_softirq()
116 smp_send_event_check_cpu(cpu); in cpu_raise_softirq()
118 __cpumask_set_cpu(cpu, &per_cpu(batch_mask, this_cpu)); in cpu_raise_softirq()
128 unsigned int cpu, this_cpu = smp_processor_id(); in cpu_raise_softirq_batch_finish() local
132 for_each_cpu ( cpu, mask ) in cpu_raise_softirq_batch_finish()
133 if ( !softirq_pending(cpu) ) in cpu_raise_softirq_batch_finish()
134 __cpumask_clear_cpu(cpu, mask); in cpu_raise_softirq_batch_finish()