Lines Matching refs:pcpu_devices

73 static struct pcpu pcpu_devices[NR_CPUS];  variable
160 if (pcpu_devices[cpu].address == address) in pcpu_find_address()
161 return pcpu_devices + cpu; in pcpu_find_address()
183 if (pcpu != &pcpu_devices[0]) { in pcpu_alloc_lowcore()
210 if (pcpu != &pcpu_devices[0]) { in pcpu_alloc_lowcore()
223 lowcore_ptr[pcpu - pcpu_devices] = NULL; in pcpu_free_lowcore()
225 if (pcpu == &pcpu_devices[0]) in pcpu_free_lowcore()
285 struct _lowcore *lc = lowcore_ptr[pcpu - pcpu_devices]; in pcpu_delegate()
330 pcpu_devices[0].address = stap(); in pcpu_set_smt()
346 pcpu = pcpu_devices + cpumask_first(cpu_online_mask); in smp_call_online_cpu()
355 pcpu_delegate(&pcpu_devices[0], func, data, in smp_call_ipl_cpu()
356 pcpu_devices->lowcore->panic_stack - in smp_call_ipl_cpu()
365 if (pcpu_devices[cpu].address == address) in smp_find_processor_id()
372 return pcpu_running(pcpu_devices + cpu); in smp_vcpu_scheduled()
379 : : "d" (pcpu_devices[cpu].address)); in smp_yield_cpu()
395 struct pcpu *pcpu = pcpu_devices + cpu; in smp_emergency_stop()
404 if (pcpu_stopped(pcpu_devices + cpu)) in smp_emergency_stop()
433 struct pcpu *pcpu = pcpu_devices + cpu; in smp_send_stop()
449 bits = xchg(&pcpu_devices[smp_processor_id()].ec_mask, 0); in smp_handle_ext_call()
470 pcpu_ec_call(pcpu_devices + cpu, ec_call_function_single); in arch_send_call_function_ipi_mask()
475 pcpu_ec_call(pcpu_devices + cpu, ec_call_function_single); in arch_send_call_function_single_ipi()
485 pcpu_ec_call(pcpu_devices + cpu, ec_schedule); in smp_send_reschedule()
536 void *lc = pcpu_devices[0].lowcore; in __smp_store_cpu_state()
613 is_boot_cpu = (address == pcpu_devices[0].address); in smp_store_cpu_states()
628 pcpu = pcpu_devices + cpu; in smp_store_status()
644 pcpu_devices[cpu].polarization = val; in smp_cpu_set_polarization()
649 return pcpu_devices[cpu].polarization; in smp_cpu_get_polarization()
694 pcpu = pcpu_devices + cpu; in __smp_rescan_cpus()
797 pcpu = pcpu_devices + cpu; in __cpu_up()
811 pcpu_sigp_retry(pcpu_devices + base, SIGP_INITIAL_CPU_RESET, 0) != in __cpu_up()
862 pcpu = pcpu_devices + cpu; in __cpu_die()
875 pcpu_sigp_retry(pcpu_devices + smp_processor_id(), SIGP_STOP, 0); in cpu_die()
906 struct pcpu *pcpu = pcpu_devices; in smp_prepare_boot_cpu()
945 count = sprintf(buf, "%d\n", pcpu_devices[dev->id].state); in cpu_configure_show()
973 pcpu = pcpu_devices + cpu; in cpu_configure_store()
1020 return sprintf(buf, "%d\n", pcpu_devices[dev->id].address); in show_cpu_address()