Lines Matching defs:cpu
170 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback()
309 static bool cpuhp_wait_for_sync_state(unsigned int cpu, enum cpuhp_sync_state state, in cpuhp_wait_for_sync_state()
355 void __weak arch_cpuhp_cleanup_dead_cpu(unsigned int cpu) { } in arch_cpuhp_cleanup_dead_cpu()
361 static void cpuhp_bp_sync_dead(unsigned int cpu) in cpuhp_bp_sync_dead()
382 static inline void cpuhp_bp_sync_dead(unsigned int cpu) { } in cpuhp_bp_sync_dead()
403 static bool cpuhp_can_boot_ap(unsigned int cpu) in cpuhp_can_boot_ap()
431 void __weak arch_cpuhp_cleanup_kick_cpu(unsigned int cpu) { } in arch_cpuhp_cleanup_kick_cpu()
437 static int cpuhp_bp_sync_alive(unsigned int cpu) in cpuhp_bp_sync_alive()
454 static inline int cpuhp_bp_sync_alive(unsigned int cpu) { return 0; } in cpuhp_bp_sync_alive()
455 static inline bool cpuhp_can_boot_ap(unsigned int cpu) { return true; } in cpuhp_can_boot_ap()
653 static inline bool cpu_smt_thread_allowed(unsigned int cpu) in cpu_smt_thread_allowed()
662 static inline bool cpu_bootable(unsigned int cpu) in cpu_bootable()
696 static inline bool cpu_bootable(unsigned int cpu) { return true; } in cpu_bootable()
700 cpuhp_set_state(int cpu, struct cpuhp_cpu_state *st, enum cpuhp_state target) in cpuhp_set_state()
718 cpuhp_reset_state(int cpu, struct cpuhp_cpu_state *st, in cpuhp_reset_state()
767 static int cpuhp_kick_ap(int cpu, struct cpuhp_cpu_state *st, in cpuhp_kick_ap()
783 static int bringup_wait_for_ap_online(unsigned int cpu) in bringup_wait_for_ap_online()
808 static int cpuhp_kick_ap_alive(unsigned int cpu) in cpuhp_kick_ap_alive()
816 static int cpuhp_bringup_ap(unsigned int cpu) in cpuhp_bringup_ap()
848 static int bringup_cpu(unsigned int cpu) in bringup_cpu()
893 static int finish_cpu(unsigned int cpu) in finish_cpu()
945 unsigned int cpu, in __cpuhp_invoke_callback_range()
976 unsigned int cpu, in cpuhp_invoke_callback_range()
984 unsigned int cpu, in cpuhp_invoke_callback_range_nofail()
1005 static int cpuhp_up_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st, in cpuhp_up_callbacks()
1028 static int cpuhp_should_run(unsigned int cpu) in cpuhp_should_run()
1049 static void cpuhp_thread_fun(unsigned int cpu) in cpuhp_thread_fun()
1116 cpuhp_invoke_ap_callback(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_invoke_ap_callback()
1166 static int cpuhp_kick_ap_work(unsigned int cpu) in cpuhp_kick_ap_work()
1196 int cpu; in cpuhp_init_state() local
1260 #define arch_clear_mm_cpumask_cpu(cpu, mm) cpumask_clear_cpu(cpu, mm_cpumask(mm)) argument
1275 void clear_tasks_mm_cpumask(int cpu) in clear_tasks_mm_cpumask()
1309 int err, cpu = smp_processor_id(); in take_cpu_down() local
1336 static int takedown_cpu(unsigned int cpu) in takedown_cpu()
1409 static int cpuhp_down_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st, in cpuhp_down_callbacks()
1432 static int __ref _cpu_down(unsigned int cpu, int tasks_frozen, in _cpu_down()
1499 unsigned int cpu; member
1510 static int cpu_down_maps_locked(unsigned int cpu, enum cpuhp_state target) in cpu_down_maps_locked()
1536 static int cpu_down(unsigned int cpu, enum cpuhp_state target) in cpu_down()
1561 int remove_cpu(unsigned int cpu) in remove_cpu()
1575 unsigned int cpu; in smp_shutdown_nonboot_cpus() local
1626 void notify_cpu_starting(unsigned int cpu) in notify_cpu_starting()
1666 static int _cpu_up(unsigned int cpu, int tasks_frozen, enum cpuhp_state target) in _cpu_up()
1732 static int cpu_up(unsigned int cpu, enum cpuhp_state target) in cpu_up()
1781 int add_cpu(unsigned int cpu) in add_cpu()
1821 unsigned int cpu; in cpuhp_bringup_mask() local
1923 int cpu, error = 0; in freeze_secondary_cpus() local
1989 int cpu, error; in thaw_secondary_cpus() local
2330 int (*startup)(unsigned int cpu), in cpuhp_store_callbacks()
2331 int (*teardown)(unsigned int cpu), in cpuhp_store_callbacks()
2375 static int cpuhp_issue_call(int cpu, enum cpuhp_state state, bool bringup, in cpuhp_issue_call()
2411 int cpu; in cpuhp_rollback_install() local
2432 int cpu; in __cpuhp_state_add_instance_cpuslocked() local
2504 int (*startup)(unsigned int cpu), in __cpuhp_setup_state_cpuslocked()
2505 int (*teardown)(unsigned int cpu), in __cpuhp_setup_state_cpuslocked()
2508 int cpu, ret = 0; in __cpuhp_setup_state_cpuslocked() local
2563 int (*startup)(unsigned int cpu), in __cpuhp_setup_state()
2564 int (*teardown)(unsigned int cpu), in __cpuhp_setup_state()
2581 int cpu; in __cpuhp_state_remove_instance() local
2628 int cpu; in __cpuhp_remove_state_cpuslocked() local
2672 static void cpuhp_offline_cpu_device(unsigned int cpu) in cpuhp_offline_cpu_device()
2681 static void cpuhp_online_cpu_device(unsigned int cpu) in cpuhp_online_cpu_device()
2692 int cpu, ret = 0; in cpuhp_smt_disable() local
2730 int cpu, ret = 0; in cpuhp_smt_enable() local
3054 int cpu, ret; in cpuhp_sysfs_init() local
3148 void set_cpu_online(unsigned int cpu, bool online) in set_cpu_online()
3174 int cpu = smp_processor_id(); in boot_cpu_init() local