Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 36) sorted by relevance

12

/qemu/migration/
A Dthreadinfo.c26 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 Dthreadinfo.h20 int thread_id; /* ID of the underlying host thread */ member
24 MigrationThread *migration_threads_add(const char *name, int thread_id);
/qemu/util/
A Dthread-context.c46 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 Diothread.c50 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 Dvmsr_energy.h45 unsigned int thread_id; member
78 unsigned int thread_id,
A Dvmsr_energy.c259 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 Dtcg-accel-ops-rr.c194 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 Dtcg-accel-ops-mttcg.c82 cpu->thread_id = qemu_get_thread_id(); in mttcg_cpu_thread_fn()
/qemu/gdbstub/
A Dgdbstub.c239 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 Dx86-common.c337 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 Dmisc_helper.c260 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 Dthread-context.h33 unsigned int thread_id; member
/qemu/tests/avocado/
A Dhotplug_cpu.py36 thread_id=0)
/qemu/include/gdbstub/
A Dcommands.h22 } thread_id; member
/qemu/include/sysemu/
A Diothread.h35 int thread_id; member
/qemu/accel/
A Ddummy-cpus.c29 cpu->thread_id = qemu_get_thread_id(); in dummy_cpu_thread_fn()
/qemu/hw/ppc/
A Dpnv.c1204 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 Dnvmm-accel-ops.c30 cpu->thread_id = qemu_get_thread_id(); in qemu_nvmm_cpu_thread_fn()
/qemu/target/i386/whpx/
A Dwhpx-accel-ops.c30 cpu->thread_id = qemu_get_thread_id(); in whpx_cpu_thread_fn()
/qemu/accel/kvm/
A Dkvm-accel-ops.c38 cpu->thread_id = qemu_get_thread_id(); in kvm_vcpu_thread_fn()
/qemu/hw/core/
A Dmachine-hmp-cmds.c43 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 Dmachine-qmp-cmds.c47 value->thread_id = cpu->thread_id; in qmp_query_cpus_fast()
/qemu/include/hw/ppc/
A Dpnv_chip.h160 void (*get_pir_tir)(PnvChip *chip, uint32_t core_id, uint32_t thread_id,
/qemu/qga/
A Dchannel-win32.c8 guint thread_id; member
/qemu/monitor/
A Dhmp-cmds.c199 monitor_printf(mon, " thread_id=%" PRId64 "\n", value->thread_id); in hmp_info_iothreads()

Completed in 32 milliseconds

12