Lines Matching defs:cpu
48 static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) in update_numa_cpu_lookup_table()
53 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node()
76 static inline int early_cpu_to_node(int cpu) { return 0; } in early_cpu_to_node()
90 static inline void update_numa_cpu_lookup_table(unsigned int cpu, int node) {} in update_numa_cpu_lookup_table()
105 static inline void map_cpu_to_node(int cpu, int node) {} in map_cpu_to_node()
107 static inline void unmap_cpu_from_node(unsigned long cpu) {} in unmap_cpu_from_node()
117 static inline void find_and_update_cpu_nid(int cpu) {} in find_and_update_cpu_nid()
118 static inline int cpu_to_coregroup_id(int cpu) in cpu_to_coregroup_id()
137 #define topology_physical_package_id(cpu) (cpu_to_chip_id(cpu)) argument
139 #define topology_sibling_cpumask(cpu) (per_cpu(cpu_sibling_map, cpu)) argument
140 #define topology_core_cpumask(cpu) (per_cpu(cpu_core_map, cpu)) argument
141 #define topology_core_id(cpu) (cpu_to_core_id(cpu)) argument
150 static inline bool topology_is_primary_thread(unsigned int cpu) in topology_is_primary_thread()
155 static inline bool topology_smt_thread_allowed(unsigned int cpu) in topology_smt_thread_allowed()