Lines Matching defs:cpu
21 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) argument
22 #define cpu_clear(cpu, dst) __cpu_clear((cpu), &(dst)) argument
25 #define cpu_isset(cpu, cpumask) test_bit((cpu), (cpumask).bits) argument
26 #define cpu_test_and_set(cpu, cpumask) __cpu_test_and_set((cpu), &(cpumask)) argument
42 #define cpumask_of_cpu(cpu) ({ typeof(_unused_cpumask_arg_) m; if (sizeof(m) == sizeof(unsigne… argument
59 #define for_each_cpu_mask(cpu, mask) for ((cpu) = first_cpu(mask); (cpu) < NR_CPUS; (cpu) = n… argument
61 #define for_each_cpu_mask(cpu, mask) for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) argument
68 #define cpu_online(cpu) cpu_isset((cpu), cpu_online_map) argument
69 #define cpu_possible(cpu) cpu_isset((cpu), cpu_possible_map) argument
70 #define cpu_present(cpu) cpu_isset((cpu), cpu_present_map) argument
75 #define cpu_online(cpu) ((cpu) == 0) argument
76 #define cpu_possible(cpu) ((cpu) == 0) argument
77 #define cpu_present(cpu) ((cpu) == 0) argument
83 #define for_each_possible_cpu(cpu) for_each_cpu_mask((cpu), cpu_possible_map) argument
84 #define for_each_online_cpu(cpu) for_each_cpu_mask((cpu), cpu_online_map) argument
85 #define for_each_present_cpu(cpu) for_each_cpu_mask((cpu), cpu_present_map) argument