/xen/xen/include/xen/ |
A D | cpumask.h | 81 static inline unsigned int cpumask_check(unsigned int cpu) in cpumask_check() 92 static inline void __cpumask_set_cpu(int cpu, cpumask_t *dstp) in __cpumask_set_cpu() 102 static inline void __cpumask_clear_cpu(int cpu, cpumask_t *dstp) in __cpumask_clear_cpu() 226 int cpu, pcpu = nr_cpu_ids; in cpumask_last() local 254 unsigned int cpu = cpumask_first(srcp); in cpumask_any() local 280 static inline const cpumask_t *cpumask_of(unsigned int cpu) in cpumask_of() 372 #define for_each_cpu(cpu, mask) \ argument 377 #define for_each_cpu(cpu, mask) \ argument 452 #define cpu_online(cpu) ((cpu) == 0) argument 453 #define cpu_possible(cpu) ((cpu) == 0) argument [all …]
|
A D | irq_cpustat.h | 22 #define __IRQ_STAT(cpu, member) (irq_stat[cpu].member) argument 25 #define softirq_pending(cpu) __IRQ_STAT((cpu), __softirq_pending) argument 26 #define local_irq_count(cpu) __IRQ_STAT((cpu), __local_irq_count) argument 27 #define mwait_wakeup(cpu) __IRQ_STAT((cpu), __mwait_wakeup) argument
|
/xen/xen/arch/arm/arm64/ |
A D | smpboot.c | 19 static int __init smp_spin_table_cpu_up(int cpu) in smp_spin_table_cpu_up() 45 static void __init smp_spin_table_init(int cpu, struct dt_device_node *dn) in smp_spin_table_init() 56 static int __init smp_psci_init(int cpu) in smp_psci_init() 74 static int __init dt_arch_cpu_init(int cpu, struct dt_device_node *dn) in dt_arch_cpu_init() 98 int __init arch_cpu_init(int cpu, struct dt_device_node *dn) in arch_cpu_init() 107 int arch_cpu_up(int cpu) in arch_cpu_up()
|
/xen/xen/arch/x86/ |
A D | smpboot.c | 91 void initialize_cpu_data(unsigned int cpu) in initialize_cpu_data() 177 unsigned int cpu = smp_processor_id(); in smp_callin() local 328 unsigned int cpu = booting_cpu; in start_secondary() local 535 int cpu; in alloc_cpu_id() local 542 static int do_boot_cpu(int apicid, int cpu) in do_boot_cpu() 666 void cpu_exit_clear(unsigned int cpu) in cpu_exit_clear() 1214 remove_siblinginfo(int cpu) in remove_siblinginfo() 1236 int cpu = smp_processor_id(); in __cpu_disable() local 1257 void __cpu_die(unsigned int cpu) in __cpu_die() 1276 int cpu = -1; in cpu_add() local [all …]
|
A D | percpu.c | 20 unsigned int cpu; in percpu_init_areas() local 26 static int init_percpu_area(unsigned int cpu) in init_percpu_area() 43 unsigned int cpu; member 51 unsigned int cpu = info->cpu; in _free_percpu_area() local 58 static void free_percpu_area(unsigned int cpu) in free_percpu_area() 69 unsigned int cpu = (unsigned long)hcpu; in cpu_percpu_callback() local
|
A D | sysctl.c | 84 unsigned int cpu = (unsigned long)data; in cpu_up_helper() local 107 int cpu = (unsigned long)data; in cpu_down_helper() local 118 unsigned int cpu, sibling_mask = boot_cpu_data.x86_num_siblings - 1; in smt_up_down_helper() local 183 unsigned int cpu = sysctl->u.cpu_hotplug.cpu; in arch_do_sysctl() local 257 unsigned int cpu = sysctl->u.psr_cmt_op.u.l3_cache.cpu; in arch_do_sysctl() local
|
/xen/xen/arch/arm/ |
A D | percpu.c | 13 unsigned int cpu; in percpu_init_areas() local 18 static int init_percpu_area(unsigned int cpu) in init_percpu_area() 31 unsigned int cpu; member 39 unsigned int cpu = info->cpu; in _free_percpu_area() local 45 static void free_percpu_area(unsigned int cpu) in free_percpu_area() 55 unsigned int cpu = (unsigned long)hcpu; in cpu_percpu_callback() local
|
A D | smpboot.c | 82 static void setup_cpu_sibling_map(int cpu) in setup_cpu_sibling_map() 93 static void remove_cpu_sibling_map(int cpu) in remove_cpu_sibling_map() 117 struct dt_device_node *cpu; in dt_smp_init_cpus() local 376 unsigned int cpu = get_processor_id(); in __cpu_disable() local 407 int __init cpu_up_send_sgi(int cpu) in cpu_up_send_sgi() 418 int __cpu_up(unsigned int cpu) in __cpu_up() 488 void __cpu_die(unsigned int cpu) in __cpu_die() 509 unsigned int cpu = (unsigned long)hcpu; in cpu_smpboot_callback() local
|
/xen/xen/arch/x86/genapic/ |
A D | x2apic.c | 37 static inline u32 x2apic_cluster(unsigned int cpu) in x2apic_cluster() 44 unsigned int cpu, this_cpu = smp_processor_id(); in init_apic_ldr_x2apic_cluster() local 72 static const cpumask_t *vector_allocation_cpumask_x2apic_cluster(int cpu) in vector_allocation_cpumask_x2apic_cluster() 79 unsigned int cpu = cpumask_any(cpumask); in cpu_mask_to_apicid_x2apic_cluster() local 97 unsigned int cpu; in send_IPI_mask_x2apic_phys() local 130 unsigned int cpu = smp_processor_id(); in send_IPI_mask_x2apic_cluster() local 190 unsigned int cpu = (unsigned long)hcpu; in update_clusterinfo() local
|
/xen/xen/common/ |
A D | tasklet.c | 35 unsigned int cpu = t->scheduled_on; in tasklet_enqueue() local 54 void tasklet_schedule_on_cpu(struct tasklet *t, unsigned int cpu) in tasklet_schedule_on_cpu() 78 static void do_tasklet_work(unsigned int cpu, struct list_head *list) in do_tasklet_work() 109 unsigned int cpu = smp_processor_id(); in do_tasklet() local 140 unsigned int cpu = smp_processor_id(); in tasklet_softirq_action() local 183 static void migrate_tasklets_from_cpu(unsigned int cpu, struct list_head *list) in migrate_tasklets_from_cpu() 220 unsigned int cpu = (unsigned long)hcpu; in cpu_callback() local
|
A D | cpu.c | 75 static int cpu_notifier_call_chain(unsigned int cpu, unsigned long action, in cpu_notifier_call_chain() 99 int cpu_down(unsigned int cpu) in cpu_down() 140 int cpu_up(unsigned int cpu) in cpu_up() 177 void notify_cpu_starting(unsigned int cpu) in notify_cpu_starting() 186 int cpu, error = 0; in disable_nonboot_cpus() local 215 int cpu, error; in enable_nonboot_cpus() local
|
A D | softirq.c | 30 unsigned int i, cpu; in __do_softirq() local 85 unsigned int cpu, this_cpu = smp_processor_id(); in cpumask_raise_softirq() local 106 void cpu_raise_softirq(unsigned int cpu, unsigned int nr) in cpu_raise_softirq() 128 unsigned int cpu, this_cpu = smp_processor_id(); in cpu_raise_softirq_batch_finish() local
|
A D | rcupdate.c | 87 int cpu; member 376 static void cpu_quiet(int cpu, struct rcu_ctrlblk *rcp) in cpu_quiet() 511 int rcu_pending(int cpu) in rcu_pending() 522 int rcu_needs_cpu(int cpu) in rcu_needs_cpu() 590 void rcu_check_callbacks(int cpu) in rcu_check_callbacks() 630 static void rcu_init_percpu_data(int cpu, struct rcu_ctrlblk *rcp, in rcu_init_percpu_data() 647 unsigned int cpu = (unsigned long)hcpu; in cpu_callback() local 672 void *cpu = (void *)(long)smp_processor_id(); in rcu_init() local 698 void rcu_idle_enter(unsigned int cpu) in rcu_idle_enter() 715 void rcu_idle_exit(unsigned int cpu) in rcu_idle_exit()
|
A D | debugtrace.c | 91 unsigned int cpu; in debugtrace_dump_worker() local 205 unsigned int cpu = debugtrace_per_cpu ? smp_processor_id() : 0; in debugtrace_printk() local 242 unsigned int cpu) in debugtrace_alloc_buffer() 269 unsigned int cpu = (unsigned long)hcpu; in debugtrace_cpu_callback() local 284 unsigned int cpu; in debugtrace_init() local
|
A D | stop_machine.c | 76 int stop_machine_run(int (*fn)(void *), void *data, unsigned int cpu) in stop_machine_run() 146 unsigned int cpu = (unsigned long)data; in stopmachine_action() local 188 unsigned int cpu = (unsigned long)hcpu; in cpu_callback() local 203 unsigned int cpu; in cpu_stopmachine_init() local
|
/xen/xen/include/asm-x86/ |
A D | smp.h | 44 #define cpu_physical_id(cpu) x86_cpu_to_apicid[cpu] argument 46 #define cpu_is_offline(cpu) unlikely(!cpu_online(cpu)) argument 82 #define get_cpu_current(cpu) \ argument
|
A D | percpu.h | 11 #define per_cpu(var, cpu) \ argument 19 #define per_cpu_ptr(var, cpu) \ argument
|
/xen/tools/debugger/kdd/ |
A D | kdd-xen.c | 164 struct hvm_hw_cpu *cpu; in get_cpu() local 210 static void kdd_get_regs_x86_32(struct hvm_hw_cpu *cpu, kdd_regs_x86_32 *r) in kdd_get_regs_x86_32() 231 static void kdd_set_regs_x86_32(struct hvm_hw_cpu *cpu, kdd_regs_x86_32 *r) in kdd_set_regs_x86_32() 252 static void kdd_get_regs_x86_64(struct hvm_hw_cpu *cpu, kdd_regs_x86_64 *r) in kdd_get_regs_x86_64() 292 static void kdd_set_regs_x86_64(struct hvm_hw_cpu *cpu, kdd_regs_x86_64 *r) in kdd_set_regs_x86_64() 330 struct hvm_hw_cpu *cpu; in kdd_get_regs() local 348 struct hvm_hw_cpu *cpu; in kdd_set_regs() local 385 static void kdd_get_ctrl_x86_64(struct hvm_hw_cpu *cpu, in kdd_get_ctrl_x86_64() 411 struct hvm_hw_cpu *cpu; in kdd_get_ctrl() local 432 struct hvm_hw_cpu *cpu; in kdd_wrmsr() local [all …]
|
/xen/xen/common/sched/ |
A D | cpupool.c | 93 unsigned int cpu; in cpupool_check_granularity() local 419 int cpu = cpupool_moving_cpu; in cpupool_unassign_cpu_finish() local 547 static int cpupool_unassign_cpu(struct cpupool *c, unsigned int cpu) in cpupool_unassign_cpu() 636 static int cpupool_cpu_add(unsigned int cpu) in cpupool_cpu_add() 670 static void cpupool_cpu_remove(unsigned int cpu) in cpupool_cpu_remove() 690 static int cpupool_cpu_remove_prologue(unsigned int cpu) in cpupool_cpu_remove_prologue() 732 static void cpupool_cpu_remove_forced(unsigned int cpu) in cpupool_cpu_remove_forced() 809 unsigned cpu; in cpupool_do_sysctl() local 854 unsigned cpu; in cpupool_do_sysctl() local 960 unsigned int cpu = (unsigned long)hcpu; in cpu_callback() local [all …]
|
A D | null.c | 123 unsigned int cpu, in unit_check_affinity() 162 unsigned int cpu) in init_pdata() 343 unsigned int cpu) in unit_assign() 359 uint32_t cpu; in unit_assign() member 372 unsigned int cpu = sched_unit_master(unit); in unit_deassign() local 390 uint32_t cpu; in unit_deassign() member 459 unsigned int cpu; in null_unit_insert() local 564 unsigned int cpu = sched_unit_master(unit); in null_unit_wake() local 639 unsigned int cpu = sched_unit_master(unit); in null_unit_sleep() local 693 uint16_t cpu, new_cpu; in null_unit_migrate() member [all …]
|
A D | private.h | 64 static inline struct sched_resource *get_sched_res(unsigned int cpu) in get_sched_res() 74 static inline struct sched_unit *curr_on_cpu(unsigned int cpu) in curr_on_cpu() 149 unsigned int cpu = cpumask_first(res->cpus); in sched_set_res() local 188 static inline struct sched_unit *sched_idle_unit(unsigned int cpu) in sched_idle_unit() 193 static inline unsigned int sched_get_resource_cpu(unsigned int cpu) in sched_get_resource_cpu() 209 #define sched_lock(kind, param, cpu, irq, arg...) \ argument 230 #define sched_unlock(kind, param, cpu, irq, arg...) \ argument 241 sched_lock(pcpu, unsigned int cpu, cpu, _irq) in sched_lock() 346 unsigned int cpu, in sched_switch_sched() 384 int cpu) in sched_free_pdata() [all …]
|
/xen/xen/drivers/cpufreq/ |
A D | cpufreq_misc_governors.c | 33 unsigned int cpu; in cpufreq_governor_userspace() local 67 int write_userspace_scaling_setspeed(unsigned int cpu, unsigned int freq) in write_userspace_scaling_setspeed() 97 unsigned int cpu = (unsigned long)hcpu; in cpufreq_userspace_cpu_callback() local 121 unsigned int cpu; in cpufreq_gov_userspace_init() local
|
/xen/xen/arch/arm/arm32/ |
A D | smpboot.c | 11 int __init arch_cpu_init(int cpu, struct dt_device_node *dn) in arch_cpu_init() 19 int arch_cpu_up(int cpu) in arch_cpu_up()
|
/xen/xen/include/asm-arm/ |
A D | percpu.h | 13 #define per_cpu(var, cpu) \ argument 18 #define per_cpu_ptr(var, cpu) \ argument
|
/xen/xen/arch/arm/platforms/ |
A D | brcm.c | 122 static int brcm_cpu_power_on(int cpu) in brcm_cpu_power_on() 172 static int brcm_cpu_release(u32 cpu) in brcm_cpu_release() 197 static int brcm_set_boot_continuation(u32 cpu, u32 pc) in brcm_set_boot_continuation() 219 static int brcm_cpu_up(int cpu) in brcm_cpu_up()
|