/kernel/ |
D | smpboot.c | 27 struct task_struct *idle_thread_get(unsigned int cpu) in idle_thread_get() 48 static inline void idle_init(unsigned int cpu) in idle_init() 66 unsigned int cpu, boot_cpu; in idle_threads_init() local 83 unsigned int cpu; member 166 __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in __smpboot_create_thread() 203 int smpboot_create_threads(unsigned int cpu) in smpboot_create_threads() 218 static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_unpark_thread() 227 void smpboot_unpark_threads(unsigned int cpu) in smpboot_unpark_threads() 237 static void smpboot_park_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_park_thread() 245 void smpboot_park_threads(unsigned int cpu) in smpboot_park_threads() [all …]
|
D | watchdog.c | 195 int cpu; in touch_all_softlockup_watchdogs() local 244 static unsigned int watchdog_next_cpu(unsigned int cpu) in watchdog_next_cpu() 259 static int is_hardlockup_other_cpu(unsigned int cpu) in is_hardlockup_other_cpu() 504 static void watchdog_enable(unsigned int cpu) in watchdog_enable() 524 static void watchdog_disable(unsigned int cpu) in watchdog_disable() 534 static void watchdog_cleanup(unsigned int cpu, bool online) in watchdog_cleanup() 539 static int watchdog_should_run(unsigned int cpu) in watchdog_should_run() 553 static void watchdog(unsigned int cpu) in watchdog() 568 static int watchdog_nmi_enable(unsigned int cpu) in watchdog_nmi_enable() 632 static void watchdog_nmi_disable(unsigned int cpu) in watchdog_nmi_disable() [all …]
|
D | smp.c | 39 long cpu = (long)hcpu; in hotplug_cfd() local 91 void *cpu = (void *)(long)smp_processor_id(); in call_function_init() local 146 static int generic_exec_single(int cpu, struct call_single_data *csd, in generic_exec_single() 274 int smp_call_function_single(int cpu, smp_call_func_t func, void *info, in smp_call_function_single() 319 int smp_call_function_single_async(int cpu, struct call_single_data *csd) in smp_call_function_single_async() 348 unsigned int cpu; in smp_call_function_any() local 392 int cpu, next_cpu, this_cpu = smp_processor_id(); in smp_call_function_many() local 551 unsigned int cpu; in smp_init() local 607 int cpu = get_cpu(); in on_each_cpu_mask() local 647 void on_each_cpu_cond(bool (*cond_func)(int cpu, void *info), in on_each_cpu_cond() [all …]
|
D | cpu.c | 276 void clear_tasks_mm_cpumask(int cpu) in clear_tasks_mm_cpumask() 352 static int __ref _cpu_down(unsigned int cpu, int tasks_frozen) in _cpu_down() 435 int __ref cpu_down(unsigned int cpu) in cpu_down() 456 static int _cpu_up(unsigned int cpu, int tasks_frozen) in _cpu_up() 510 int cpu_up(unsigned int cpu) in cpu_up() 547 int cpu, first_cpu, error = 0; in disable_nonboot_cpus() local 593 int cpu, error; in enable_nonboot_cpus() local 695 void notify_cpu_starting(unsigned int cpu) in notify_cpu_starting() 757 void set_cpu_possible(unsigned int cpu, bool possible) in set_cpu_possible() 765 void set_cpu_present(unsigned int cpu, bool present) in set_cpu_present() [all …]
|
D | stop_machine.c | 74 static void cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) in cpu_stop_queue_work() 116 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 173 int cpu = smp_processor_id(), err = 0; in multi_cpu_stop() local 319 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 335 unsigned int cpu; in queue_stop_cpus_work() local 436 static int cpu_stop_should_run(unsigned int cpu) in cpu_stop_should_run() 448 static void cpu_stopper_thread(unsigned int cpu) in cpu_stopper_thread() 491 static void cpu_stop_create(unsigned int cpu) in cpu_stop_create() 496 static void cpu_stop_park(unsigned int cpu) in cpu_stop_park() 510 static void cpu_stop_unpark(unsigned int cpu) in cpu_stop_unpark() [all …]
|
D | padata.c | 38 int cpu, target_cpu; in padata_index_to_cpu() local 171 int cpu, num_cpus; in padata_get_next() local 331 int cpu; in padata_do_serial() local 377 int cpu; in padata_init_squeues() local 391 int cpu_index, cpu; in padata_init_pqueues() local 462 int cpu; in padata_flush_queues() local 678 static int __padata_add_cpu(struct padata_instance *pinst, int cpu) in __padata_add_cpu() 710 int padata_add_cpu(struct padata_instance *pinst, int cpu, int mask) in padata_add_cpu() 734 static int __padata_remove_cpu(struct padata_instance *pinst, int cpu) in __padata_remove_cpu() 769 int padata_remove_cpu(struct padata_instance *pinst, int cpu, int mask) in padata_remove_cpu() [all …]
|
D | up.c | 10 int smp_call_function_single(int cpu, void (*func) (void *info), void *info, in smp_call_function_single() 25 int smp_call_function_single_async(int cpu, struct call_single_data *csd) in smp_call_function_single_async() 70 void on_each_cpu_cond(bool (*cond_func)(int cpu, void *info), in on_each_cpu_cond()
|
D | softirq.c | 363 int cpu = smp_processor_id(); in tick_irq_exit() local 632 int cpu; in softirq_init() local 645 static int ksoftirqd_should_run(unsigned int cpu) in ksoftirqd_should_run() 650 static void run_ksoftirqd(unsigned int cpu) in run_ksoftirqd() 681 void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu) in tasklet_kill_immediate() 704 static void takeover_tasklets(unsigned int cpu) in takeover_tasklets()
|
D | profile.c | 238 int cpu = smp_processor_id(); in __profile_flip_buffers() local 245 int i, j, cpu; in profile_flip_buffers() local 268 int i, cpu; in profile_discard_flip_buffers() local 284 int i, j, cpu; in do_profile_hits() local 333 int node, cpu = (unsigned long)__cpu; in profile_cpu_callback() local 541 int cpu; in create_hash_tables() local
|
/kernel/time/ |
D | tick-common.c | 56 struct tick_device *tick_get_device(int cpu) in tick_get_device() 78 static void tick_periodic(int cpu) in tick_periodic() 100 int cpu = smp_processor_id(); in tick_handle_periodic() local 167 struct clock_event_device *newdev, int cpu, in tick_setup_device() 228 int cpu = smp_processor_id(); in tick_install_replacement() local 237 struct clock_event_device *newdev, int cpu) in tick_check_percpu() 293 int cpu; in tick_check_new_device() local 343 int cpu = cpumask_first(cpu_online_mask); in tick_handover_do_timer() local
|
D | tick-broadcast.c | 41 static inline void tick_broadcast_clear_oneshot(int cpu) { } in tick_broadcast_clear_oneshot() 156 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast() 258 int cpu = smp_processor_id(); in tick_do_broadcast() local 336 int cpu, bc_stopped; in tick_do_broadcast_on_off() local 426 unsigned int cpu = *cpup; in tick_shutdown_broadcast() local 530 static int tick_broadcast_set_event(struct clock_event_device *bc, int cpu, in tick_broadcast_set_event() 578 int cpu, next_cpu = 0; in tick_handle_oneshot_broadcast() local 646 static int broadcast_needs_cpu(struct clock_event_device *bc, int cpu) in broadcast_needs_cpu() 693 int cpu, ret = 0; in tick_broadcast_oneshot_control() local 817 static void tick_broadcast_clear_oneshot(int cpu) in tick_broadcast_clear_oneshot() [all …]
|
D | tick-sched.c | 44 struct tick_sched *tick_get_tick_sched(int cpu) in tick_get_tick_sched() 114 int cpu = smp_processor_id(); in tick_sched_do_timer() local 245 void tick_nohz_full_kick_cpu(int cpu) in tick_nohz_full_kick_cpu() 314 unsigned int cpu = (unsigned long)hcpu; in tick_nohz_cpu_down_callback() local 354 int cpu; in tick_nohz_init() local 453 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) in update_ts_time_stats() 503 u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time) in get_cpu_idle_time_us() 544 u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time) in get_cpu_iowait_time_us() 571 ktime_t now, int cpu) in tick_nohz_stop_sched_tick() 725 int cpu = smp_processor_id(); in tick_nohz_full_stop_tick() local [all …]
|
/kernel/sched/ |
D | tune.h | 29 #define schedtune_cpu_boost(cpu) get_sysctl_sched_cfs_boost() argument 34 #define schedtune_enqueue_task(task, cpu) do { } while (0) argument 35 #define schedtune_dequeue_task(task, cpu) do { } while (0) argument 44 #define schedtune_cpu_boost(cpu) 0 argument 49 #define schedtune_enqueue_task(task, cpu) do { } while (0) argument 50 #define schedtune_dequeue_task(task, cpu) do { } while (0) argument
|
D | walt.c | 240 void walt_account_irqtime(int cpu, struct task_struct *curr, in walt_account_irqtime() 283 u64 walt_irqload(int cpu) { in walt_irqload() 301 int walt_cpu_high_irqload(int cpu) { in walt_cpu_high_irqload() 752 unsigned long __weak arch_get_cpu_efficiency(int cpu) in arch_get_cpu_efficiency() 807 int cpu = cpu_of(rq); in walt_set_window_start() local 826 void walt_migrate_sync_cpu(int cpu) in walt_migrate_sync_cpu() 920 static unsigned long capacity_scale_cpu_efficiency(int cpu) in capacity_scale_cpu_efficiency() 929 static unsigned long capacity_scale_cpu_freq(int cpu) in capacity_scale_cpu_freq() 938 static unsigned long load_scale_cpu_efficiency(int cpu) in load_scale_cpu_efficiency() 949 static unsigned long load_scale_cpu_freq(int cpu) in load_scale_cpu_freq() [all …]
|
D | clock.c | 140 static inline struct sched_clock_data *cpu_sdc(int cpu) in cpu_sdc() 148 int cpu; in sched_clock_init() local 294 u64 sched_clock_cpu(int cpu) in sched_clock_cpu() 371 u64 cpu_clock(int cpu) in cpu_clock() 401 u64 sched_clock_cpu(int cpu) in sched_clock_cpu() 409 u64 cpu_clock(int cpu) in cpu_clock()
|
D | tune.c | 242 schedtune_cpu_update(int cpu) in schedtune_cpu_update() 275 int cpu; in schedtune_boostgroup_update() local 316 schedtune_tasks_update(struct task_struct *p, int cpu, int idx, int task_count) in schedtune_tasks_update() 335 void schedtune_enqueue_task(struct task_struct *p, int cpu) in schedtune_enqueue_task() 377 unsigned int cpu; in schedtune_can_attach() local 456 void schedtune_dequeue_task(struct task_struct *p, int cpu) in schedtune_dequeue_task() 497 unsigned int cpu; in schedtune_exit_task() local 516 int schedtune_cpu_boost(int cpu) in schedtune_cpu_boost() 637 int cpu; in schedtune_boostgroup_init() local 726 int cpu; in schedtune_init_cgroups() local [all …]
|
D | core.c | 478 int cpu = (int)(long)hcpu; in hotplug_hrtick() local 622 int cpu; in resched_curr() local 643 void resched_cpu(int cpu) in resched_cpu() 665 int cpu = smp_processor_id(); in get_nohz_timer_target() local 695 static void wake_up_idle_cpu(int cpu) in wake_up_idle_cpu() 708 static bool wake_up_full_nohz_cpu(int cpu) in wake_up_full_nohz_cpu() 726 void wake_up_nohz_cpu(int cpu) in wake_up_nohz_cpu() 734 int cpu = smp_processor_id(); in got_nohz_idle_kick() local 939 void sched_set_stop_task(int cpu, struct task_struct *stop) in sched_set_stop_task() 1303 static void __migrate_swap_task(struct task_struct *p, int cpu) in __migrate_swap_task() [all …]
|
D | cpufreq_sched.c | 163 static void update_fdomain_capacity_request(int cpu) in update_fdomain_capacity_request() 230 void update_cpu_capacity_request(int cpu, bool request) in update_cpu_capacity_request() 274 int cpu; in cpufreq_sched_policy_init() local 346 int cpu; in cpufreq_sched_start() local 371 int cpu; in cpufreq_sched_stop() local 492 int cpu; in cpufreq_sched_init() local
|
D | cpuacct.c | 99 static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) in cpuacct_cpuusage_read() 118 static void cpuacct_cpuusage_write(struct cpuacct *ca, int cpu, u64 val) in cpuacct_cpuusage_write() 188 int cpu; in cpuacct_stats_show() local 238 int cpu; in cpuacct_charge() local
|
/kernel/rcu/ |
D | tree_plugin.h | 159 static void rcu_preempt_note_context_switch(int cpu) in rcu_preempt_note_context_switch() 624 static void rcu_preempt_check_callbacks(int cpu) in rcu_preempt_check_callbacks() 948 static void rcu_preempt_note_context_switch(int cpu) in rcu_preempt_note_context_switch() 1020 static void rcu_preempt_check_callbacks(int cpu) in rcu_preempt_check_callbacks() 1342 static void rcu_cpu_kthread_setup(unsigned int cpu) in rcu_cpu_kthread_setup() 1350 static void rcu_cpu_kthread_park(unsigned int cpu) in rcu_cpu_kthread_park() 1355 static int rcu_cpu_kthread_should_run(unsigned int cpu) in rcu_cpu_kthread_should_run() 1365 static void rcu_cpu_kthread(unsigned int cpu) in rcu_cpu_kthread() 1410 int cpu; in rcu_boost_kthread_setaffinity() local 1444 int cpu; in rcu_spawn_boost_kthreads() local [all …]
|
D | tree.c | 289 void rcu_note_context_switch(int cpu) in rcu_note_context_switch() 1033 int cpu; in rcu_dump_cpu_stacks() local 1050 int cpu; in print_other_cpu_stall() local 1119 int cpu; in print_cpu_stall() local 2015 rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp) in rcu_report_qs_rdp() 2097 rcu_send_cbs_to_orphanage(int cpu, struct rcu_state *rsp, in rcu_send_cbs_to_orphanage() 2216 static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp) in rcu_cleanup_dead_cpu() 2283 static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp) in rcu_cleanup_dead_cpu() 2390 void rcu_check_callbacks(int cpu, int user) in rcu_check_callbacks() 2443 int cpu; in force_qs_rnp() local [all …]
|
/kernel/events/ |
D | hw_breakpoint.c | 64 static struct bp_cpuinfo *get_bp_info(int cpu, enum bp_type_idx type) in get_bp_info() 100 static unsigned int max_task_bp_pinned(int cpu, enum bp_type_idx type) in max_task_bp_pinned() 117 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned() 149 int cpu; in fetch_bp_busy_slots() local 184 static void toggle_bp_task_slot(struct perf_event *bp, int cpu, in toggle_bp_task_slot() 207 int cpu; in toggle_bp_slot() local 505 int cpu; in register_wide_hw_breakpoint() local 538 int cpu; in unregister_wide_hw_breakpoint() local 621 int cpu, err_cpu; in init_hw_breakpoint() local
|
D | callchain.c | 40 int cpu; in release_callchain_buffers_rcu() local 61 int cpu; in alloc_callchain_buffers() local 137 int cpu; in get_callchain_entry() local
|
/kernel/trace/ |
D | trace_functions_graph.c | 62 int cpu; member 321 int cpu; in trace_graph_entry() local 425 int cpu; in trace_graph_return() local 491 print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu() 562 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() 702 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq() 880 int cpu = iter->cpu; in print_graph_entry_leaf() local 923 struct trace_seq *s, int cpu, u32 flags) in print_graph_entry_nested() 932 int cpu = iter->cpu; in print_graph_entry_nested() local 976 int cpu = iter->cpu; in print_graph_prologue() local [all …]
|
D | ring_buffer.c | 327 #define for_each_buffer_cpu(buffer, cpu) \ argument 467 int cpu; member 559 int ring_buffer_wait(struct ring_buffer *buffer, int cpu, bool full) in ring_buffer_wait() 663 int ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, in ring_buffer_poll_wait() 727 u64 ring_buffer_time_stamp(struct ring_buffer *buffer, int cpu) in ring_buffer_time_stamp() 740 int cpu, u64 *ts) in ring_buffer_normalize_time_stamp() 1173 static int __rb_allocate_pages(long nr_pages, struct list_head *pages, int cpu) in __rb_allocate_pages() 1238 rb_allocate_cpu_buffer(struct ring_buffer *buffer, long nr_pages, int cpu) in rb_allocate_cpu_buffer() 1340 int cpu; in __ring_buffer_alloc() local 1426 int cpu; in ring_buffer_free() local [all …]
|