| /kernel/ |
| D | smpboot.c | 29 struct task_struct *idle_thread_get(unsigned int cpu) in idle_thread_get() 50 static 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() 212 int smpboot_create_threads(unsigned int cpu) in smpboot_create_threads() 227 static void smpboot_unpark_thread(struct smp_hotplug_thread *ht, unsigned int cpu) in smpboot_unpark_thread() 235 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 | 159 static int cpuhp_invoke_callback(unsigned int cpu, enum cpuhp_state state, in cpuhp_invoke_callback() 401 static inline bool cpu_smt_allowed(unsigned int cpu) in cpu_smt_allowed() 418 static inline bool cpu_smt_allowed(unsigned int cpu) { return true; } in cpu_smt_allowed() 488 static int bringup_wait_for_ap(unsigned int cpu) in bringup_wait_for_ap() 516 static int bringup_cpu(unsigned int cpu) in bringup_cpu() 540 static void undo_cpu_up(unsigned int cpu, struct cpuhp_cpu_state *st) in undo_cpu_up() 564 static int cpuhp_up_callbacks(unsigned int cpu, struct cpuhp_cpu_state *st, in cpuhp_up_callbacks() 587 static void cpuhp_create(unsigned int cpu) in cpuhp_create() 595 static int cpuhp_should_run(unsigned int cpu) in cpuhp_should_run() 616 static void cpuhp_thread_fun(unsigned int cpu) in cpuhp_thread_fun() [all …]
|
| D | smp.c | 42 int smpcfd_prepare_cpu(unsigned int cpu) in smpcfd_prepare_cpu() 64 int smpcfd_dead_cpu(unsigned int cpu) in smpcfd_dead_cpu() 74 int smpcfd_dying_cpu(unsigned int cpu) in smpcfd_dying_cpu() 141 static int generic_exec_single(int cpu, call_single_data_t *csd, in generic_exec_single() 268 int smp_call_function_single(int cpu, smp_call_func_t func, void *info, in smp_call_function_single() 326 int smp_call_function_single_async(int cpu, call_single_data_t *csd) in smp_call_function_single_async() 363 unsigned int cpu; in smp_call_function_any() local 407 int cpu, next_cpu, this_cpu = smp_processor_id(); in smp_call_function_many() local 566 unsigned int cpu; in smp_init() local 630 int cpu = get_cpu(); in on_each_cpu_mask() local [all …]
|
| D | stop_machine.c | 77 static bool cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) in cpu_stop_queue_work() 123 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 186 int cpu = smp_processor_id(), err = 0; in multi_cpu_stop() local 356 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 368 unsigned int cpu; in queue_stop_cpus_work() local 473 static int cpu_stop_should_run(unsigned int cpu) in cpu_stop_should_run() 485 static void cpu_stopper_thread(unsigned int cpu) in cpu_stopper_thread() 521 void stop_machine_park(int cpu) in stop_machine_park() 535 static void cpu_stop_create(unsigned int cpu) in cpu_stop_create() 540 static void cpu_stop_park(unsigned int cpu) in cpu_stop_park() [all …]
|
| D | up.c | 11 int smp_call_function_single(int cpu, void (*func) (void *info), void *info, in smp_call_function_single() 26 int smp_call_function_single_async(int cpu, call_single_data_t *csd) in smp_call_function_single_async() 71 void on_each_cpu_cond(bool (*cond_func)(int cpu, void *info), in on_each_cpu_cond() 87 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) in smp_call_on_cpu()
|
| D | padata.c | 41 int cpu, target_cpu; in padata_index_to_cpu() local 168 int cpu, num_cpus; in padata_get_next() local 336 int cpu; in padata_do_serial() local 389 int cpu; in padata_init_squeues() local 403 int cpu_index, cpu; in padata_init_pqueues() local 671 static int __padata_add_cpu(struct padata_instance *pinst, int cpu) in __padata_add_cpu() 691 static int __padata_remove_cpu(struct padata_instance *pinst, int cpu) in __padata_remove_cpu() 726 int padata_remove_cpu(struct padata_instance *pinst, int cpu, int mask) in padata_remove_cpu() 750 static inline int pinst_has_cpu(struct padata_instance *pinst, int cpu) in pinst_has_cpu() 756 static int padata_cpu_online(unsigned int cpu, struct hlist_node *node) in padata_cpu_online() [all …]
|
| D | watchdog_hld.c | 167 unsigned int cpu = smp_processor_id(); in hardlockup_detector_event_create() local 224 int cpu; in hardlockup_detector_perf_cleanup() local 247 int cpu; in hardlockup_detector_perf_stop() local 266 int cpu; in hardlockup_detector_perf_restart() local
|
| D | profile.c | 241 int cpu = smp_processor_id(); in __profile_flip_buffers() local 248 int i, j, cpu; in profile_flip_buffers() local 271 int i, cpu; in profile_discard_flip_buffers() local 287 int i, j, cpu; in do_profile_hits() local 333 static int profile_dead_cpu(unsigned int cpu) in profile_dead_cpu() 351 static int profile_prepare_cpu(unsigned int cpu) in profile_prepare_cpu() 373 static int profile_online_cpu(unsigned int cpu) in profile_online_cpu()
|
| /kernel/time/ |
| D | tick-sched.c | 42 struct tick_sched *tick_get_tick_sched(int cpu) in tick_get_tick_sched() 122 int cpu = smp_processor_id(); in tick_sched_do_timer() local 203 static bool can_stop_full_tick(int cpu, struct tick_sched *ts) in can_stop_full_tick() 252 void tick_nohz_full_kick_cpu(int cpu) in tick_nohz_full_kick_cpu() 266 int cpu; in tick_nohz_full_kick_all() local 305 void tick_nohz_dep_set_cpu(int cpu, enum tick_dep_bits bit) in tick_nohz_dep_set_cpu() 327 void tick_nohz_dep_clear_cpu(int cpu, enum tick_dep_bits bit) in tick_nohz_dep_clear_cpu() 407 static int tick_nohz_cpu_down(unsigned int cpu) in tick_nohz_cpu_down() 437 int cpu, ret; in tick_nohz_init() local 544 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) in update_ts_time_stats() [all …]
|
| D | tick-common.c | 57 struct tick_device *tick_get_device(int cpu) in tick_get_device() 79 static void tick_periodic(int cpu) in tick_periodic() 101 int cpu = smp_processor_id(); in tick_handle_periodic() local 178 struct clock_event_device *newdev, int cpu, in tick_setup_device() 239 int cpu = smp_processor_id(); in tick_install_replacement() local 248 struct clock_event_device *newdev, int cpu) in tick_check_percpu() 304 int cpu; in tick_check_new_device() local 375 int cpu = cpumask_first(cpu_online_mask); in tick_handover_do_timer() local 389 void tick_shutdown(unsigned int cpu) in tick_shutdown()
|
| D | tick-broadcast.c | 45 static inline void tick_broadcast_clear_oneshot(int cpu) { } in tick_broadcast_clear_oneshot() 161 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu) in tick_device_uses_broadcast() 264 int cpu = smp_processor_id(); in tick_do_broadcast() local 358 int cpu, bc_stopped; in tick_broadcast_control() local 444 void tick_shutdown_broadcast(unsigned int cpu) in tick_shutdown_broadcast() 562 static void tick_broadcast_set_event(struct clock_event_device *bc, int cpu, in tick_broadcast_set_event() 605 int cpu, next_cpu = 0; in tick_handle_oneshot_broadcast() local 681 static int broadcast_needs_cpu(struct clock_event_device *bc, int cpu) in broadcast_needs_cpu() 710 int cpu, ret = 0; in __tick_broadcast_oneshot_control() local 858 static void tick_broadcast_clear_oneshot(int cpu) in tick_broadcast_clear_oneshot() [all …]
|
| /kernel/sched/ |
| D | topology.c | 31 static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level, in sched_domain_debug_one() 119 static void sched_domain_debug(struct sched_domain *sd, int cpu) in sched_domain_debug() 145 # define sched_domain_debug(sd, cpu) do { } while (0) argument 424 static void update_top_cache_domain(int cpu) in update_top_cache_domain() 462 static void update_asym_cpucapacity(int cpu) in update_asym_cpucapacity() 482 cpu_attach_domain(struct sched_domain *sd, struct root_domain *rd, int cpu) in cpu_attach_domain() 713 build_group_from_child_sched_domain(struct sched_domain *sd, int cpu) in build_group_from_child_sched_domain() 740 int cpu; in init_overlap_sched_group() local 763 build_overlap_sched_groups(struct sched_domain *sd, int cpu) in build_overlap_sched_groups() 893 static struct sched_group *get_group(int cpu, struct sd_data *sdd) in get_group() [all …]
|
| D | tune.c | 132 schedtune_cpu_update(int cpu, u64 now) in schedtune_cpu_update() 172 int cpu; in schedtune_boostgroup_update() local 227 schedtune_tasks_update(struct task_struct *p, int cpu, int idx, int task_count) in schedtune_tasks_update() 255 void schedtune_enqueue_task(struct task_struct *p, int cpu) in schedtune_enqueue_task() 288 unsigned int cpu; in schedtune_can_attach() local 370 void schedtune_dequeue_task(struct task_struct *p, int cpu) in schedtune_dequeue_task() 396 int schedtune_cpu_boost(int cpu) in schedtune_cpu_boost() 506 int cpu; in schedtune_boostgroup_init() local 596 int cpu; in schedtune_init_cgroups() local
|
| D | tune.h | 25 #define schedtune_cpu_boost(cpu) 0 argument 30 #define schedtune_enqueue_task(task, cpu) do { } while (0) argument 31 #define schedtune_dequeue_task(task, cpu) do { } while (0) argument
|
| D | energy.c | 39 int cpu, sd_level; in free_resources() local 56 void check_max_cap_vs_cpu_scale(int cpu, struct sched_group_energy *sge) in check_max_cap_vs_cpu_scale() 77 int sd_level, i, nstates, cpu; in init_sched_energy_costs() local 165 int cpu; in sched_energy_probe() local
|
| D | cpudeadline.c | 156 void cpudl_clear(struct cpudl *cp, int cpu) in cpudl_clear() 196 void cpudl_set(struct cpudl *cp, int cpu, u64 dl) in cpudl_set() 226 void cpudl_set_freecpu(struct cpudl *cp, int cpu) in cpudl_set_freecpu() 236 void cpudl_clear_freecpu(struct cpudl *cp, int cpu) in cpudl_clear_freecpu()
|
| /kernel/rcu/ |
| D | srcutree.c | 64 int cpu; in init_srcu_struct_nodes() local 228 int cpu; in srcu_readers_lock_idx() local 245 int cpu; in srcu_readers_unlock_idx() local 314 int cpu; in srcu_readers_active() local 351 int cpu; in cleanup_srcu_struct() local 432 void srcu_online_cpu(unsigned int cpu) in srcu_online_cpu() 437 void srcu_offline_cpu(unsigned int cpu) in srcu_offline_cpu() 447 static bool srcu_queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in srcu_queue_delayed_work_on() 481 int cpu; in srcu_schedule_cbs_snp() local 503 int cpu; in srcu_gp_end() local [all …]
|
| D | tree_plugin.h | 1151 static void rcu_cpu_kthread_setup(unsigned int cpu) in rcu_cpu_kthread_setup() 1159 static void rcu_cpu_kthread_park(unsigned int cpu) in rcu_cpu_kthread_park() 1164 static int rcu_cpu_kthread_should_run(unsigned int cpu) in rcu_cpu_kthread_should_run() 1174 static void rcu_cpu_kthread(unsigned int cpu) in rcu_cpu_kthread() 1219 int cpu; in rcu_boost_kthread_setaffinity() local 1250 int cpu; in rcu_spawn_boost_kthreads() local 1259 static void rcu_prepare_kthreads(int cpu) in rcu_prepare_kthreads() 1299 static void rcu_prepare_kthreads(int cpu) in rcu_prepare_kthreads() 1601 int cpu; in rcu_oom_notify() local 1639 static void print_cpu_stall_fast_no_hz(char *cp, int cpu) in print_cpu_stall_fast_no_hz() [all …]
|
| D | tree.c | 416 bool rcu_eqs_special_set(int cpu) in rcu_eqs_special_set() 1145 int cpu; in rcu_request_urgent_qs_task() local 1388 int cpu; in rcu_dump_cpu_stacks() local 1430 int cpu; in print_other_cpu_stall() local 1514 int cpu; in print_cpu_stall() local 2505 rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp) in rcu_report_qs_rdp() 2647 static void rcu_cleanup_dead_cpu(int cpu, struct rcu_state *rsp) in rcu_cleanup_dead_cpu() 2808 int cpu; in force_qs_rnp() local 3042 struct rcu_state *rsp, int cpu, bool lazy) in __call_rcu() 3489 int cpu, unsigned long done) in _rcu_barrier_trace() [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 489 int cpu; in register_wide_hw_breakpoint() local 522 int cpu; in unregister_wide_hw_breakpoint() local 605 int cpu, err_cpu; in init_hw_breakpoint() local
|
| /kernel/irq/ |
| D | ipi.c | 163 irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu) in ipi_get_hwirq() 188 const struct cpumask *dest, unsigned int cpu) in ipi_send_verify() 222 int __ipi_send_single(struct irq_desc *desc, unsigned int cpu) in __ipi_send_single() 268 unsigned int cpu; in __ipi_send_mask() local 308 int ipi_send_single(unsigned int virq, unsigned int cpu) in ipi_send_single()
|
| D | cpuhotplug.c | 21 unsigned int cpu = smp_processor_id(); in irq_needs_fixup() local 173 static void irq_restore_affinity_of_irq(struct irq_desc *desc, unsigned int cpu) in irq_restore_affinity_of_irq() 200 int irq_affinity_online_cpu(unsigned int cpu) in irq_affinity_online_cpu()
|
| /kernel/trace/ |
| D | ring_buffer.c | 271 #define for_each_buffer_cpu(buffer, cpu) \ argument 438 int cpu; member 529 int ring_buffer_wait(struct ring_buffer *buffer, int cpu, bool full) in ring_buffer_wait() 633 int ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, in ring_buffer_poll_wait() 697 u64 ring_buffer_time_stamp(struct ring_buffer *buffer, int cpu) in ring_buffer_time_stamp() 710 int cpu, u64 *ts) in ring_buffer_normalize_time_stamp() 1134 static int __rb_allocate_pages(long nr_pages, struct list_head *pages, int cpu) in __rb_allocate_pages() 1204 rb_allocate_cpu_buffer(struct ring_buffer *buffer, long nr_pages, int cpu) in rb_allocate_cpu_buffer() 1301 int cpu; in __ring_buffer_alloc() local 1370 int cpu; in ring_buffer_free() local [all …]
|
| D | trace_functions_graph.c | 64 int cpu; member 387 int cpu; in trace_graph_entry() local 487 int cpu; in trace_graph_return() local 556 static void print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu() 607 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() 725 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq() 843 int cpu = iter->cpu; in print_graph_entry_leaf() local 890 struct trace_seq *s, int cpu, u32 flags) in print_graph_entry_nested() 899 int cpu = iter->cpu; in print_graph_entry_nested() local 940 int cpu = iter->cpu; in print_graph_prologue() local [all …]
|
| /kernel/livepatch/ |
| D | transition.c | 82 unsigned int cpu; in klp_complete_transition() local 354 unsigned int cpu; in klp_try_complete_transition() local 425 unsigned int cpu; in klp_start_transition() local 470 unsigned int cpu; in klp_init_transition() local 547 unsigned int cpu; in klp_reverse_transition() local
|