/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 | 167 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback() 454 static inline bool cpu_smt_thread_allowed(unsigned int cpu) in cpu_smt_thread_allowed() 463 static inline bool cpu_bootable(unsigned int cpu) in cpu_bootable() 496 static inline bool cpu_bootable(unsigned int cpu) { return true; } in cpu_bootable() 500 cpuhp_set_state(int cpu, struct cpuhp_cpu_state *st, enum cpuhp_state target) in cpuhp_set_state() 518 cpuhp_reset_state(int cpu, struct cpuhp_cpu_state *st, in cpuhp_reset_state() 567 static int cpuhp_kick_ap(int cpu, struct cpuhp_cpu_state *st, in cpuhp_kick_ap() 583 static int bringup_wait_for_ap(unsigned int cpu) in bringup_wait_for_ap() 611 static int bringup_cpu(unsigned int cpu) in bringup_cpu() 637 static int finish_cpu(unsigned int cpu) in finish_cpu() [all …]
|
D | stop_machine.c | 93 static bool cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) in cpu_stop_queue_work() 139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 208 int cpu = smp_processor_id(), err = 0; in multi_cpu_stop() local 385 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 398 unsigned int cpu; in queue_stop_cpus_work() local 476 static int cpu_stop_should_run(unsigned int cpu) in cpu_stop_should_run() 488 static void cpu_stopper_thread(unsigned int cpu) in cpu_stopper_thread() 528 void stop_machine_park(int cpu) in stop_machine_park() 540 static void cpu_stop_create(unsigned int cpu) in cpu_stop_create() 545 static void cpu_stop_park(unsigned int cpu) in cpu_stop_park() [all …]
|
D | smp.c | 101 int smpcfd_prepare_cpu(unsigned int cpu) in smpcfd_prepare_cpu() 123 int smpcfd_dead_cpu(unsigned int cpu) in smpcfd_dead_cpu() 133 int smpcfd_dying_cpu(unsigned int cpu) in smpcfd_dying_cpu() 289 static void csd_lock_print_extended(struct __call_single_data *csd, int cpu) in csd_lock_print_extended() 330 int cpu = -1; in csd_lock_wait_toolong() local 427 static void __smp_call_single_queue_debug(int cpu, struct llist_node *node) in __smp_call_single_queue_debug() 482 void __smp_call_single_queue(int cpu, struct llist_node *node) in __smp_call_single_queue() 517 static int generic_exec_single(int cpu, struct __call_single_data *csd) in generic_exec_single() 738 int smp_call_function_single(int cpu, smp_call_func_t func, void *info, in smp_call_function_single() 818 int smp_call_function_single_async(int cpu, struct __call_single_data *csd) in smp_call_function_single_async() [all …]
|
D | watchdog.c | 100 int __weak watchdog_nmi_enable(unsigned int cpu) in watchdog_nmi_enable() 106 void __weak watchdog_nmi_disable(unsigned int cpu) in watchdog_nmi_disable() 291 int cpu; in touch_all_softlockup_watchdogs() local 460 static void watchdog_enable(unsigned int cpu) in watchdog_enable() 486 static void watchdog_disable(unsigned int cpu) in watchdog_disable() 510 int cpu; in softlockup_stop_all() local 529 int cpu; in softlockup_start_all() local 536 int lockup_detector_online_cpu(unsigned int cpu) in lockup_detector_online_cpu() 543 int lockup_detector_offline_cpu(unsigned int cpu) in lockup_detector_offline_cpu()
|
D | watchdog_hld.c | 168 unsigned int cpu = smp_processor_id(); in hardlockup_detector_event_create() local 225 int cpu; in hardlockup_detector_perf_cleanup() local 248 int cpu; in hardlockup_detector_perf_stop() local 267 int cpu; in hardlockup_detector_perf_restart() local
|
D | profile.c | 226 int cpu = smp_processor_id(); in __profile_flip_buffers() local 233 int i, j, cpu; in profile_flip_buffers() local 256 int i, cpu; in profile_discard_flip_buffers() local 272 int i, j, cpu; in do_profile_hits() local 318 static int profile_dead_cpu(unsigned int cpu) in profile_dead_cpu() 336 static int profile_prepare_cpu(unsigned int cpu) in profile_prepare_cpu() 358 static int profile_online_cpu(unsigned int cpu) in profile_online_cpu()
|
D | up.c | 12 int smp_call_function_single(int cpu, void (*func) (void *info), void *info, in smp_call_function_single() 28 int smp_call_function_single_async(int cpu, struct __call_single_data *csd) in smp_call_function_single_async() 58 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) in smp_call_on_cpu()
|
/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 …]
|
D | tick-sched.c | 42 struct tick_sched *tick_get_tick_sched(int cpu) in tick_get_tick_sched() 188 int cpu = smp_processor_id(); in tick_sched_do_timer() local 306 static bool can_stop_full_tick(int cpu, struct tick_sched *ts) in can_stop_full_tick() 354 void tick_nohz_full_kick_cpu(int cpu) in tick_nohz_full_kick_cpu() 364 int cpu; in tick_nohz_kick_task() local 408 int cpu; in tick_nohz_full_kick_all() local 447 void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) in tick_nohz_dep_set_cpu() 470 void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit) in tick_nohz_dep_clear_cpu() 549 bool tick_nohz_cpu_hotpluggable(unsigned int cpu) in tick_nohz_cpu_hotpluggable() 561 static int tick_nohz_cpu_down(unsigned int cpu) in tick_nohz_cpu_down() [all …]
|
D | tick-common.c | 64 struct tick_device *tick_get_device(int cpu) in tick_get_device() 86 static void tick_periodic(int cpu) in tick_periodic() 111 int cpu = smp_processor_id(); in tick_handle_periodic() local 187 int cpu = *(unsigned int *)info; in giveup_do_timer() local 196 int cpu = smp_processor_id(); in tick_take_do_timer_from_boot() local 208 struct clock_event_device *newdev, int cpu, in tick_setup_device() 281 int cpu = smp_processor_id(); in tick_install_replacement() local 290 struct clock_event_device *newdev, int cpu) in tick_check_percpu() 346 int cpu; in tick_check_new_device() local 422 void tick_shutdown(unsigned int cpu) in tick_shutdown()
|
/kernel/cgroup/ |
D | rstat.c | 15 static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu) in cgroup_rstat_cpu() 29 void cgroup_rstat_updated(struct cgroup *cgrp, int cpu) in cgroup_rstat_updated() 92 struct cgroup *root, int cpu) in cgroup_rstat_cpu_pop_updated() 167 struct cgroup *parent, int cpu) in bpf_rstat_flush() 177 int cpu; in cgroup_rstat_flush_locked() local 286 int cpu; in cgroup_rstat_init() local 308 int cpu; in cgroup_rstat_exit() local 327 int cpu; in cgroup_rstat_boot() local 359 static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu) in cgroup_base_stat_flush()
|
/kernel/sched/ |
D | topology.c | 38 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one() 134 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug() 160 # define sched_domain_debug(sd, cpu) do { } while (0) argument 279 static struct perf_domain *find_pd(struct perf_domain *pd, int cpu) in find_pd() 290 static struct perf_domain *pd_init(int cpu) in pd_init() 379 int cpu = cpumask_first(cpu_map); in build_perf_domains() local 666 static void update_top_cache_domain(int cpu) in update_top_cache_domain() 700 cpu_attach_domain(struct sched_domain *sd, struct root_domain *rd, int cpu) in cpu_attach_domain() 928 build_group_from_child_sched_domain(struct sched_domain *sd, int cpu) in build_group_from_child_sched_domain() 957 int cpu; in init_overlap_sched_group() local [all …]
|
D | cpudeadline.c | 124 int cpu, max_cpu = -1; in cpudl_find() local 173 void cpudl_clear(struct cpudl *cp, int cpu) in cpudl_clear() 213 void cpudl_set(struct cpudl *cp, int cpu, u64 dl) in cpudl_set() 244 void cpudl_set_freecpu(struct cpudl *cp, int cpu) in cpudl_set_freecpu() 254 void cpudl_clear_freecpu(struct cpudl *cp, int cpu) in cpudl_clear_freecpu()
|
D | cpuacct.c | 94 static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu, in cpuacct_cpuusage_read() 135 static void cpuacct_cpuusage_write(struct cpuacct *ca, int cpu) in cpuacct_cpuusage_write() 195 int cpu; in cpuusage_write() local 243 int cpu; in cpuacct_all_seq_show() local 265 int cpu; in cpuacct_stats_show() local 336 unsigned int cpu = task_cpu(tsk); in cpuacct_charge() local
|
/kernel/irq/ |
D | cpuhotplug.c | 23 unsigned int cpu = smp_processor_id(); in irq_needs_fixup() local 175 static bool hk_should_isolate(struct irq_data *data, unsigned int cpu) in hk_should_isolate() 189 static void irq_restore_affinity_of_irq(struct irq_desc *desc, unsigned int cpu) in irq_restore_affinity_of_irq() 218 int irq_affinity_online_cpu(unsigned int cpu) in irq_affinity_online_cpu()
|
D | ipi.c | 163 irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu) in ipi_get_hwirq() 189 const struct cpumask *dest, unsigned int cpu) in ipi_send_verify() 227 int __ipi_send_single(struct irq_desc *desc, unsigned int cpu) in __ipi_send_single() 273 unsigned int cpu; in __ipi_send_mask() local 313 int ipi_send_single(unsigned int virq, unsigned int cpu) in ipi_send_single()
|
D | matrix.c | 132 unsigned int cpu, best_cpu, maxavl = 0; in matrix_find_best_cpu() local 153 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local 212 unsigned int cpu, failed_cpu; in irq_matrix_reserve_managed() local 253 unsigned int cpu; in irq_matrix_remove_managed() local 289 unsigned int bit, cpu, end; in irq_matrix_alloc_managed() local 380 unsigned int cpu, bit; in irq_matrix_alloc() local 418 void irq_matrix_free(struct irq_matrix *m, unsigned int cpu, in irq_matrix_free() 493 int cpu; in irq_matrix_debug_show() local
|
/kernel/trace/ |
D | ring_buffer.c | 272 #define for_each_buffer_cpu(buffer, cpu) \ argument 275 #define for_each_online_buffer_cpu(buffer, cpu) \ argument 459 int cpu; member 814 size_t ring_buffer_nr_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_pages() 826 size_t ring_buffer_nr_dirty_pages(struct trace_buffer *buffer, int cpu) in ring_buffer_nr_dirty_pages() 850 static __always_inline bool full_hit(struct trace_buffer *buffer, int cpu, int full) in full_hit() 895 void ring_buffer_wake_waiters(struct trace_buffer *buffer, int cpu) in ring_buffer_wake_waiters() 941 int ring_buffer_wait(struct trace_buffer *buffer, int cpu, int full) in ring_buffer_wait() 1058 __poll_t ring_buffer_poll_wait(struct trace_buffer *buffer, int cpu, in ring_buffer_poll_wait() 1156 int cpu, u64 *ts) in ring_buffer_normalize_time_stamp() [all …]
|
D | trace_functions_graph.c | 37 int cpu; member 134 int cpu; in trace_graph_entry() local 242 int cpu; in trace_graph_return() local 331 static void print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu() 383 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() 512 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq() 634 int cpu = iter->cpu; in print_graph_entry_leaf() local 677 struct trace_seq *s, int cpu, u32 flags) in print_graph_entry_nested() 686 int cpu = iter->cpu; in print_graph_entry_nested() local 723 int cpu = iter->cpu; in print_graph_prologue() local [all …]
|
/kernel/rcu/ |
D | tree_stall.h | 367 int cpu; in rcu_dump_cpu_stacks() local 418 int cpu; in rcu_is_rcuc_kthread_starving() local 448 static void print_cpu_stall_info(int cpu) in print_cpu_stall_info() 498 int cpu; in rcu_check_gp_kthread_starvation() local 534 int cpu; in rcu_check_gp_kthread_expired_fqs_timer() local 560 int cpu; in print_other_cpu_stall() local 633 int cpu; in print_cpu_stall() local 812 int cpu; in rcu_check_boost_fail() local 856 int cpu; in show_rcu_gp_kthreads() local 984 int cpu; in rcu_fwd_progress_check() local
|
D | tree.c | 253 static long rcu_get_n_cbs_cpu(int cpu) in rcu_get_n_cbs_cpu() 290 static int rcu_dynticks_snap(int cpu) in rcu_dynticks_snap() 306 bool rcu_is_idle_cpu(int cpu) in rcu_is_idle_cpu() 325 bool rcu_dynticks_zero_in_eqs(int cpu, int *vp) in rcu_dynticks_zero_in_eqs() 736 int cpu; in rcu_request_urgent_qs_task() local 1063 int cpu = get_cpu(); in swake_up_one_online() local 1763 int cpu; in rcu_gp_cleanup() local 2148 int rcutree_dying_cpu(unsigned int cpu) in rcutree_dying_cpu() 2214 int rcutree_dead_cpu(unsigned int cpu) in rcutree_dead_cpu() 2411 int cpu; in force_qs_rnp() local [all …]
|
/kernel/bpf/ |
D | percpu_freelist.c | 8 int cpu; in pcpu_freelist_init() local 59 int cpu, orig_cpu; in ___pcpu_freelist_push_nmi() local 103 unsigned int cpu, cpu_idx, i, j, n, m; in pcpu_freelist_populate() local 125 int cpu; in ___pcpu_freelist_pop() local 157 int cpu; in ___pcpu_freelist_pop_nmi() local
|
/kernel/livepatch/ |
D | transition.c | 73 unsigned int cpu; in klp_complete_transition() local 386 unsigned int cpu; in klp_try_complete_transition() local 465 unsigned int cpu; in klp_start_transition() local 506 unsigned int cpu; in klp_init_transition() local 579 unsigned int cpu; in klp_reverse_transition() local 645 unsigned int cpu; in klp_force_transition() local
|
/kernel/events/ |
D | hw_breakpoint_test.c | 31 static struct perf_event *register_test_bp(int cpu, struct task_struct *tsk, int idx) in register_test_bp() 65 static void fill_one_bp_slot(struct kunit *test, int *id, int cpu, struct task_struct *tsk) in fill_one_bp_slot() 80 static bool fill_bp_slots(struct kunit *test, int *id, int cpu, struct task_struct *tsk, int skip) in fill_bp_slots() 108 int cpu; in get_test_cpu() local 134 int cpu; in test_many_cpus() local
|