Lines Matching refs:per_cpu
68 int policy_cpu = per_cpu(policy_cpu, cpu); \
70 down_##mode(&per_cpu(cpu_policy_rwsem, policy_cpu)); \
72 up_##mode(&per_cpu(cpu_policy_rwsem, policy_cpu)); \
87 int policy_cpu = per_cpu(policy_cpu, cpu);
89 up_read(&per_cpu(cpu_policy_rwsem, policy_cpu));
95 int policy_cpu = per_cpu(policy_cpu, cpu);
97 up_write(&per_cpu(cpu_policy_rwsem, policy_cpu));
756 per_cpu(policy_cpu, cpu) = cpu;
788 per_cpu(policy_cpu, cpu) = managed_policy->cpu;
840 per_cpu(policy_cpu, j) = policy->cpu;
1825 per_cpu(policy_cpu, cpu) = -1;
1826 init_rwsem(&per_cpu(cpu_policy_rwsem, cpu));