Lines Matching defs:cpu

117 #define cpu_online(cpu)		cpumask_test_cpu((cpu), cpu_online_mask)  argument
118 #define cpu_possible(cpu) cpumask_test_cpu((cpu), cpu_possible_mask) argument
119 #define cpu_present(cpu) cpumask_test_cpu((cpu), cpu_present_mask) argument
120 #define cpu_active(cpu) cpumask_test_cpu((cpu), cpu_active_mask) argument
126 #define cpu_online(cpu) ((cpu) == 0) argument
127 #define cpu_possible(cpu) ((cpu) == 0) argument
128 #define cpu_present(cpu) ((cpu) == 0) argument
129 #define cpu_active(cpu) ((cpu) == 0) argument
134 static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits) in cpu_max_bits_warn()
142 static inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check()
186 static inline unsigned int cpumask_any_but(const struct cpumask *mask, in cpumask_any_but()
202 #define for_each_cpu(cpu, mask) \ argument
204 #define for_each_cpu_not(cpu, mask) \ argument
206 #define for_each_cpu_wrap(cpu, mask, start) \ argument
208 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
263 #define for_each_cpu(cpu, mask) \ argument
275 #define for_each_cpu_not(cpu, mask) \ argument
292 #define for_each_cpu_wrap(cpu, mask, start) \ argument
311 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
332 static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu()
337 static inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu()
348 static inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu()
353 static inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu()
365 static inline int cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu()
379 static inline int cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_set_cpu()
393 static inline int cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_clear_cpu()
633 #define cpumask_of(cpu) (get_cpu_mask(cpu)) argument
811 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) argument
812 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) argument
813 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask) argument
826 set_cpu_possible(unsigned int cpu, bool possible) in set_cpu_possible()
835 set_cpu_present(unsigned int cpu, bool present) in set_cpu_present()
846 set_cpu_active(unsigned int cpu, bool active) in set_cpu_active()
884 static inline const struct cpumask *get_cpu_mask(unsigned int cpu) in get_cpu_mask()
891 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) argument