/arch/powerpc/platforms/cell/ |
D | pmu.c | 73 u32 cbe_read_phys_ctr(u32 cpu, u32 phys_ctr) in cbe_read_phys_ctr() 92 void cbe_write_phys_ctr(u32 cpu, u32 phys_ctr, u32 val) in cbe_write_phys_ctr() 125 u32 cbe_read_ctr(u32 cpu, u32 ctr) in cbe_read_ctr() 139 void cbe_write_ctr(u32 cpu, u32 ctr, u32 val) in cbe_write_ctr() 164 u32 cbe_read_pm07_control(u32 cpu, u32 ctr) in cbe_read_pm07_control() 175 void cbe_write_pm07_control(u32 cpu, u32 ctr, u32 val) in cbe_write_pm07_control() 186 u32 cbe_read_pm(u32 cpu, enum pm_reg_name reg) in cbe_read_pm() 228 void cbe_write_pm(u32 cpu, enum pm_reg_name reg, u32 val) in cbe_write_pm() 270 u32 cbe_get_ctr_size(u32 cpu, u32 phys_ctr) in cbe_get_ctr_size() 283 void cbe_set_ctr_size(u32 cpu, u32 phys_ctr, u32 ctr_size) in cbe_set_ctr_size() [all …]
|
/arch/blackfin/include/asm/ |
D | mem_map.h | 15 static inline ulong get_l1_scratch_start_cpu(int cpu) in get_l1_scratch_start_cpu() 19 static inline ulong get_l1_code_start_cpu(int cpu) in get_l1_code_start_cpu() 23 static inline ulong get_l1_data_a_start_cpu(int cpu) in get_l1_data_a_start_cpu() 27 static inline ulong get_l1_data_b_start_cpu(int cpu) in get_l1_data_b_start_cpu() 51 static inline ulong get_l1_scratch_start_cpu(int cpu) in get_l1_scratch_start_cpu() 55 static inline ulong get_l1_code_start_cpu(int cpu) in get_l1_code_start_cpu() 59 static inline ulong get_l1_data_a_start_cpu(int cpu) in get_l1_data_a_start_cpu() 63 static inline ulong get_l1_data_b_start_cpu(int cpu) in get_l1_data_b_start_cpu()
|
/arch/sparc/include/asm/ |
D | topology_64.h | 8 static inline int cpu_to_node(int cpu) in cpu_to_node() 82 #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id) argument 83 #define topology_core_id(cpu) (cpu_data(cpu).core_id) argument 84 #define topology_core_siblings(cpu) (cpu_core_map[cpu]) argument 85 #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) argument 86 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) argument 87 #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) argument 92 #define cpu_coregroup_map(cpu) (cpu_core_map[cpu]) argument 93 #define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu]) argument
|
/arch/x86/xen/ |
D | smp.c | 64 int cpu = smp_processor_id(); in cpu_bringup() local 96 static int xen_smp_intr_init(unsigned int cpu) in xen_smp_intr_init() 184 unsigned cpu; in xen_smp_prepare_cpus() local 222 cpu_initialize_context(unsigned int cpu, struct task_struct *idle) in cpu_initialize_context() 281 static int __cpuinit xen_cpu_up(unsigned int cpu) in xen_cpu_up() 341 unsigned int cpu = smp_processor_id(); in xen_cpu_disable() local 351 static void xen_cpu_die(unsigned int cpu) in xen_cpu_die() 381 static void xen_cpu_die(unsigned int cpu) in xen_cpu_die() 394 int cpu = smp_processor_id(); in stop_self() local 409 static void xen_smp_send_reschedule(int cpu) in xen_smp_send_reschedule() [all …]
|
/arch/powerpc/kernel/ |
D | smp.c | 180 void smp_send_reschedule(int cpu) in smp_send_reschedule() 186 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 193 unsigned int cpu; in arch_send_call_function_ipi() local 200 void smp_send_debugger_break(int cpu) in smp_send_debugger_break() 237 static void __init smp_create_idle(unsigned int cpu) in smp_create_idle() 256 unsigned int cpu; in smp_prepare_cpus() local 301 unsigned int cpu = smp_processor_id(); in generic_cpu_disable() local 314 int generic_cpu_enable(unsigned int cpu) in generic_cpu_enable() 336 void generic_cpu_die(unsigned int cpu) in generic_cpu_die() 351 unsigned int cpu; in generic_mach_cpu_die() local [all …]
|
D | tau_6xx.c | 52 void set_thresholds(unsigned long cpu) in set_thresholds() 72 void TAUupdate(int cpu) in TAUupdate() 125 int cpu = smp_processor_id(); in TAUException() local 138 int cpu; in tau_timeout() local 209 unsigned long cpu = smp_processor_id(); in TAU_init_smp() local 257 u32 cpu_temp_both(unsigned long cpu) in cpu_temp_both() 262 int cpu_temp(unsigned long cpu) in cpu_temp() 267 int tau_interrupts(unsigned long cpu) in tau_interrupts()
|
D | sysfs.c | 44 struct cpu *cpu = container_of(dev, struct cpu, sysdev); in store_smt_snooze_delay() local 61 struct cpu *cpu = container_of(dev, struct cpu, sysdev); in show_smt_snooze_delay() local 76 unsigned int cpu; in smt_setup() local 98 unsigned int cpu; in setup_smt_snooze_delay() local 139 static unsigned long run_on_cpu(unsigned long cpu, in run_on_cpu() 346 static void __cpuinit register_cpu_online(unsigned int cpu) in register_cpu_online() 414 static void unregister_cpu_online(unsigned int cpu) in unregister_cpu_online() 487 unsigned int cpu = (unsigned int)(long)hcpu; in sysfs_cpu_notify() local 512 int cpu; in cpu_add_sysdev_attr() local 527 int cpu; in cpu_add_sysdev_attr_group() local [all …]
|
/arch/x86/kernel/ |
D | setup_percpu.c | 61 int cpu; in setup_per_cpu_maps() local 104 int cpu; in setup_cpu_pda_map() local 164 int cpu; in setup_per_cpu_areas() local 246 void __cpuinit numa_set_node(int cpu, int node) in numa_set_node() 263 void __cpuinit numa_clear_node(int cpu) in numa_clear_node() 270 void __cpuinit numa_add_cpu(int cpu) in numa_add_cpu() 275 void __cpuinit numa_remove_cpu(int cpu) in numa_remove_cpu() 285 static void __cpuinit numa_set_cpumask(int cpu, int enable) in numa_set_cpumask() 308 void __cpuinit numa_add_cpu(int cpu) in numa_add_cpu() 313 void __cpuinit numa_remove_cpu(int cpu) in numa_remove_cpu() [all …]
|
D | smpboot.c | 134 static void map_cpu_to_node(int cpu, int node) in map_cpu_to_node() 142 static void unmap_cpu_to_node(int cpu) in unmap_cpu_to_node() 152 #define map_cpu_to_node(cpu, node) ({}) argument 153 #define unmap_cpu_to_node(cpu) ({}) argument 164 int cpu = smp_processor_id(); in map_cpu_to_logical_apicid() local 175 void numa_remove_cpu(int cpu) in numa_remove_cpu() 430 void __cpuinit set_cpu_sibling_map(int cpu) in set_cpu_sibling_map() 495 const struct cpumask *cpu_coregroup_mask(int cpu) in cpu_coregroup_mask() 508 cpumask_t cpu_coregroup_map(int cpu) in cpu_coregroup_map() 515 int cpu; in impress_friends() local [all …]
|
D | microcode_core.c | 115 int cpu; in do_microcode_update() local 216 int cpu = dev->id; in reload_store() local 275 static void __microcode_fini_cpu(int cpu) in __microcode_fini_cpu() 283 static void microcode_fini_cpu(int cpu) in microcode_fini_cpu() 290 static void collect_cpu_info(int cpu) in collect_cpu_info() 299 static int microcode_resume_cpu(int cpu) in microcode_resume_cpu() 331 static void microcode_update_cpu(int cpu) in microcode_update_cpu() 352 static void microcode_init_cpu(int cpu) in microcode_init_cpu() 369 int err, cpu = sys_dev->id; in mc_sysdev_add() local 388 int cpu = sys_dev->id; in mc_sysdev_remove() local [all …]
|
D | msr.c | 74 int cpu = iminor(file->f_path.dentry->d_inode); in msr_read() local 105 int cpu = iminor(file->f_path.dentry->d_inode); in msr_write() local 132 unsigned int cpu = iminor(file->f_path.dentry->d_inode); in msr_open() local 162 static int __cpuinit msr_device_create(int cpu) in msr_device_create() 171 static void msr_device_destroy(int cpu) in msr_device_destroy() 179 unsigned int cpu = (unsigned long)hcpu; in msr_class_cpu_callback() local 238 int cpu = 0; in msr_exit() local
|
/arch/powerpc/include/asm/ |
D | smp.h | 60 static inline int get_hard_smp_processor_id(int cpu) in get_hard_smp_processor_id() 65 static inline void set_hard_smp_processor_id(int cpu, int phys) in set_hard_smp_processor_id() 109 static inline int get_hard_smp_processor_id(int cpu) in get_hard_smp_processor_id() 114 static inline void set_hard_smp_processor_id(int cpu, int phys) in set_hard_smp_processor_id() 125 static inline int get_hard_smp_processor_id(int cpu) in get_hard_smp_processor_id() 130 static inline void set_hard_smp_processor_id(int cpu, int phys) in set_hard_smp_processor_id()
|
D | topology.h | 13 static inline int cpu_to_node(int cpu) in cpu_to_node() 113 #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) argument 114 #define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu)) argument 115 #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) argument 116 #define topology_core_cpumask(cpu) (&per_cpu(cpu_core_map, cpu)) argument 117 #define topology_core_id(cpu) (cpu_to_core_id(cpu)) argument
|
/arch/ia64/include/asm/ |
D | topology.h | 31 #define cpu_to_node(cpu) (int)(cpu_to_node_map[cpu]) argument 109 #define topology_physical_package_id(cpu) (cpu_data(cpu)->socket_id) argument 110 #define topology_core_id(cpu) (cpu_data(cpu)->core_id) argument 111 #define topology_core_siblings(cpu) (cpu_core_map[cpu]) argument 112 #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) argument 113 #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) argument 114 #define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) argument
|
/arch/arm/mach-realview/ |
D | hotplug.c | 59 static inline void platform_do_lowpower(unsigned int cpu) in platform_do_lowpower() 96 int platform_cpu_kill(unsigned int cpu) in platform_cpu_kill() 106 void platform_cpu_die(unsigned int cpu) in platform_cpu_die() 134 int mach_cpu_disable(unsigned int cpu) in mach_cpu_disable()
|
/arch/blackfin/mach-bf561/ |
D | smp.c | 68 void __cpuinit platform_secondary_init(unsigned int cpu) in platform_secondary_init() 102 int __cpuinit platform_boot_secondary(unsigned int cpu, struct task_struct *idle) in platform_boot_secondary() 143 unsigned int cpu; in platform_send_ipi() local 153 void platform_send_ipi_cpu(unsigned int cpu) in platform_send_ipi_cpu() 161 void platform_clear_ipi(unsigned int cpu) in platform_clear_ipi()
|
/arch/x86/include/asm/ |
D | topology.h | 54 static inline int cpu_to_node(int cpu) in cpu_to_node() 58 #define early_cpu_to_node(cpu) cpu_to_node(cpu) argument 97 static inline int cpu_to_node(int cpu) in cpu_to_node() 103 static inline int early_cpu_to_node(int cpu) in early_cpu_to_node() 196 #define cpu_to_node(cpu) 0 argument 197 #define early_cpu_to_node(cpu) 0 argument 237 #define topology_physical_package_id(cpu) (cpu_data(cpu).phys_proc_id) argument 238 #define topology_core_id(cpu) (cpu_data(cpu).cpu_core_id) argument 239 #define topology_core_siblings(cpu) (per_cpu(cpu_core_map, cpu)) argument 240 #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu)) argument [all …]
|
D | numa_64.h | 37 static inline void numa_set_node(int cpu, int node) { } in numa_set_node() 38 static inline void numa_clear_node(int cpu) { } in numa_clear_node() 39 static inline void numa_add_cpu(int cpu, int node) { } in numa_add_cpu() 40 static inline void numa_remove_cpu(int cpu) { } in numa_remove_cpu()
|
/arch/s390/kernel/ |
D | smp.c | 80 int cpu, rc; in smp_send_stop() local 129 static void smp_ext_bitcall(int cpu, ec_bit_sig sig) in smp_ext_bitcall() 141 int cpu; in arch_send_call_function_ipi() local 147 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 173 void smp_send_reschedule(int cpu) in smp_send_reschedule() 247 static void __init smp_get_save_area(unsigned int cpu, unsigned int phy_cpu) in smp_get_save_area() 275 static inline void smp_get_save_area(unsigned int cpu, unsigned int phy_cpu) { } in smp_get_save_area() 279 static int cpu_stopped(int cpu) in cpu_stopped() 294 int cpu; in cpu_known() local 329 int cpu_id, logical_cpu, cpu; in smp_rescan_cpus_sclp() local [all …]
|
/arch/mips/sgi-ip27/ |
D | ip27-irq.c | 68 static inline int alloc_level(int cpu, int irq) in alloc_level() 86 int cpu, i; in find_level() local 134 cpuid_t cpu = smp_processor_id(); in ip27_do_irq_mask0() local 175 cpuid_t cpu = smp_processor_id(); in ip27_do_irq_mask1() local 206 static int intr_connect_level(int cpu, int bit) in intr_connect_level() 224 static int intr_disconnect_level(int cpu, int bit) in intr_disconnect_level() 249 cpuid_t cpu; in startup_bridge_irq() local 296 cpuid_t cpu; in shutdown_bridge_irq() local 314 cpuid_t cpu; in enable_bridge_irq() local 323 cpuid_t cpu; in disable_bridge_irq() local [all …]
|
/arch/um/kernel/ |
D | smp.c | 40 void smp_send_reschedule(int cpu) in smp_send_reschedule() 64 int cpu = (int) cpup, err; in idle_proc() local 87 static struct task_struct *idle_thread(int cpu) in idle_thread() 110 int err, cpu, me = smp_processor_id(); in smp_prepare_cpus() local 147 int __cpu_up(unsigned int cpu) in __cpu_up() 163 void IPI_handler(int cpu) in IPI_handler() 204 void smp_call_function_slave(int cpu) in smp_call_function_slave()
|
/arch/alpha/kernel/ |
D | proto.h | 211 #define mcheck_expected(cpu) (cpu_data[cpu].mcheck_expected) argument 212 #define mcheck_taken(cpu) (cpu_data[cpu].mcheck_taken) argument 213 #define mcheck_extra(cpu) (cpu_data[cpu].mcheck_extra) argument 222 #define mcheck_expected(cpu) (*((void)(cpu), &__mcheck_info.expected)) argument 223 #define mcheck_taken(cpu) (*((void)(cpu), &__mcheck_info.taken)) argument 224 #define mcheck_extra(cpu) (*((void)(cpu), &__mcheck_info.extra)) argument
|
/arch/sh/include/asm/ |
D | mmu_context.h | 30 #define asid_cache(cpu) (cpu_data[cpu].asid_cache) argument 33 #define cpu_context(cpu, mm) ((mm)->context.id[cpu]) argument 35 #define cpu_asid(cpu, mm) \ argument 52 static inline void get_mmu_context(struct mm_struct *mm, unsigned int cpu) in get_mmu_context() 107 static inline void activate_context(struct mm_struct *mm, unsigned int cpu) in activate_context() 117 unsigned int cpu = smp_processor_id(); in switch_mm() local 133 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; }) argument 137 #define activate_context(mm,cpu) do { } while (0) argument 153 unsigned int cpu = smp_processor_id(); in enable_mmu() local
|
/arch/x86/mach-voyager/ |
D | voyager_smp.c | 95 static inline void send_one_QIC_CPI(__u8 cpu, __u8 cpi) in send_one_QIC_CPI() 103 int cpu; in send_QIC_CPI() local 125 static inline void send_one_CPI(__u8 cpu, __u8 cpi) in send_one_CPI() 135 __u8 cpu = smp_processor_id(); in send_CPI_allbutself() local 148 __u8 cpu = hard_smp_processor_id(); in is_cpu_extended() local 155 __u8 cpu = hard_smp_processor_id(); in is_cpu_vic_boot() local 492 static void __init do_boot_cpu(__u8 cpu) in do_boot_cpu() 782 static inline void voyager_leave_mm(unsigned long cpu) in voyager_leave_mm() 795 __u8 cpu = smp_processor_id(); in smp_invalidate_interrupt() local 928 __u8 cpu = get_cpu(); in smp_enable_irq_interrupt() local [all …]
|
/arch/arm/kernel/ |
D | smp.c | 65 int __cpuinit __cpu_up(unsigned int cpu) in __cpu_up() 152 unsigned int cpu = smp_processor_id(); in __cpu_disable() local 197 void __cpuexit __cpu_die(unsigned int cpu) in __cpu_die() 213 unsigned int cpu = smp_processor_id(); in cpu_die() local 243 unsigned int cpu = smp_processor_id(); in secondary_start_kernel() local 307 int cpu; in smp_cpus_done() local 322 unsigned int cpu = smp_processor_id(); in smp_prepare_boot_cpu() local 330 unsigned int cpu; in send_ipi_message() local 355 void arch_send_call_function_single_ipi(int cpu) in arch_send_call_function_single_ipi() 362 unsigned int cpu; in show_ipi_list() local [all …]
|