Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 37) sorted by relevance

12

/illumos-kvm-cmd/tcg/
H A Dtcg.c1427 tcg_out_st(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in tcg_reg_free()
1483 tcg_out_st(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in temp_save()
1588 tcg_out_ld(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in tcg_reg_alloc_mov()
1640 tcg_out_ld(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in tcg_reg_alloc_op()
1684 tcg_out_mov(s, ts->type, reg, ts->reg); in tcg_reg_alloc_op()
1765 if (ts->fixed_reg && ts->reg != reg) { in tcg_reg_alloc_op()
1766 tcg_out_mov(s, ts->type, ts->reg, reg); in tcg_reg_alloc_op()
1825 tcg_out_ld(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in tcg_reg_alloc_call()
1855 tcg_out_ld(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in tcg_reg_alloc_call()
1874 tcg_out_ld(s, ts->type, reg, ts->mem_reg, ts->mem_offset); in tcg_reg_alloc_call()
[all …]
/illumos-kvm-cmd/linux-user/
H A Dvm86.c75 TaskState *ts = env->opaque; in save_v86_state() local
97 set_flags(env->eflags, ts->v86flags, VIF_MASK | ts->v86mask); in save_v86_state()
134 TaskState *ts = env->opaque; in set_IF() local
136 ts->v86flags |= VIF_MASK; in set_IF()
146 TaskState *ts = env->opaque; in clear_IF() local
148 ts->v86flags &= ~VIF_MASK; in clear_IF()
163 TaskState *ts = env->opaque; in set_vflags_long() local
165 set_flags(ts->v86flags, eflags, ts->v86mask); in set_vflags_long()
178 set_flags(ts->v86flags, flags, ts->v86mask & 0xffff); in set_vflags_short()
196 return flags | (ts->v86flags & ts->v86mask); in get_vflags()
[all …]
H A Dlinuxload.c115 TaskState *ts = (TaskState *)thread_env->opaque; in loader_build_argptr() local
134 ts->info->arg_start = stringp; in loader_build_argptr()
141 ts->info->arg_end = stringp; in loader_build_argptr()
H A Dmain.c2675 if (ts->ts_tid == 0) { in task_settid()
2699 ts->used = 1; in init_task_state()
2700 ts->first_free = ts->sigqueue_table; in init_task_state()
2702 ts->sigqueue_table[i].next = &ts->sigqueue_table[i + 1]; in init_task_state()
2714 TaskState *ts; in main() local
3042 init_task_state(ts); in main()
3044 ts->info = info; in main()
3045 ts->bprm = &bprm; in main()
3046 env->opaque = ts; in main()
3047 task_settid(ts); in main()
[all …]
H A Delfload.c2026 prstatus->pr_pid = ts->ts_tid; in fill_prstatus()
2041 len = ts->info->arg_end - ts->info->arg_start; in fill_psinfo()
2058 filename = strdup(ts->bprm->filename); in fill_psinfo()
2071 elf_addr_t auxv = (elf_addr_t)ts->info->saved_auxv; in fill_auxv_note()
2124 filename = strdup(ts->bprm->filename); in core_dump_filename()
2204 TaskState *ts = (TaskState *)env->opaque; in fill_thread_info() local
2209 fill_prstatus(&ets->prstatus, ts, 0); in fill_thread_info()
2224 TaskState *ts = (TaskState *)env->opaque; in fill_note_info() local
2245 fill_prstatus(info->prstatus, ts, signr); in fill_note_info()
2249 fill_psinfo(info->psinfo, ts); in fill_note_info()
[all …]
H A Dsyscall.c3695 TaskState *ts; in clone_func() local
3702 task_settid(ts); in clone_func()
3741 TaskState *ts; in do_fork() local
4272 pts = &ts; in do_futex()
4376 TaskState *ts; in do_syscall() local
4402 qemu_free(ts); in do_syscall()
7231 struct timespec ts; in do_syscall() local
7242 struct timespec ts; in do_syscall() local
7253 struct timespec ts; in do_syscall() local
7255 ret = get_errno(clock_nanosleep(arg1, arg2, &ts, arg4 ? &ts : NULL)); in do_syscall()
[all …]
/illumos-kvm-cmd/darwin-user/
H A Dmachload.c108 bswap32s((uint32_t*)&ts->eax); in bswap_i386_thread_state()
109 bswap32s((uint32_t*)&ts->ebx); in bswap_i386_thread_state()
110 bswap32s((uint32_t*)&ts->ecx); in bswap_i386_thread_state()
111 bswap32s((uint32_t*)&ts->edx); in bswap_i386_thread_state()
112 bswap32s((uint32_t*)&ts->edi); in bswap_i386_thread_state()
116 bswap32s((uint32_t*)&ts->ss); in bswap_i386_thread_state()
119 bswap32s((uint32_t*)&ts->cs); in bswap_i386_thread_state()
120 bswap32s((uint32_t*)&ts->ds); in bswap_i386_thread_state()
121 bswap32s((uint32_t*)&ts->es); in bswap_i386_thread_state()
122 bswap32s((uint32_t*)&ts->fs); in bswap_i386_thread_state()
[all …]
/illumos-kvm-cmd/hw/
H A Dtcx.c224 s = ts->vram; in tcx_update_display()
252 f(ts, d, s, ts->width); in tcx_update_display()
255 f(ts, d, s, ts->width); in tcx_update_display()
258 f(ts, d, s, ts->width); in tcx_update_display()
261 f(ts, d, s, ts->width); in tcx_update_display()
304 s = ts->vram; in tcx24_update_display()
305 s24 = ts->vram24; in tcx24_update_display()
319 tcx24_draw_line32(ts, d, s, ts->width, cptr, s24); in tcx24_update_display()
324 tcx24_draw_line32(ts, d, s, ts->width, cptr, s24); in tcx24_update_display()
329 tcx24_draw_line32(ts, d, s, ts->width, cptr, s24); in tcx24_update_display()
[all …]
H A Dnseries.c44 } ts; member
223 tsc210x_key_event(s->ts.chip, code, !(keycode & 0x80)); in n800_key_event()
255 s->ts.chip = tsc2301_init(penirq, kbirq, dav); in n800_tsc_kbd_setup()
256 s->ts.opaque = s->ts.chip->opaque; in n800_tsc_kbd_setup()
257 s->ts.txrx = tsc210x_txrx; in n800_tsc_kbd_setup()
267 tsc210x_set_transform(s->ts.chip, &n800_pointercal); in n800_tsc_kbd_setup()
274 s->ts.opaque = tsc2005_init(pintdav); in n810_tsc_setup()
275 s->ts.txrx = tsc2005_txrx; in n810_tsc_setup()
277 tsc2005_set_transform(s->ts.opaque, &n810_pointercal); in n810_tsc_setup()
665 void *tsc = s->ts.opaque; in n8x0_spi_setup()
[all …]
/illumos-kvm-cmd/
H A Darm-semi.c107 ts->swi_errno = errno; in set_swi_errno()
128 TaskState *ts = env->opaque; in arm_semi_cb() local
133 ts->swi_errno = err; in arm_semi_cb()
185 TaskState *ts = env->opaque; in do_arm_semihosting() local
187 CPUState *ts = env; in do_arm_semihosting() local
368 return ts->swi_errno; in do_arm_semihosting()
382 ts->info->arg_end-ts->info->arg_start; in do_arm_semihosting()
443 if (!ts->heap_limit) { in do_arm_semihosting()
446 ts->heap_base = do_brk(0); in do_arm_semihosting()
455 ts->heap_limit = limit; in do_arm_semihosting()
[all …]
H A Dqemu-thread.c62 ts->tv_sec = ts->tv_sec + (long)(msecs / 1000); in timespec_add_ms()
63 ts->tv_nsec = (ts->tv_nsec + ((long)msecs % 1000) * 1000000); in timespec_add_ms()
64 if (ts->tv_nsec >= 1000000000) { in timespec_add_ms()
65 ts->tv_nsec -= 1000000000; in timespec_add_ms()
66 ts->tv_sec++; in timespec_add_ms()
73 struct timespec ts; in qemu_mutex_timedlock() local
75 clock_gettime(CLOCK_REALTIME, &ts); in qemu_mutex_timedlock()
76 timespec_add_ms(&ts, msecs); in qemu_mutex_timedlock()
140 struct timespec ts; in qemu_cond_timedwait() local
143 clock_gettime(CLOCK_REALTIME, &ts); in qemu_cond_timedwait()
[all …]
H A Dqemu-timer.c420 QEMUTimer *ts; in qemu_new_timer() local
424 ts->cb = cb; in qemu_new_timer()
426 return ts; in qemu_new_timer()
431 qemu_free(ts); in qemu_free_timer()
475 if (ts->expire_time && expire_time > ts->expire_time) { in qemu_mod_timer()
476 ts->interval = expire_time - ts->expire_time; in qemu_mod_timer()
483 *pt = ts; in qemu_mod_timer()
485 trace_qemu_mod_timer(ts, expire_time, ts->interval); in qemu_mod_timer()
527 if (!ts || ts->expire_time > current_time) in qemu_run_timers()
530 trace_qemu_run_timer(ts, ts->expire_time, current_time); in qemu_run_timers()
[all …]
H A Dqemu-timer.h41 void qemu_free_timer(QEMUTimer *ts);
42 void qemu_del_timer(QEMUTimer *ts);
43 void qemu_mod_timer(QEMUTimer *ts, int64_t expire_time);
44 int qemu_timer_pending(QEMUTimer *ts);
96 struct timespec ts; in get_clock()
97 clock_gettime(CLOCK_MONOTONIC, &ts); in get_clock()
98 return ts.tv_sec * 1000000000LL + ts.tv_nsec; in get_clock()
110 void qemu_get_timer(QEMUFile *f, QEMUTimer *ts);
111 void qemu_put_timer(QEMUFile *f, QEMUTimer *ts);
H A Dqemu-timer-common.c56 struct timespec ts; in init_get_clock() local
57 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in init_get_clock()
H A Dm68k-semi.c370 TaskState *ts = env->opaque; in do_m68k_semihosting() local
372 if (!ts->heap_limit) { in do_m68k_semihosting()
386 ts->heap_limit = base + size; in do_m68k_semihosting()
390 env->dregs[1] = ts->heap_limit; in do_m68k_semihosting()
391 env->aregs[7] = ts->stack_base; in do_m68k_semihosting()
H A Dposix-aio-compat.c103 struct timespec *ts) in cond_timedwait() argument
105 int ret = pthread_cond_timedwait(cond, mutex, ts); in cond_timedwait()
316 struct timespec ts; in aio_thread() local
319 ts.tv_sec = tv.tv_sec + 10; in aio_thread()
320 ts.tv_nsec = 0; in aio_thread()
326 ret = cond_timedwait(&cond, &lock, &ts); in aio_thread()
H A Dcmd.c478 char *ts, in timestr() argument
486 snprintf(ts, size, "%u:%02u.%02u", in timestr()
496 snprintf(ts, size, "%u:%02u:%02u.%02u", in timestr()
502 snprintf(ts, size, "0.%04u sec", (unsigned int) usec * 10000); in timestr()
H A Dlinux-aio.c121 struct timespec ts = { 0 }; in qemu_laio_completion_cb() local
135 nevents = io_getevents(s->ctx, val, MAX_EVENTS, events, &ts); in qemu_laio_completion_cb()
H A Dcpus.c540 struct timespec ts; in qemu_kvm_eat_signal() local
546 ts.tv_sec = timeout / 1000; in qemu_kvm_eat_signal()
547 ts.tv_nsec = (timeout % 1000) * 1000000; in qemu_kvm_eat_signal()
556 r = sigtimedwait(&waitset, &siginfo, &ts); in qemu_kvm_eat_signal()
/illumos-kvm-cmd/net/
H A Ddump.c53 } ts; member
62 int64_t ts; in dump_receive() local
70 ts = muldiv64(qemu_get_clock(vm_clock), 1000000, get_ticks_per_sec()); in dump_receive()
73 hdr.ts.tv_sec = ts / 1000000; in dump_receive()
74 hdr.ts.tv_usec = ts % 1000000; in dump_receive()
/illumos-kvm-cmd/target-sparc/
H A Dmachine.c62 qemu_put_be64s(f, &env->ts[i].tpc); in cpu_save()
63 qemu_put_be64s(f, &env->ts[i].tnpc); in cpu_save()
64 qemu_put_be64s(f, &env->ts[i].tstate); in cpu_save()
65 qemu_put_be32s(f, &env->ts[i].tt); in cpu_save()
158 qemu_get_be64s(f, &env->ts[i].tpc); in cpu_load()
159 qemu_get_be64s(f, &env->ts[i].tnpc); in cpu_load()
160 qemu_get_be64s(f, &env->ts[i].tstate); in cpu_load()
161 qemu_get_be32s(f, &env->ts[i].tt); in cpu_load()
/illumos-kvm-cmd/audio/
H A Daudio.h117 void AUD_init_time_stamp_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
118 uint64_t AUD_get_elapsed_usec_out (SWVoiceOut *sw, QEMUAudioTimeStamp *ts);
137 void AUD_init_time_stamp_in (SWVoiceIn *sw, QEMUAudioTimeStamp *ts);
138 uint64_t AUD_get_elapsed_usec_in (SWVoiceIn *sw, QEMUAudioTimeStamp *ts);
H A Daudio_template.h521 void glue (AUD_init_time_stamp_, TYPE) (SW *sw, QEMUAudioTimeStamp *ts) in glue()
527 ts->old_ts = sw->hw->ts_helper; in glue()
530 uint64_t glue (AUD_get_elapsed_usec_, TYPE) (SW *sw, QEMUAudioTimeStamp *ts) in glue()
539 old_ts = ts->old_ts; in glue()
/illumos-kvm-cmd/bsd-user/
H A Dmain.c718 void init_task_state(TaskState *ts) in init_task_state() argument
722 ts->used = 1; in init_task_state()
723 ts->first_free = ts->sigqueue_table; in init_task_state()
725 ts->sigqueue_table[i].next = &ts->sigqueue_table[i + 1]; in init_task_state()
727 ts->sigqueue_table[i].next = NULL; in init_task_state()
736 TaskState ts1, *ts = &ts1; in main() local
987 memset(ts, 0, sizeof(TaskState)); in main()
988 init_task_state(ts); in main()
989 ts->info = info; in main()
990 env->opaque = ts; in main()
/illumos-kvm-cmd/tests/
H A Dlinux-test.c228 struct timespec ts, rem; in test_time() local
234 ts.tv_sec = 0; in test_time()
235 ts.tv_nsec = 20 * 1000000; in test_time()
236 chk_error(nanosleep(&ts, &rem)); in test_time()

Completed in 64 milliseconds

12