Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 21 of 21) sorted by relevance

/qemu/hw/xen/
H A Dxen-bus-helper.c50 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_create() argument
56 if (!qemu_xen_xs_create(h, tid, owner, domid, perms, node)) { in xs_node_create()
61 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_destroy() argument
66 if (!qemu_xen_xs_destroy(h, tid, node)) { in xs_node_destroy()
71 void xs_node_vprintf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_vprintf() argument
84 if (!qemu_xen_xs_write(h, tid, path, value, len)) { in xs_node_vprintf()
100 xs_node_vprintf(h, tid, node, key, errp, fmt, ap); in xs_node_printf()
104 int xs_node_vscanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_vscanf() argument
113 value = qemu_xen_xs_read(h, tid, path, NULL); in xs_node_vscanf()
131 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid, in xs_node_scanf() argument
[all …]
H A Dxen-bus.c61 xs_transaction_t tid; in xen_device_unplug() local
67 tid = qemu_xen_xs_transaction_start(xenbus->xsh); in xen_device_unplug()
68 if (tid == XBT_NULL) { in xen_device_unplug()
79 xs_node_printf(xenbus->xsh, tid, xendev->backend_path, "state", in xen_device_unplug()
85 if (!qemu_xen_xs_transaction_end(xenbus->xsh, tid, false)) { in xen_device_unplug()
100 qemu_xen_xs_transaction_end(xenbus->xsh, tid, true); in xen_device_unplug()
121 xs_transaction_t tid; in xen_bus_backend_create() local
129 tid = qemu_xen_xs_transaction_start(xenbus->xsh); in xen_bus_backend_create()
130 if (tid == XBT_NULL) { in xen_bus_backend_create()
135 key = qemu_xen_xs_directory(xenbus->xsh, tid, path, &n); in xen_bus_backend_create()
[all …]
/qemu/include/hw/xen/
H A Dxen-bus-helper.h15 void xs_node_create(struct qemu_xs_handle *h, xs_transaction_t tid,
18 void xs_node_destroy(struct qemu_xs_handle *h, xs_transaction_t tid,
22 void xs_node_vprintf(struct qemu_xs_handle *h, xs_transaction_t tid,
26 void xs_node_printf(struct qemu_xs_handle *h, xs_transaction_t tid,
32 int xs_node_vscanf(struct qemu_xs_handle *h, xs_transaction_t tid,
36 int xs_node_scanf(struct qemu_xs_handle *h, xs_transaction_t tid,
/qemu/tests/tcg/hexagon/
H A Dsignal_context.c38 timer_t tid; in main() local
47 sev.sigev_value.sival_ptr = &tid; in main()
48 timer_create(CLOCK_REALTIME, &sev, &tid); in main()
53 timer_settime(tid, 0, &it, NULL); in main()
/qemu/tests/tcg/multiarch/
H A Dsignals.c111 timer_t tid; in test_signals() local
123 sev.sigev_value.sival_ptr = &tid; in test_signals()
124 chk_error(timer_create(CLOCK_REALTIME, &sev, &tid)); in test_signals()
130 chk_error(timer_settime(tid, 0, &it, NULL)); in test_signals()
142 chk_error(timer_delete(tid)); in test_signals()
/qemu/tests/migration/guestperf/
H A Dplot.py179 for tid in threads.keys():
181 go.Scatter(x=threads[tid]["xaxis"],
182 y=threads[tid]["yaxis"],
183 name="PID %s: %s" % (tid, report._scenario._name),
191 text=threads[tid]["labels"]))
310 for tid in threads.keys():
312 go.Scatter(x=threads[tid]["xaxis"],
313 y=threads[tid]["yaxis"],
315 name="VCPU %s: %s" % (tid, report._scenario._name),
323 text=threads[tid]["labels"]))
H A Dtimings.py23 def __init__(self, tid, timestamp, value): argument
25 self._tid = tid
H A Dengine.py57 for tid in tid_list:
58 statfile = "/proc/%d/task/%d/stat" % (pid, tid)
64 records.append(TimingRecord(tid, now, 1000 * (stime + utime) / jiffies_per_sec))
/qemu/gdbstub/
H A Dgdbstub.c314 if (!pid && !tid) { in gdb_get_cpu()
317 } else if (pid && !tid) { in gdb_get_cpu()
332 cpu = find_cpu(tid); in gdb_get_cpu()
689 if (tid) { in read_thread_id()
690 *tid = t; in read_thread_id()
706 uint32_t pid, tid; in gdb_handle_vcont() local
805 cpu = gdb_get_cpu(pid, tid); in gdb_handle_vcont()
1110 uint32_t pid, tid; in handle_set_thread() local
1129 tid = get_param(params, 1)->thread_id.tid; in handle_set_thread()
1131 if (gdb_handle_set_thread_user(pid, tid)) { in handle_set_thread()
[all …]
H A Dsystem.c124 g_autoptr(GString) tid = g_string_new(NULL); in gdb_vm_state_change()
146 gdb_append_thread_id(cpu, tid); in gdb_vm_state_change()
166 GDB_SIGNAL_TRAP, tid->str, type, in gdb_vm_state_change()
208 g_string_printf(buf, "T%02xthread:%s;", ret, tid->str); in gdb_vm_state_change()
H A Dinternals.h184 uint32_t tid; member
201 bool gdb_handle_set_thread_user(uint32_t pid, uint32_t tid); /* user */
H A Duser.c593 bool gdb_handle_set_thread_user(uint32_t pid, uint32_t tid) in gdb_handle_set_thread_user() argument
597 tid == gdbserver_user_state.fork_peer_tid) { in gdb_handle_set_thread_user()
/qemu/util/
H A Dqemu-thread-win32.c498 data, 0, &thread->tid); in qemu_thread_create()
525 thread->tid = GetCurrentThreadId(); in qemu_thread_get_self()
541 THREAD_SET_CONTEXT, FALSE, thread->tid); in qemu_thread_get_handle()
551 return GetCurrentThreadId() == thread->tid; in qemu_thread_is_self()
H A Doslib-posix.c102 long tid; in qemu_get_thread_id()
103 thr_self(&tid); in qemu_get_thread_id()
104 return (int)tid; in qemu_get_thread_id()
/qemu/include/qemu/
H A Dthread-win32.h40 unsigned tid; member
/qemu/tcg/
H A Dperf.c146 uint32_t tid; member
302 rec.tid = qemu_get_thread_id(); in write_jr_code_load()
/qemu/target/ppc/
H A Dmmu_helper.c1275 int tid = (env->spr[SPR_BOOKE_MAS6] & MAS6_SPID); in helper_booke206_tlbilx1() local
1284 ((tlb[j].mas1 & MAS1_TID_MASK) == tid)) { in helper_booke206_tlbilx1()
1297 int tid = (env->spr[SPR_BOOKE_MAS6] & MAS6_SPID); in helper_booke206_tlbilx3() local
1298 int pid = tid >> MAS6_SPID_SHIFT; in helper_booke206_tlbilx3()
/qemu/docs/system/
H A Dqemu-block-drivers.rst.inc657 tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.qemu.test
658 tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1 \\
660 tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 2 \\
662 tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL
/qemu/linux-user/
H A Dsyscall_defs.h2410 struct target_snd_timer_id tid; member
2424 struct target_snd_timer_id tid; member
2431 struct target_snd_timer_id tid; member
H A Dsyscall.c325 _syscall4(int, sys_rt_tgsigqueueinfo, pid_t, pid, pid_t, tid, int, sig,
688 safe_syscall2(int, tkill, int, tid, int, sig) in safe_syscall3()
6506 uint32_t tid; member
6525 info->tid = sys_gettid(); in clone_func()
6528 put_user_u32(info->tid, info->child_tidptr); in clone_func()
6530 put_user_u32(info->tid, info->parent_tidptr); in clone_func()
6639 ret = info.tid; in do_fork()
/qemu/docs/devel/
H A Dtracing.rst246 the tid/timestamp prefix for each trace event.