| /qemu/migration/ |
| A D | threadinfo.c | 26 MigrationThread *migration_threads_add(const char *name, int thread_id) in migration_threads_add() argument 30 thread->thread_id = thread_id; in migration_threads_add() 58 info->thread_id = thread->thread_id; in qmp_query_migrationthreads()
|
| A D | threadinfo.h | 20 int thread_id; /* ID of the underlying host thread */ member 24 MigrationThread *migration_threads_add(const char *name, int thread_id);
|
| /qemu/util/ |
| A D | thread-context.c | 46 tc->thread_id = qemu_get_thread_id(); in thread_context_run() 116 if (tc->thread_id != -1) { in thread_context_set_cpu_affinity() 145 if (tc->thread_id == -1) { in thread_context_get_cpu_affinity() 216 if (tc->thread_id != -1) { in thread_context_set_node_affinity() 243 uint64_t value = tc->thread_id; in thread_context_get_thread_id() 261 while (tc->thread_id == -1) { in thread_context_instance_complete() 295 tc->thread_id = -1; in thread_context_instance_init() 305 if (tc->thread_id != -1) { in thread_context_instance_finalize()
|
| /qemu/ |
| A D | iothread.c | 50 iothread->thread_id = qemu_get_thread_id(); in iothread_run() 106 iothread->thread_id = -1; in iothread_instance_init() 217 while (iothread->thread_id == -1) { in iothread_init() 355 info->thread_id = iothread->thread_id; in query_one_iothread()
|
| /qemu/target/i386/kvm/ |
| A D | vmsr_energy.h | 45 unsigned int thread_id; member 78 unsigned int thread_id,
|
| A D | vmsr_energy.c | 259 unsigned int thread_id, in vmsr_read_thread_stat() argument 267 path_name = g_strdup_printf("/proc/%u/task/%d/stat", pid, thread_id); in vmsr_read_thread_stat()
|
| /qemu/accel/tcg/ |
| A D | tcg-accel-ops-rr.c | 194 cpu->thread_id = qemu_get_thread_id(); in rr_cpu_thread_fn() 335 cpu->thread_id = first_cpu->thread_id; in rr_start_vcpu_thread()
|
| A D | tcg-accel-ops-mttcg.c | 82 cpu->thread_id = qemu_get_thread_id(); in mttcg_cpu_thread_fn()
|
| /qemu/gdbstub/ |
| A D | gdbstub.c | 239 static CPUState *find_cpu(uint32_t thread_id) in find_cpu() argument 244 if (gdb_get_cpu_index(cpu) == thread_id) { in find_cpu() 918 this_param.thread_id.kind = in cmd_parse_params() 920 &this_param.thread_id.pid, in cmd_parse_params() 921 &this_param.thread_id.tid); in cmd_parse_params() 1051 cpu = gdb_get_cpu(gdb_get_cmd_param(params, 0)->thread_id.pid, in handle_thread_alive() 1052 gdb_get_cmd_param(params, 0)->thread_id.tid); in handle_thread_alive() 1110 pid = gdb_get_cmd_param(params, 1)->thread_id.pid; in handle_set_thread() 1111 tid = gdb_get_cmd_param(params, 1)->thread_id.tid; in handle_set_thread() 1605 cpu = gdb_get_cpu(gdb_get_cmd_param(params, 0)->thread_id.pid, in handle_query_thread_extra() [all …]
|
| /qemu/hw/i386/ |
| A D | x86-common.c | 337 if (cpu->thread_id < 0) { in x86_cpu_pre_plug() 340 } else if (cpu->thread_id > (smp_threads - 1)) { in x86_cpu_pre_plug() 342 cpu->thread_id, smp_threads - 1); in x86_cpu_pre_plug() 350 topo_ids.smt_id = cpu->thread_id; in x86_cpu_pre_plug() 411 if (cpu->thread_id != -1 && cpu->thread_id != topo_ids.smt_id) { in x86_cpu_pre_plug() 413 " 0x%x (thread-id: %u)", cpu->thread_id, cpu->apic_id, in x86_cpu_pre_plug() 417 cpu->thread_id = topo_ids.smt_id; in x86_cpu_pre_plug()
|
| /qemu/target/ppc/ |
| A D | misc_helper.c | 260 uint32_t thread_id = ppc_cpu_tir(ccpu); in helper_load_dpdes() local 263 dpdes |= (0x1 << thread_id); in helper_load_dpdes() 289 uint32_t thread_id = ppc_cpu_tir(ccpu); in helper_store_dpdes() local 291 ppc_set_irq(ccpu, PPC_INTERRUPT_DOORBELL, val & (0x1 << thread_id)); in helper_store_dpdes()
|
| /qemu/include/qemu/ |
| A D | thread-context.h | 33 unsigned int thread_id; member
|
| /qemu/tests/avocado/ |
| A D | hotplug_cpu.py | 36 thread_id=0)
|
| /qemu/include/gdbstub/ |
| A D | commands.h | 22 } thread_id; member
|
| /qemu/include/sysemu/ |
| A D | iothread.h | 35 int thread_id; member
|
| /qemu/accel/ |
| A D | dummy-cpus.c | 29 cpu->thread_id = qemu_get_thread_id(); in dummy_cpu_thread_fn()
|
| /qemu/hw/ppc/ |
| A D | pnv.c | 1204 uint32_t core_id, uint32_t thread_id, in pnv_get_pir_tir_p8() argument 1208 *pir = (chip->chip_id << 7) | (core_id << 3) | thread_id; in pnv_get_pir_tir_p8() 1211 *tir = thread_id; in pnv_get_pir_tir_p8() 1265 uint32_t core_id, uint32_t thread_id, in pnv_get_pir_tir_p9() argument 1270 thread_id <<= 1; in pnv_get_pir_tir_p9() 1271 thread_id |= core_id & 1; in pnv_get_pir_tir_p9() 1275 *pir = (chip->chip_id << 8) | (core_id << 3) | thread_id; in pnv_get_pir_tir_p9() 1283 *tir = thread_id; in pnv_get_pir_tir_p9() 1304 thread_id <<= 1; in pnv_get_pir_tir_p10() 1305 thread_id |= core_id & 1; in pnv_get_pir_tir_p10() [all …]
|
| /qemu/target/i386/nvmm/ |
| A D | nvmm-accel-ops.c | 30 cpu->thread_id = qemu_get_thread_id(); in qemu_nvmm_cpu_thread_fn()
|
| /qemu/target/i386/whpx/ |
| A D | whpx-accel-ops.c | 30 cpu->thread_id = qemu_get_thread_id(); in whpx_cpu_thread_fn()
|
| /qemu/accel/kvm/ |
| A D | kvm-accel-ops.c | 38 cpu->thread_id = qemu_get_thread_id(); in kvm_vcpu_thread_fn()
|
| /qemu/hw/core/ |
| A D | machine-hmp-cmds.c | 43 monitor_printf(mon, " thread_id=%" PRId64 "\n", cpu->value->thread_id); in hmp_info_cpus() 98 monitor_printf(mon, " thread-id: \"%" PRIu64 "\"\n", c->thread_id); in hmp_hotpluggable_cpus()
|
| A D | machine-qmp-cmds.c | 47 value->thread_id = cpu->thread_id; in qmp_query_cpus_fast()
|
| /qemu/include/hw/ppc/ |
| A D | pnv_chip.h | 160 void (*get_pir_tir)(PnvChip *chip, uint32_t core_id, uint32_t thread_id,
|
| /qemu/qga/ |
| A D | channel-win32.c | 8 guint thread_id; member
|
| /qemu/monitor/ |
| A D | hmp-cmds.c | 199 monitor_printf(mon, " thread_id=%" PRId64 "\n", value->thread_id); in hmp_info_iothreads()
|