Lines Matching defs:cpu
107 static __always_inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits) in cpu_max_bits_warn()
115 static __always_inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check()
248 #define for_each_cpu(cpu, mask) \ argument
258 #define for_each_cpu_not(cpu, mask) \ argument
292 #define for_each_cpu_wrap(cpu, mask, start) \ argument
309 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
327 #define for_each_cpu_andnot(cpu, mask1, mask2) \ argument
339 unsigned int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but()
357 static inline unsigned int cpumask_nth(unsigned int cpu, const struct cpumask *srcp) in cpumask_nth()
371 unsigned int cpumask_nth_and(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_and()
387 unsigned int cpumask_nth_andnot(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_andnot()
409 static __always_inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu()
414 static __always_inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu()
425 static __always_inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu()
430 static __always_inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu()
442 static __always_inline bool cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu()
456 static __always_inline bool cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_set_cpu()
470 static __always_inline bool cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_clear_cpu()
712 #define cpumask_of(cpu) (get_cpu_mask(cpu)) argument
918 #define for_each_possible_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
919 #define for_each_online_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
920 #define for_each_present_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
922 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) argument
923 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) argument
924 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask) argument
938 set_cpu_possible(unsigned int cpu, bool possible) in set_cpu_possible()
947 set_cpu_present(unsigned int cpu, bool present) in set_cpu_present()
958 set_cpu_active(unsigned int cpu, bool active) in set_cpu_active()
967 set_cpu_dying(unsigned int cpu, bool dying) in set_cpu_dying()
1004 static inline const struct cpumask *get_cpu_mask(unsigned int cpu) in get_cpu_mask()
1028 static inline bool cpu_online(unsigned int cpu) in cpu_online()
1033 static inline bool cpu_possible(unsigned int cpu) in cpu_possible()
1038 static inline bool cpu_present(unsigned int cpu) in cpu_present()
1043 static inline bool cpu_active(unsigned int cpu) in cpu_active()
1048 static inline bool cpu_dying(unsigned int cpu) in cpu_dying()
1060 static inline bool cpu_online(unsigned int cpu) in cpu_online()
1065 static inline bool cpu_possible(unsigned int cpu) in cpu_possible()
1070 static inline bool cpu_present(unsigned int cpu) in cpu_present()
1075 static inline bool cpu_active(unsigned int cpu) in cpu_active()
1080 static inline bool cpu_dying(unsigned int cpu) in cpu_dying()
1087 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) argument