Lines Matching defs:cpu
29 #define topology_physical_package_id(cpu) (cpu_topology[cpu].socket_id) argument
30 #define topology_thread_id(cpu) (cpu_topology[cpu].thread_id) argument
31 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_mask) argument
32 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) argument
33 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_mask) argument
34 #define topology_book_id(cpu) (cpu_topology[cpu].book_id) argument
35 #define topology_book_cpumask(cpu) (&cpu_topology[cpu].book_mask) argument
36 #define topology_drawer_id(cpu) (cpu_topology[cpu].drawer_id) argument
37 #define topology_drawer_cpumask(cpu) (&cpu_topology[cpu].drawer_mask) argument
38 #define topology_cpu_dedicated(cpu) (cpu_topology[cpu].dedicated) argument
39 #define topology_booted_cores(cpu) (cpu_topology[cpu].booted_cores) argument
56 static inline int topology_cpu_init(struct cpu *cpu) { return 0; } in topology_cpu_init()
75 static inline int cpu_to_node(int cpu) in cpu_to_node()