• Home
  • Raw
  • Download

Lines Matching defs:cpu

123 #define cpu_online(cpu)		cpumask_test_cpu((cpu), cpu_online_mask)  argument
124 #define cpu_possible(cpu) cpumask_test_cpu((cpu), cpu_possible_mask) argument
125 #define cpu_present(cpu) cpumask_test_cpu((cpu), cpu_present_mask) argument
126 #define cpu_active(cpu) cpumask_test_cpu((cpu), cpu_active_mask) argument
132 #define cpu_online(cpu) ((cpu) == 0) argument
133 #define cpu_possible(cpu) ((cpu) == 0) argument
134 #define cpu_present(cpu) ((cpu) == 0) argument
135 #define cpu_active(cpu) ((cpu) == 0) argument
147 #define cpu_isolated(cpu) cpumask_test_cpu((cpu), cpu_isolated_mask) argument
151 #define cpu_isolated(cpu) 0U argument
156 static inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits) in cpu_max_bits_warn()
164 static inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check()
208 static inline unsigned int cpumask_any_but(const struct cpumask *mask, in cpumask_any_but()
224 #define for_each_cpu(cpu, mask) \ argument
226 #define for_each_cpu_not(cpu, mask) \ argument
228 #define for_each_cpu_wrap(cpu, mask, start) \ argument
230 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
285 #define for_each_cpu(cpu, mask) \ argument
297 #define for_each_cpu_not(cpu, mask) \ argument
314 #define for_each_cpu_wrap(cpu, mask, start) \ argument
333 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
354 static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu()
359 static inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu()
370 static inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu()
375 static inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu()
387 static inline int cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu()
401 static inline int cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_set_cpu()
415 static inline int cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_clear_cpu()
655 #define cpumask_of(cpu) (get_cpu_mask(cpu)) argument
833 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) argument
834 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) argument
835 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask) argument
837 #define for_each_isolated_cpu(cpu) for_each_cpu((cpu), cpu_isolated_mask) argument
851 set_cpu_possible(unsigned int cpu, bool possible) in set_cpu_possible()
860 set_cpu_present(unsigned int cpu, bool present) in set_cpu_present()
871 set_cpu_active(unsigned int cpu, bool active) in set_cpu_active()
881 set_cpu_isolated(unsigned int cpu, bool isolated) in set_cpu_isolated()
919 static inline const struct cpumask *get_cpu_mask(unsigned int cpu) in get_cpu_mask()
926 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) argument