Lines Matching refs:cpu
7 struct cpu;
23 #define topology_physical_package_id(cpu) (per_cpu(cpu_topology, cpu).socket_id) argument
24 #define topology_thread_id(cpu) (per_cpu(cpu_topology, cpu).thread_id) argument
25 #define topology_thread_cpumask(cpu) (&per_cpu(cpu_topology, cpu).thread_mask) argument
26 #define topology_core_id(cpu) (per_cpu(cpu_topology, cpu).core_id) argument
27 #define topology_core_cpumask(cpu) (&per_cpu(cpu_topology, cpu).core_mask) argument
28 #define topology_book_id(cpu) (per_cpu(cpu_topology, cpu).book_id) argument
29 #define topology_book_cpumask(cpu) (&per_cpu(cpu_topology, cpu).book_mask) argument
33 int topology_cpu_init(struct cpu *);
38 const struct cpumask *cpu_coregroup_mask(int cpu);
43 static inline int topology_cpu_init(struct cpu *cpu) { return 0; } in topology_cpu_init() argument