Lines Matching defs:cpu

140 static __always_inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)  in cpu_max_bits_warn()
148 static __always_inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check()
281 #define for_each_cpu(cpu, mask) \ argument
315 #define for_each_cpu_wrap(cpu, mask, start) \ argument
332 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
350 #define for_each_cpu_andnot(cpu, mask1, mask2) \ argument
367 #define for_each_cpu_or(cpu, mask1, mask2) \ argument
379 unsigned int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but()
397 static inline unsigned int cpumask_nth(unsigned int cpu, const struct cpumask *srcp) in cpumask_nth()
411 unsigned int cpumask_nth_and(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_and()
427 unsigned int cpumask_nth_andnot(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_andnot()
444 unsigned int cpumask_nth_and_andnot(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_and_andnot()
469 static __always_inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu()
474 static __always_inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu()
485 static __always_inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu()
490 static __always_inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu()
502 static __always_inline bool cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu()
516 static __always_inline bool cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_set_cpu()
530 static __always_inline bool cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_clear_cpu()
780 #define cpumask_of(cpu) (get_cpu_mask(cpu)) argument
990 #define for_each_possible_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
991 #define for_each_online_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
992 #define for_each_present_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
994 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) argument
995 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) argument
996 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask) argument
1010 set_cpu_possible(unsigned int cpu, bool possible) in set_cpu_possible()
1019 set_cpu_present(unsigned int cpu, bool present) in set_cpu_present()
1030 set_cpu_active(unsigned int cpu, bool active) in set_cpu_active()
1039 set_cpu_dying(unsigned int cpu, bool dying) in set_cpu_dying()
1076 static inline const struct cpumask *get_cpu_mask(unsigned int cpu) in get_cpu_mask()
1102 static inline bool cpu_online(unsigned int cpu) in cpu_online()
1107 static inline bool cpu_possible(unsigned int cpu) in cpu_possible()
1112 static inline bool cpu_present(unsigned int cpu) in cpu_present()
1117 static inline bool cpu_active(unsigned int cpu) in cpu_active()
1122 static inline bool cpu_dying(unsigned int cpu) in cpu_dying()
1134 static inline bool cpu_online(unsigned int cpu) in cpu_online()
1139 static inline bool cpu_possible(unsigned int cpu) in cpu_possible()
1144 static inline bool cpu_present(unsigned int cpu) in cpu_present()
1149 static inline bool cpu_active(unsigned int cpu) in cpu_active()
1154 static inline bool cpu_dying(unsigned int cpu) in cpu_dying()
1161 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) argument