/linux-6.12.1/include/linux/ |
D | topology.h | 94 static inline int cpu_to_node(int cpu) in cpu_to_node() 108 static inline void set_cpu_numa_node(int cpu, int node) in set_cpu_numa_node() 151 static inline int cpu_to_mem(int cpu) in cpu_to_mem() 158 static inline void set_cpu_numa_mem(int cpu, int node) in set_cpu_numa_mem() 175 static inline int cpu_to_mem(int cpu) in cpu_to_mem() 197 #define topology_physical_package_id(cpu) ((void)(cpu), -1) argument 200 #define topology_die_id(cpu) ((void)(cpu), -1) argument 203 #define topology_cluster_id(cpu) ((void)(cpu), -1) argument 206 #define topology_core_id(cpu) ((void)(cpu), 0) argument 209 #define topology_book_id(cpu) ((void)(cpu), -1) argument [all …]
|
D | cpumask.h | 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() 294 #define for_each_cpu(cpu, mask) \ argument 328 #define for_each_cpu_wrap(cpu, mask, start) \ argument 345 #define for_each_cpu_and(cpu, mask1, mask2) \ argument 363 #define for_each_cpu_andnot(cpu, mask1, mask2) \ argument 380 #define for_each_cpu_or(cpu, mask1, mask2) \ argument 390 #define for_each_cpu_from(cpu, mask) \ argument 402 unsigned int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but() 422 unsigned int cpumask_any_and_but(const struct cpumask *mask1, in cpumask_any_and_but() [all …]
|
D | arch_topology.h | 19 static inline unsigned long topology_get_cpu_scale(int cpu) in topology_get_cpu_scale() 28 static inline unsigned long topology_get_freq_ref(int cpu) in topology_get_freq_ref() 35 static inline unsigned long topology_get_freq_scale(int cpu) in topology_get_freq_scale() 61 static inline unsigned long topology_get_hw_pressure(int cpu) in topology_get_hw_pressure() 83 #define topology_physical_package_id(cpu) (cpu_topology[cpu].package_id) argument 84 #define topology_cluster_id(cpu) (cpu_topology[cpu].cluster_id) argument 85 #define topology_core_id(cpu) (cpu_topology[cpu].core_id) argument 86 #define topology_core_cpumask(cpu) (&cpu_topology[cpu].core_sibling) argument 87 #define topology_sibling_cpumask(cpu) (&cpu_topology[cpu].thread_sibling) argument 88 #define topology_cluster_cpumask(cpu) (&cpu_topology[cpu].cluster_sibling) argument [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | topology.h | 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 [all …]
|
D | smp.h | 98 static inline int get_hard_smp_processor_id(int cpu) in get_hard_smp_processor_id() 103 static inline void set_hard_smp_processor_id(int cpu, int phys) in set_hard_smp_processor_id() 114 static inline struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask() 119 static inline struct cpumask *cpu_core_mask(int cpu) in cpu_core_mask() 124 static inline struct cpumask *cpu_l2_cache_mask(int cpu) in cpu_l2_cache_mask() 129 static inline struct cpumask *cpu_smallcore_mask(int cpu) in cpu_smallcore_mask() 142 static inline const struct cpumask *cpu_smt_mask(int cpu) in cpu_smt_mask() 194 static inline const struct cpumask *cpu_sibling_mask(int cpu) in cpu_sibling_mask() 199 static inline const struct cpumask *cpu_smallcore_mask(int cpu) in cpu_smallcore_mask() 204 static inline const struct cpumask *cpu_l2_cache_mask(int cpu) in cpu_l2_cache_mask() [all …]
|
/linux-6.12.1/drivers/base/ |
D | cacheinfo.c | 25 #define ci_cacheinfo(cpu) (&per_cpu(ci_cpu_cacheinfo, cpu)) argument 26 #define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves) argument 27 #define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list) argument 28 #define per_cpu_cacheinfo_idx(cpu, idx) \ argument 34 struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu) in get_cpu_cacheinfo() 57 bool last_level_cache_is_valid(unsigned int cpu) in last_level_cache_is_valid() 203 static int cache_setup_of_node(unsigned int cpu) in cache_setup_of_node() 277 int init_of_cache_level(unsigned int cpu) in init_of_cache_level() 315 static inline int cache_setup_of_node(unsigned int cpu) { return 0; } in cache_setup_of_node() 316 int init_of_cache_level(unsigned int cpu) { return 0; } in init_of_cache_level() [all …]
|
D | arch_topology.c | 66 int cpu; in topology_set_scale_freq_source() local 97 int cpu; in topology_clear_scale_freq_source() local 159 void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity) in topology_set_cpu_scale() 185 int cpu; in topology_update_hw_pressure() local 213 struct cpu *cpu = container_of(dev, struct cpu, dev); in cpu_capacity_show() local 223 static int cpu_capacity_sysctl_add(unsigned int cpu) in cpu_capacity_sysctl_add() 235 static int cpu_capacity_sysctl_remove(unsigned int cpu) in cpu_capacity_sysctl_remove() 289 int cpu; in topology_normalize_cpu_scale() local 311 bool __init topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu) in topology_parse_cpu_capacity() 362 void __weak freq_inv_set_max_ratio(int cpu, u64 max_rate) in freq_inv_set_max_ratio() [all …]
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | smp.c | 277 void smp_muxed_ipi_set_message(int cpu, int msg) in smp_muxed_ipi_set_message() 289 void smp_muxed_ipi_message_pass(int cpu, int msg) in smp_muxed_ipi_message_pass() 351 static inline void do_message_pass(int cpu, int msg) in do_message_pass() 361 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 368 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 375 unsigned int cpu; in arch_send_call_function_ipi_mask() local 469 static void do_smp_send_nmi_ipi(int cpu, bool safe) in do_smp_send_nmi_ipi() 493 static int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), in __smp_send_nmi_ipi() 558 int smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us) in smp_send_nmi_ipi() 563 int smp_send_safe_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us) in smp_send_safe_nmi_ipi() [all …]
|
D | watchdog.c | 148 int cpu = raw_smp_processor_id(); in wd_lockup_ipi() local 182 static bool set_cpu_stuck(int cpu) in set_cpu_stuck() 200 static void watchdog_smp_panic(int cpu) in watchdog_smp_panic() 263 static void wd_smp_clear_cpu_pending(int cpu) in wd_smp_clear_cpu_pending() 346 static void watchdog_timer_interrupt(int cpu) in watchdog_timer_interrupt() 372 int cpu = raw_smp_processor_id(); in DEFINE_INTERRUPT_HANDLER_NMI() local 439 int cpu = smp_processor_id(); in watchdog_timer_fn() local 457 int cpu = smp_processor_id(); in arch_touch_nmi_watchdog() local 474 int cpu = smp_processor_id(); in start_watchdog() local 504 static int start_watchdog_on_cpu(unsigned int cpu) in start_watchdog_on_cpu() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/cell/ |
D | pmu.c | 62 u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr) in cbe_read_phys_ctr() 81 void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in cbe_write_phys_ctr() 114 u32 cbe_read_ctr(u32 cpu, u32 ctr) in cbe_read_ctr() 128 void cbe_write_ctr(u32 cpu, u32 ctr, u32 val) in cbe_write_ctr() 153 u32 cbe_read_pm07_control(u32 cpu, u32 ctr) in cbe_read_pm07_control() 164 void cbe_write_pm07_control(u32 cpu, u32 ctr, u32 val) in cbe_write_pm07_control() 175 u32 cbe_read_pm(u32 cpu, enum pm_reg_name reg) in cbe_read_pm() 217 void cbe_write_pm(u32 cpu, enum pm_reg_name reg, u32 val) in cbe_write_pm() 259 u32 cbe_get_ctr_size(u32 cpu, u32 phys_ctr) in cbe_get_ctr_size() 272 void cbe_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size) in cbe_set_ctr_size() [all …]
|
/linux-6.12.1/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 58 unsigned int cpu, nr_cpus; in proc_cpufreq_output() local 126 static int get_boost_mode_x86(unsigned int cpu) in get_boost_mode_x86() 210 static int get_boost_mode(unsigned int cpu) in get_boost_mode() 237 static int get_freq_kernel(unsigned int cpu, unsigned int human) in get_freq_kernel() 256 static int get_freq_hardware(unsigned int cpu, unsigned int human) in get_freq_hardware() 274 static int get_hardware_limits(unsigned int cpu, unsigned int human) in get_hardware_limits() 297 static int get_driver(unsigned int cpu) in get_driver() 311 static int get_policy(unsigned int cpu) in get_policy() 333 static int get_available_governors(unsigned int cpu) in get_available_governors() 356 static int get_affected_cpus(unsigned int cpu) in get_affected_cpus() [all …]
|
/linux-6.12.1/arch/arm64/kernel/ |
D | smp.c | 96 static inline int op_cpu_kill(unsigned int cpu) in op_cpu_kill() 107 static int boot_secondary(unsigned int cpu, struct task_struct *idle) in boot_secondary() 119 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() 208 unsigned int cpu = smp_processor_id(); in secondary_start_kernel() local 283 static int op_cpu_disable(unsigned int cpu) in op_cpu_disable() 309 unsigned int cpu = smp_processor_id(); in __cpu_disable() local 334 static int op_cpu_kill(unsigned int cpu) in op_cpu_kill() 353 void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) in arch_cpuhp_cleanup_dead_cpu() 376 unsigned int cpu = smp_processor_id(); in cpu_die() local 397 static void __cpu_try_die(int cpu) in __cpu_try_die() [all …]
|
/linux-6.12.1/arch/arm/mach-bcm/ |
D | platsmp-brcmstb.c | 59 static int per_cpu_sw_state_rd(u32 cpu) in per_cpu_sw_state_rd() 65 static void per_cpu_sw_state_wr(u32 cpu, int val) in per_cpu_sw_state_wr() 72 static inline void per_cpu_sw_state_wr(u32 cpu, int val) { } in per_cpu_sw_state_wr() 75 static void __iomem *pwr_ctrl_get_base(u32 cpu) in pwr_ctrl_get_base() 82 static u32 pwr_ctrl_rd(u32 cpu) in pwr_ctrl_rd() 88 static void pwr_ctrl_set(unsigned int cpu, u32 val, u32 mask) in pwr_ctrl_set() 94 static void pwr_ctrl_clr(unsigned int cpu, u32 val, u32 mask) in pwr_ctrl_clr() 101 static int pwr_ctrl_wait_tmout(unsigned int cpu, u32 set, u32 mask) in pwr_ctrl_wait_tmout() 119 static void cpu_rst_cfg_set(u32 cpu, int set) in cpu_rst_cfg_set() 130 static void cpu_set_boot_addr(u32 cpu, unsigned long boot_addr) in cpu_set_boot_addr() [all …]
|
/linux-6.12.1/arch/mips/loongson64/ |
D | smp.c | 44 static void csr_mail_send(uint64_t data, int cpu, int mailbox) in csr_mail_send() 63 static u32 csr_ipi_read_clear(int cpu) in csr_ipi_read_clear() 75 static void csr_ipi_write_action(int cpu, u32 action) in csr_ipi_write_action() 88 static void csr_ipi_write_enable(int cpu) in csr_ipi_write_enable() 93 static void csr_ipi_clear_buf(int cpu) in csr_ipi_clear_buf() 98 static void csr_ipi_write_buf(int cpu, struct task_struct *idle) in csr_ipi_write_buf() 117 static u32 legacy_ipi_read_clear(int cpu) in legacy_ipi_read_clear() 130 static void legacy_ipi_write_action(int cpu, u32 action) in legacy_ipi_write_action() 136 static void legacy_ipi_write_enable(int cpu) in legacy_ipi_write_enable() 141 static void legacy_ipi_clear_buf(int cpu) in legacy_ipi_clear_buf() [all …]
|
/linux-6.12.1/arch/x86/include/asm/ |
D | topology.h | 56 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() 94 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() 137 #define topology_logical_package_id(cpu) (cpu_data(cpu).topo.logical_pkg_id) argument 138 #define topology_physical_package_id(cpu) (cpu_data(cpu).topo.pkg_id) argument 139 #define topology_logical_die_id(cpu) (cpu_data(cpu).topo.logical_die_id) argument 140 #define topology_die_id(cpu) (cpu_data(cpu).topo.die_id) argument 141 #define topology_core_id(cpu) (cpu_data(cpu).topo.core_id) argument 142 #define topology_ppin(cpu) (cpu_data(cpu).ppin) argument 144 #define topology_amd_node_id(cpu) (cpu_data(cpu).topo.amd_node_id) argument 182 #define topology_cluster_id(cpu) (cpu_data(cpu).topo.l2c_id) argument [all …]
|
/linux-6.12.1/arch/arm/kernel/ |
D | smp.c | 108 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() 121 static int secondary_biglittle_prepare(unsigned int cpu) in secondary_biglittle_prepare() 131 int __cpu_up(unsigned int cpu, struct task_struct *idle) in __cpu_up() 206 static int platform_cpu_kill(unsigned int cpu) in platform_cpu_kill() 213 static int platform_cpu_disable(unsigned int cpu) in platform_cpu_disable() 221 int platform_can_hotplug_cpu(unsigned int cpu) in platform_can_hotplug_cpu() 238 static void ipi_teardown(int cpu) in ipi_teardown() 254 unsigned int cpu = smp_processor_id(); in __cpu_disable() local 294 void arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) in arch_cpuhp_cleanup_dead_cpu() 320 unsigned int cpu = smp_processor_id(); in arch_cpu_idle_dead() local [all …]
|
/linux-6.12.1/tools/power/cpupower/lib/ |
D | cpufreq.c | 23 static unsigned int sysfs_cpufreq_read_file(unsigned int cpu, const char *fname, in sysfs_cpufreq_read_file() 35 static unsigned int sysfs_cpufreq_write_file(unsigned int cpu, in sysfs_cpufreq_write_file() 86 unsigned long cpufreq_get_sysfs_value_from_table(unsigned int cpu, in cpufreq_get_sysfs_value_from_table() 113 static unsigned long sysfs_cpufreq_get_one_value(unsigned int cpu, in sysfs_cpufreq_get_one_value() 135 static char *sysfs_cpufreq_get_one_string(unsigned int cpu, in sysfs_cpufreq_get_one_string() 177 static int sysfs_cpufreq_write_one_value(unsigned int cpu, in sysfs_cpufreq_write_one_value() 191 unsigned long cpufreq_get_freq_kernel(unsigned int cpu) in cpufreq_get_freq_kernel() 196 unsigned long cpufreq_get_freq_hardware(unsigned int cpu) in cpufreq_get_freq_hardware() 201 unsigned long cpufreq_get_transition_latency(unsigned int cpu) in cpufreq_get_transition_latency() 206 int cpufreq_get_hardware_limits(unsigned int cpu, in cpufreq_get_hardware_limits() [all …]
|
/linux-6.12.1/kernel/ |
D | smpboot.c | 30 struct task_struct *idle_thread_get(unsigned int cpu) in idle_thread_get() 50 static __always_inline void idle_init(unsigned int cpu) in idle_init() 68 unsigned int cpu, boot_cpu; in idle_threads_init() local 85 unsigned int cpu; member 170 __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in __smpboot_create_thread() 213 int smpboot_create_threads(unsigned int cpu) in smpboot_create_threads() 228 static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_unpark_thread() 236 int smpboot_unpark_threads(unsigned int cpu) in smpboot_unpark_threads() 247 static void smpboot_park_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_park_thread() 255 int smpboot_park_threads(unsigned int cpu) in smpboot_park_threads() [all …]
|
D | cpu.c | 169 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback() 308 static bool cpuhp_wait_for_sync_state(unsigned int cpu, enum cpuhp_sync_state state, in cpuhp_wait_for_sync_state() 354 void __weak arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) { } in arch_cpuhp_cleanup_dead_cpu() 360 static void cpuhp_bp_sync_dead(unsigned int cpu) in cpuhp_bp_sync_dead() 381 static inline void cpuhp_bp_sync_dead(unsigned int cpu) { } in cpuhp_bp_sync_dead() 402 static bool cpuhp_can_boot_ap(unsigned int cpu) in cpuhp_can_boot_ap() 430 void __weak arch_cpuhp_cleanup_kick_cpu(unsigned int cpu) { } in arch_cpuhp_cleanup_kick_cpu() 436 static int cpuhp_bp_sync_alive(unsigned int cpu) in cpuhp_bp_sync_alive() 453 static inline int cpuhp_bp_sync_alive(unsigned int cpu) { return 0; } in cpuhp_bp_sync_alive() 454 static inline bool cpuhp_can_boot_ap(unsigned int cpu) { return true; } in cpuhp_can_boot_ap() [all …]
|
/linux-6.12.1/arch/s390/kernel/ |
D | smp.c | 173 int cpu; in pcpu_find_address() local 192 static int pcpu_alloc_lowcore(struct pcpu *pcpu, int cpu) in pcpu_alloc_lowcore() 232 static void pcpu_free_lowcore(struct pcpu *pcpu, int cpu) in pcpu_free_lowcore() 251 static void pcpu_prepare_secondary(struct pcpu *pcpu, int cpu) in pcpu_prepare_secondary() 278 static void pcpu_attach_task(int cpu, struct task_struct *tsk) in pcpu_attach_task() 295 static void pcpu_start_fn(int cpu, void (*func)(void *), void *data) in pcpu_start_fn() 317 static void pcpu_delegate(struct pcpu *pcpu, int cpu, in pcpu_delegate() 394 int cpu; in smp_find_processor_id() local 407 bool notrace arch_vcpu_is_preempted(int cpu) in arch_vcpu_is_preempted() 417 void notrace smp_yield_cpu(int cpu) in smp_yield_cpu() [all …]
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | smp.c | 80 unsigned int cpu, i; in show_ipi_list() local 90 static inline void set_cpu_core_map(int cpu) in set_cpu_core_map() 104 static inline void set_cpu_sibling_map(int cpu) in set_cpu_sibling_map() 118 static inline void clear_cpu_sibling_map(int cpu) in clear_cpu_sibling_map() 158 static void csr_mail_send(uint64_t data, int cpu, int mailbox) in csr_mail_send() 177 static u32 ipi_read_clear(int cpu) in ipi_read_clear() 190 static void ipi_write_action(int cpu, u32 action) in ipi_write_action() 199 static void loongson_send_ipi_single(int cpu, unsigned int action) in loongson_send_ipi_single() 217 void arch_smp_send_reschedule(int cpu) in arch_smp_send_reschedule() 233 unsigned int cpu = smp_processor_id(); in loongson_ipi_interrupt() local [all …]
|
/linux-6.12.1/arch/x86/xen/ |
D | smp_pv.c | 59 int cpu; in cpu_bringup() local 96 void xen_smp_intr_free_pv(unsigned int cpu) in xen_smp_intr_free_pv() 113 int xen_smp_intr_init_pv(unsigned int cpu) in xen_smp_intr_init_pv() 186 unsigned cpu; in xen_pv_smp_prepare_cpus() local 225 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() 290 static int xen_pv_kick_ap(unsigned int cpu, struct task_struct *idle) in xen_pv_kick_ap() 327 unsigned int cpu = smp_processor_id(); in xen_pv_cpu_disable() local 337 static void xen_pv_cpu_die(unsigned int cpu) in xen_pv_cpu_die() 345 static void xen_pv_cleanup_dead_cpu(unsigned int cpu) in xen_pv_cleanup_dead_cpu() 367 static void xen_pv_cpu_die(unsigned int cpu) in xen_pv_cpu_die() [all …]
|
/linux-6.12.1/arch/s390/include/asm/ |
D | topology.h | 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 [all …]
|
/linux-6.12.1/arch/x86/mm/ |
D | numa.c | 50 int numa_cpu_node(int cpu) in numa_cpu_node() 68 void numa_set_node(int cpu, int node) in numa_set_node() 90 void numa_clear_node(int cpu) in numa_clear_node() 289 int cpu; in init_cpu_to_node() local 319 void numa_add_cpu(unsigned int cpu) in numa_add_cpu() 324 void numa_remove_cpu(unsigned int cpu) in numa_remove_cpu() 332 int __cpu_to_node(int cpu) in __cpu_to_node() 348 int early_cpu_to_node(int cpu) in early_cpu_to_node() 362 void debug_cpumask_set_cpu(unsigned int cpu, int node, bool enable) in debug_cpumask_set_cpu() 389 static void numa_set_cpumask(int cpu, bool enable) in numa_set_cpumask() [all …]
|
/linux-6.12.1/kernel/time/ |
D | tick-broadcast.c | 47 static inline void tick_broadcast_clear_oneshot(int cpu) { } in tick_broadcast_clear_oneshot() 50 static inline void tick_broadcast_oneshot_offline(unsigned int cpu) { } in tick_broadcast_oneshot_offline() 69 const struct clock_event_device *tick_get_wakeup_device(int cpu) in tick_get_wakeup_device() 102 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) in tick_get_oneshot_wakeup_device() 117 int cpu) in tick_set_oneshot_wakeup_device() 148 static struct clock_event_device *tick_get_oneshot_wakeup_device(int cpu) in tick_get_oneshot_wakeup_device() 154 int cpu) in tick_set_oneshot_wakeup_device() 163 void tick_install_broadcast_device(struct clock_event_device *dev, int cpu) in tick_install_broadcast_device() 247 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast() 348 int cpu = smp_processor_id(); in tick_do_broadcast() local [all …]
|