Lines Matching defs:cpu

132 static __always_inline void cpu_max_bits_warn(unsigned int cpu, unsigned int bits)  in cpu_max_bits_warn()
140 static __always_inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check()
332 #define for_each_cpu(cpu, mask) \ argument
345 #define for_each_cpu_wrap(cpu, mask, start) \ argument
362 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
380 #define for_each_cpu_andnot(cpu, mask1, mask2) \ argument
397 #define for_each_cpu_or(cpu, mask1, mask2) \ argument
407 #define for_each_cpu_from(cpu, mask) \ argument
419 unsigned int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but()
439 unsigned int cpumask_any_and_but(const struct cpumask *mask1, in cpumask_any_and_but()
461 unsigned int cpumask_nth(unsigned int cpu, const struct cpumask *srcp) in cpumask_nth()
475 unsigned int cpumask_nth_and(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_and()
491 unsigned int cpumask_nth_andnot(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_andnot()
508 unsigned int cpumask_nth_and_andnot(unsigned int cpu, const struct cpumask *srcp1, in cpumask_nth_and_andnot()
534 void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu()
540 void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu()
551 static __always_inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu()
556 static __always_inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu()
567 static __always_inline void cpumask_assign_cpu(int cpu, struct cpumask *dstp, bool value) in cpumask_assign_cpu()
572 static __always_inline void __cpumask_assign_cpu(int cpu, struct cpumask *dstp, bool value) in __cpumask_assign_cpu()
585 bool cpumask_test_cpu(int cpu, const struct cpumask *cpumask) in cpumask_test_cpu()
600 bool cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_set_cpu()
615 bool cpumask_test_and_clear_cpu(int cpu, struct cpumask *cpumask) in cpumask_test_and_clear_cpu()
880 #define cpumask_of(cpu) (get_cpu_mask(cpu)) argument
1050 #define for_each_possible_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
1051 #define for_each_online_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
1052 #define for_each_present_cpu(cpu) for ((cpu) = 0; (cpu) < 1; (cpu)++) argument
1054 #define for_each_possible_cpu_wrap(cpu, start) \ argument
1056 #define for_each_online_cpu_wrap(cpu, start) \ argument
1059 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask) argument
1060 #define for_each_online_cpu(cpu) for_each_cpu((cpu), cpu_online_mask) argument
1061 #define for_each_enabled_cpu(cpu) for_each_cpu((cpu), cpu_enabled_mask) argument
1062 #define for_each_present_cpu(cpu) for_each_cpu((cpu), cpu_present_mask) argument
1064 #define for_each_possible_cpu_wrap(cpu, start) \ argument
1066 #define for_each_online_cpu_wrap(cpu, start) \ argument
1074 #define assign_cpu(cpu, mask, val) \ argument
1077 #define set_cpu_possible(cpu, possible) assign_cpu((cpu), &__cpu_possible_mask, (possible)) argument
1078 #define set_cpu_enabled(cpu, enabled) assign_cpu((cpu), &__cpu_enabled_mask, (enabled)) argument
1079 #define set_cpu_present(cpu, present) assign_cpu((cpu), &__cpu_present_mask, (present)) argument
1080 #define set_cpu_active(cpu, active) assign_cpu((cpu), &__cpu_active_mask, (active)) argument
1081 #define set_cpu_dying(cpu, dying) assign_cpu((cpu), &__cpu_dying_mask, (dying)) argument
1114 static __always_inline const struct cpumask *get_cpu_mask(unsigned int cpu) in get_cpu_mask()
1141 static __always_inline bool cpu_online(unsigned int cpu) in cpu_online()
1146 static __always_inline bool cpu_enabled(unsigned int cpu) in cpu_enabled()
1151 static __always_inline bool cpu_possible(unsigned int cpu) in cpu_possible()
1156 static __always_inline bool cpu_present(unsigned int cpu) in cpu_present()
1161 static __always_inline bool cpu_active(unsigned int cpu) in cpu_active()
1166 static __always_inline bool cpu_dying(unsigned int cpu) in cpu_dying()
1179 static __always_inline bool cpu_online(unsigned int cpu) in cpu_online()
1184 static __always_inline bool cpu_possible(unsigned int cpu) in cpu_possible()
1189 static __always_inline bool cpu_enabled(unsigned int cpu) in cpu_enabled()
1194 static __always_inline bool cpu_present(unsigned int cpu) in cpu_present()
1199 static __always_inline bool cpu_active(unsigned int cpu) in cpu_active()
1204 static __always_inline bool cpu_dying(unsigned int cpu) in cpu_dying()
1211 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) argument