Lines Matching defs:cpu

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()
662 static inline bool cpu_smt_thread_allowed(unsigned int cpu) in cpu_smt_thread_allowed()
671 static inline bool cpu_bootable(unsigned int cpu) in cpu_bootable()
705 static inline bool cpu_bootable(unsigned int cpu) { return true; } in cpu_bootable()
709 cpuhp_set_state(int cpu, struct cpuhp_cpu_state *st, enum cpuhp_state target) in cpuhp_set_state()
727 cpuhp_reset_state(int cpu, struct cpuhp_cpu_state *st, in cpuhp_reset_state()
776 static int cpuhp_kick_ap(int cpu, struct cpuhp_cpu_state *st, in cpuhp_kick_ap()
792 static int bringup_wait_for_ap_online(unsigned int cpu) in bringup_wait_for_ap_online()
817 static int cpuhp_kick_ap_alive(unsigned int cpu) in cpuhp_kick_ap_alive()
825 static int cpuhp_bringup_ap(unsigned int cpu) in cpuhp_bringup_ap()
857 static int bringup_cpu(unsigned int cpu) in bringup_cpu()
902 static int finish_cpu(unsigned int cpu) in finish_cpu()
954 unsigned int cpu, in __cpuhp_invoke_callback_range()
985 unsigned int cpu, in cpuhp_invoke_callback_range()
993 unsigned int cpu, in cpuhp_invoke_callback_range_nofail()
1014 static int cpuhp_up_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st, in cpuhp_up_callbacks()
1037 static int cpuhp_should_run(unsigned int cpu) in cpuhp_should_run()
1058 static void cpuhp_thread_fun(unsigned int cpu) in cpuhp_thread_fun()
1125 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_invoke_ap_callback()
1175 static int cpuhp_kick_ap_work(unsigned int cpu) in cpuhp_kick_ap_work()
1205 int cpu; in cpuhp_init_state() local
1223 #define arch_clear_mm_cpumask_cpu(cpu, mm) cpumask_clear_cpu(cpu, mm_cpumask(mm)) argument
1238 void clear_tasks_mm_cpumask(int cpu) in clear_tasks_mm_cpumask()
1272 int err, cpu = smp_processor_id(); in take_cpu_down() local
1295 static int takedown_cpu(unsigned int cpu) in takedown_cpu()
1376 static int cpuhp_down_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st, in cpuhp_down_callbacks()
1399 static int __ref _cpu_down(unsigned int cpu, int tasks_frozen, in _cpu_down()
1465 unsigned int cpu; member
1476 static int cpu_down_maps_locked(unsigned int cpu, enum cpuhp_state target) in cpu_down_maps_locked()
1502 static int cpu_down(unsigned int cpu, enum cpuhp_state target) in cpu_down()
1527 int remove_cpu(unsigned int cpu) in remove_cpu()
1541 unsigned int cpu; in smp_shutdown_nonboot_cpus() local
1592 void notify_cpu_starting(unsigned int cpu) in notify_cpu_starting()
1632 static int _cpu_up(unsigned int cpu, int tasks_frozen, enum cpuhp_state target) in _cpu_up()
1697 static int cpu_up(unsigned int cpu, enum cpuhp_state target) in cpu_up()
1743 int add_cpu(unsigned int cpu) in add_cpu()
1783 unsigned int cpu; in cpuhp_bringup_mask() local
1904 int cpu, error = 0; in freeze_secondary_cpus() local
1970 int cpu, error; in thaw_secondary_cpus() local
2310 int (*startup)(unsigned int cpu), in cpuhp_store_callbacks()
2311 int (*teardown)(unsigned int cpu), in cpuhp_store_callbacks()
2355 static int cpuhp_issue_call(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_issue_call()
2391 int cpu; in cpuhp_rollback_install() local
2412 int cpu; in __cpuhp_state_add_instance_cpuslocked() local
2484 int (*startup)(unsigned int cpu), in __cpuhp_setup_state_cpuslocked()
2485 int (*teardown)(unsigned int cpu), in __cpuhp_setup_state_cpuslocked()
2488 int cpu, ret = 0; in __cpuhp_setup_state_cpuslocked() local
2543 int (*startup)(unsigned int cpu), in __cpuhp_setup_state()
2544 int (*teardown)(unsigned int cpu), in __cpuhp_setup_state()
2561 int cpu; in __cpuhp_state_remove_instance() local
2608 int cpu; in __cpuhp_remove_state_cpuslocked() local
2652 static void cpuhp_offline_cpu_device(unsigned int cpu) in cpuhp_offline_cpu_device()
2661 static void cpuhp_online_cpu_device(unsigned int cpu) in cpuhp_online_cpu_device()
2672 int cpu, ret = 0; in cpuhp_smt_disable() local
2710 static inline bool topology_is_core_online(unsigned int cpu) in topology_is_core_online()
2718 int cpu, ret = 0; in cpuhp_smt_enable() local
3042 int cpu, ret; in cpuhp_sysfs_init() local
3139 void set_cpu_online(unsigned int cpu, bool online) in set_cpu_online()
3165 int cpu = smp_processor_id(); in boot_cpu_init() local