/openbmc/linux/fs/xfs/ |
H A D | xfs_stats.h | 165 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v++; \ 166 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v++; \ 171 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v--; \ 172 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v--; \ 177 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->s.v += (inc); \ 178 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->s.v += (inc); \ 183 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]++; \ 184 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]++; \ 189 per_cpu_ptr(xfsstats.xs_stats, current_cpu())->a[off]; \ 190 per_cpu_ptr(mp->m_stats.xs_stats, current_cpu())->a[off]; \ [all …]
|
/openbmc/qemu/plugins/ |
H A D | api.c | 356 uint64_t low = current_cpu->neg.plugin_mem_value_low; in qemu_plugin_mem_get_value() 379 value.data.u128.high = current_cpu->neg.plugin_mem_value_high; in qemu_plugin_mem_get_value() 399 CPUState *cpu = current_cpu; in qemu_plugin_get_hwaddr() 482 TaskState *ts = get_task_state(current_cpu); in qemu_plugin_path_to_binary() 492 TaskState *ts = get_task_state(current_cpu); in qemu_plugin_start_code() 502 TaskState *ts = get_task_state(current_cpu); in qemu_plugin_end_code() 512 TaskState *ts = get_task_state(current_cpu); in qemu_plugin_entry_code() 557 g_assert(current_cpu); in qemu_plugin_get_registers() 559 g_autoptr(GArray) regs = gdb_get_register_list(current_cpu); in qemu_plugin_get_registers() 565 g_assert(current_cpu); in qemu_plugin_read_memory_vaddr() [all …]
|
H A D | loader.c | 418 if (current_cpu) { in plugin_reset_uninstall() 419 async_safe_run_on_cpu(current_cpu, plugin_flush_destroy, in plugin_reset_uninstall()
|
/openbmc/qemu/ |
H A D | cpu-common.c | 125 __thread CPUState *current_cpu; variable 162 CPUState *self_cpu = current_cpu; in do_run_on_cpu() 165 current_cpu = self_cpu; in do_run_on_cpu() 198 g_assert(!current_cpu->running); in start_exclusive() 200 if (current_cpu->exclusive_context_count) { in start_exclusive() 201 current_cpu->exclusive_context_count++; in start_exclusive() 232 current_cpu->exclusive_context_count = 1; in start_exclusive() 238 current_cpu->exclusive_context_count--; in end_exclusive() 239 if (current_cpu->exclusive_context_count) { in end_exclusive()
|
/openbmc/qemu/hw/i386/ |
H A D | vmport.c | 97 CPUState *cs = current_cpu; in vmport_ioport_read() 149 X86CPU *cpu = X86_CPU(current_cpu); in vmport_ioport_write() 159 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_version() 173 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_bios_uuid() 185 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_ram_size() 196 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_hz() 214 X86CPU *cpu = X86_CPU(current_cpu); in vmport_cmd_get_vcpu_info()
|
H A D | x86-cpu.c | 91 if (current_cpu) { in cpu_get_current_apic() 92 X86CPU *cpu = X86_CPU(current_cpu); in cpu_get_current_apic()
|
H A D | vmmouse.c | 77 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_get_data() 87 X86CPU *cpu = X86_CPU(current_cpu); in vmmouse_set_data()
|
/openbmc/qemu/system/ |
H A D | cpus.c | 377 if (current_cpu) { in sigbus_handler() 379 if (kvm_on_sigbus_vcpu(current_cpu, siginfo->si_code, siginfo->si_addr)) { in sigbus_handler() 501 assert(current_cpu); in qemu_cpu_kick_self() 502 cpus_kick_thread(current_cpu); in qemu_cpu_kick_self() 512 return current_cpu && qemu_cpu_is_self(current_cpu); in qemu_in_vcpu_thread() 693 if (current_cpu) { in cpu_stop_current() 694 current_cpu->stop = true; in cpu_stop_current() 695 cpu_exit(current_cpu); in cpu_stop_current()
|
/openbmc/qemu/hw/misc/ |
H A D | mips_itu.c | 185 c->blocked_threads |= 1ULL << current_cpu->cpu_index; in block_thread_and_exit() 186 current_cpu->halted = 1; in block_thread_and_exit() 187 current_cpu->exception_index = EXCP_HLT; in block_thread_and_exit() 188 cpu_loop_exit_restore(current_cpu, current_cpu->mem_io_pc); in block_thread_and_exit() 372 current_cpu->exception_index = excp; in raise_exception() 373 cpu_loop_exit(current_cpu); in raise_exception()
|
H A D | mips_cmgcr.c | 76 MIPSGCRVPState *current_vps = &gcr->vps[current_cpu->cpu_index]; in gcr_read() 130 MIPSGCRVPState *current_vps = &gcr->vps[current_cpu->cpu_index]; in gcr_write() 145 cpu_set_exception_base(current_cpu->cpu_index, in gcr_write()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_xscom.c | 167 xscom_complete(current_cpu, HMER_XSCOM_FAIL | HMER_XSCOM_DONE); in xscom_read() 172 xscom_complete(current_cpu, HMER_XSCOM_DONE); in xscom_read() 194 xscom_complete(current_cpu, HMER_XSCOM_FAIL | HMER_XSCOM_DONE); in xscom_write() 199 xscom_complete(current_cpu, HMER_XSCOM_DONE); in xscom_write()
|
H A D | mpc8544_guts.c | 79 CPUPPCState *env = cpu_env(current_cpu); in mpc8544_guts_read()
|
/openbmc/qemu/accel/tcg/ |
H A D | icount-common.c | 107 CPUState *cpu = current_cpu; in icount_get_raw_locked() 497 if (current_cpu) { in icount_notify_exit() 498 qemu_cpu_kick(current_cpu); in icount_notify_exit()
|
H A D | tb-maint.c | 1079 cpu_restore_state_from_tb(current_cpu, current_tb, pc); in tb_invalidate_phys_page_unwind() 1086 CPUState *cpu = current_cpu; in tb_invalidate_phys_page_unwind() 1087 cpu->cflags_next_tb = 1 | CF_NOIRQ | curr_cflags(current_cpu); in tb_invalidate_phys_page_unwind() 1141 cpu_restore_state_from_tb(current_cpu, current_tb, retaddr); in tb_invalidate_phys_page_range__locked() 1157 current_cpu->cflags_next_tb = 1 | CF_NOIRQ | curr_cflags(current_cpu); in tb_invalidate_phys_page_range__locked() 1159 cpu_loop_exit_noexc(current_cpu); in tb_invalidate_phys_page_range__locked()
|
H A D | tcg-accel-ops-rr.c | 205 current_cpu = cpu; in rr_cpu_thread_fn() 249 current_cpu = cpu; in rr_cpu_thread_fn()
|
H A D | tcg-accel-ops-mttcg.c | 84 current_cpu = cpu; in mttcg_cpu_thread_fn()
|
/openbmc/qemu/hw/timer/ |
H A D | a9gtimer.c | 56 if (current_cpu->cpu_index >= s->num_cpu) { in a9_gtimer_get_current_cpu() 58 s->num_cpu, current_cpu->cpu_index); in a9_gtimer_get_current_cpu() 60 return current_cpu->cpu_index; in a9_gtimer_get_current_cpu()
|
H A D | arm_mptimer.c | 46 int cpu_id = current_cpu ? current_cpu->cpu_index : 0; in get_current_cpu()
|
/openbmc/qemu/include/sysemu/ |
H A D | dump.h | 79 uint32_t current_cpu; /* CPU# which handles dump */ member 97 uint32_t current_cpu; /* CPU# which handles dump */ member
|
/openbmc/qemu/accel/ |
H A D | dummy-cpus.c | 30 current_cpu = cpu; in dummy_cpu_thread_fn()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_txrx.c | 44 int current_cpu = smp_processor_id(); in mlx5e_channel_no_affinity_change() local 46 return cpumask_test_cpu(current_cpu, c->aff_mask); in mlx5e_channel_no_affinity_change()
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen-hvm.c | 490 cpu = X86_CPU(current_cpu); in regs_to_cpu() 502 X86CPU *cpu = X86_CPU(current_cpu); in regs_from_cpu() 521 current_cpu = state->cpu_by_vcpu_id[state->send_vcpu]; in handle_vmport_ioreq() 525 current_cpu = NULL; in handle_vmport_ioreq()
|
/openbmc/qemu/target/i386/nvmm/ |
H A D | nvmm-accel-ops.c | 31 current_cpu = cpu; in qemu_nvmm_cpu_thread_fn()
|
/openbmc/qemu/target/i386/whpx/ |
H A D | whpx-accel-ops.c | 31 current_cpu = cpu; in whpx_cpu_thread_fn()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-accel-ops.c | 39 current_cpu = cpu; in kvm_vcpu_thread_fn()
|