/openbmc/qemu/tests/qtest/fuzz/ |
H A D | qtest_wrappers.c | 110 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readb() 122 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readw() 134 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readl() 146 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_readq() 157 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writeb() 167 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writew() 177 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writel() 187 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in __wrap_qtest_writeq() 197 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in __wrap_qtest_memread() 207 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in __wrap_qtest_bufread() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | tcg-accel-ops-rr.c | 92 if (!rr_kick_vcpu_timer && CPU_NEXT(first_cpu)) { in rr_start_kick_timer() 114 qemu_cond_wait_bql(first_cpu->halt_cond); in rr_wait_io_event() 200 while (first_cpu->stopped) { in rr_cpu_thread_fn() 201 qemu_cond_wait_bql(first_cpu->halt_cond); in rr_cpu_thread_fn() 212 cpu = first_cpu; in rr_cpu_thread_fn() 242 cpu = first_cpu; in rr_cpu_thread_fn() 335 cpu->thread_id = first_cpu->thread_id; in rr_start_vcpu_thread()
|
/openbmc/qemu/dump/ |
H A D | win_dump.c | 116 if (cpu_memory_rw_debug(first_cpu, in patch_mm_pfn_database() 129 if (cpu_read_ptr(x64, first_cpu, in patch_bugcheck_data() 136 if (cpu_memory_rw_debug(first_cpu, KiBugcheckData, in patch_bugcheck_data() 211 if (cpu_memory_rw_debug(first_cpu, in check_kdbg() 259 if (cpu_read_ptr(x64, first_cpu, in patch_and_save_context() 266 if (cpu_memory_rw_debug(first_cpu, in patch_and_save_context() 287 if (cpu_read_ptr(x64, first_cpu, in patch_and_save_context() 295 if (cpu_read_ptr(x64, first_cpu, in patch_and_save_context() 379 if (cpu_memory_rw_debug(first_cpu, Context, in patch_and_save_context() 385 if (cpu_memory_rw_debug(first_cpu, Context, in patch_and_save_context() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | paravirt.h | 126 int first_cpu; in vcpu_is_preempted() local 142 first_cpu = cpu_first_thread_sibling(raw_smp_processor_id()); in vcpu_is_preempted() 150 if (cpu_first_thread_sibling(cpu) == first_cpu) in vcpu_is_preempted()
|
H A D | topology.h | 164 int i, first_cpu = cpu_first_thread_sibling(cpu); in topology_is_core_online() local 166 for (i = first_cpu; i < first_cpu + threads_per_core; ++i) { in topology_is_core_online()
|
/openbmc/qemu/system/ |
H A D | qtest.c | 517 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 522 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 527 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 532 address_space_write(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 551 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 556 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 561 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 565 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, in qtest_process_command() 586 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in qtest_process_command() 608 address_space_read(first_cpu->as, addr, MEMTXATTRS_UNSPECIFIED, data, in qtest_process_command() [all …]
|
H A D | cpu-timers.c | 253 } else if (first_cpu) { in qemu_timer_notify_cb() 262 async_run_on_cpu(first_cpu, do_nothing, RUN_ON_CPU_NULL); in qemu_timer_notify_cb()
|
/openbmc/linux/kernel/sched/ |
H A D | isolation.c | 112 unsigned int first_cpu; in housekeeping_setup() local 133 first_cpu = cpumask_first_and(cpu_present_mask, housekeeping_staging); in housekeeping_setup() 134 if (first_cpu >= nr_cpu_ids || first_cpu >= setup_max_cpus) { in housekeeping_setup()
|
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | fpu_helper.c | 44 CPUX86State *env = &X86_CPU(first_cpu)->env; in cpu_clear_ignne() 50 CPUX86State *env = &X86_CPU(first_cpu)->env; in cpu_set_ignne()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | speedstep-centrino.c | 426 unsigned int j, first_cpu; in centrino_target() local 438 first_cpu = 1; in centrino_target() 456 if (first_cpu) { in centrino_target() 465 if (first_cpu) { in centrino_target() 474 first_cpu = 0; in centrino_target()
|
/openbmc/linux/tools/virtio/ |
H A D | vringh_test.c | 144 unsigned int first_cpu, last_cpu; in parallel_test() local 168 find_cpus(&first_cpu, &last_cpu); in parallel_test() 169 printf("Using CPUS %u and %u\n", first_cpu, last_cpu); in parallel_test() 191 CPU_SET(first_cpu, &cpu_set); in parallel_test() 193 errx(1, "Could not set affinity to cpu %u", first_cpu); in parallel_test() 315 CPU_SET(first_cpu, &cpu_set); in parallel_test() 317 err(1, "Could not set affinity to cpu %u", first_cpu); in parallel_test()
|
/openbmc/qemu/hw/misc/ |
H A D | mips_cpc.c | 47 CPUState *cs = first_cpu; in cpc_run_vp() 65 CPUState *cs = first_cpu; in cpc_stop_vp()
|
/openbmc/linux/arch/x86/kernel/cpu/mtrr/ |
H A D | mtrr.c | 610 int first_cpu; in mtrr_save_state() local 615 first_cpu = cpumask_first(cpu_online_mask); in mtrr_save_state() 616 smp_call_function_single(first_cpu, mtrr_save_fixed_ranges, NULL, 1); in mtrr_save_state()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-bcm7038-l1.c | 203 unsigned int first_cpu = cpumask_any_and(dest, cpu_online_mask); in bcm7038_l1_set_affinity() local 211 intc->affinity[hw] = first_cpu; in bcm7038_l1_set_affinity() 213 __bcm7038_l1_unmask(d, first_cpu); in bcm7038_l1_set_affinity() 216 irq_data_update_effective_affinity(d, cpumask_of(first_cpu)); in bcm7038_l1_set_affinity()
|
/openbmc/qemu/monitor/ |
H A D | hmp-cmds-target.c | 63 if (!first_cpu) { in mon_get_cpu_sync() 66 monitor_set_cpu(mon, first_cpu->cpu_index); in mon_get_cpu_sync() 67 cpu = first_cpu; in mon_get_cpu_sync()
|
/openbmc/qemu/hw/rx/ |
H A D | rx-gdbsim.c | 130 rx_load_image(RX_CPU(first_cpu), kernel_filename, in rx_gdbsim_init() 156 RX_CPU(first_cpu)->env.regs[1] = SDRAM_BASE + dtb_offset; in rx_gdbsim_init()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | smp_64.c | 649 u16 first_cpu = 0xffff; in hypervisor_xcall_deliver() local 729 if (first_cpu != cpu_list[0]) { in hypervisor_xcall_deliver() 730 first_cpu = cpu_list[0]; in hypervisor_xcall_deliver() 731 xc_rcvd = CPU_MONDO_COUNTER(first_cpu); in hypervisor_xcall_deliver() 739 target_cpu_busy = (xc_rcvd < CPU_MONDO_COUNTER(first_cpu)); in hypervisor_xcall_deliver() 740 xc_rcvd = CPU_MONDO_COUNTER(first_cpu); in hypervisor_xcall_deliver() 780 this_cpu, first_cpu, (tot_retries + retries), tot_cpus); in hypervisor_xcall_deliver()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | clock.c | 68 CPUState *cpu = first_cpu; in kvmclock_current_nsec() 333 X86CPU *cpu = X86_CPU(first_cpu); in kvmclock_create()
|
/openbmc/qemu/target/riscv/ |
H A D | arch_dump.c | 170 if (first_cpu == NULL) { in cpu_get_dump_info() 173 cpu = RISCV_CPU(first_cpu); in cpu_get_dump_info()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_caps.c | 197 CPUPPCState *env = cpu_env(first_cpu); in cap_vsx_apply() 220 if (!(cpu_env(first_cpu)->insns_flags2 & PPC2_DFP)) { in cap_dfp_apply() 440 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_nested_kvm_hv_apply() 503 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_nested_papr_apply() 538 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_large_decr_apply() 676 PowerPCCPU *cpu = POWERPC_CPU(first_cpu); in cap_ail_mode_3_apply()
|
/openbmc/qemu/hw/arm/ |
H A D | stm32vldiscovery.c | 54 armv7m_load_kernel(ARM_CPU(first_cpu), in stm32vldiscovery_init()
|
H A D | netduinoplus2.c | 51 armv7m_load_kernel(ARM_CPU(first_cpu), in netduinoplus2_init()
|
H A D | netduino2.c | 51 armv7m_load_kernel(ARM_CPU(first_cpu), machine->kernel_filename, in netduino2_init()
|
H A D | olimex-stm32-h405.c | 54 armv7m_load_kernel(ARM_CPU(first_cpu), in olimex_stm32_h405_init()
|
/openbmc/qemu/hw/i386/ |
H A D | x86-cpu.c | 43 CPUState *cs = first_cpu; in pic_irq_request()
|