Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 19 of 19) sorted by relevance

/xen/xen/arch/x86/hvm/
A Drtc.c576 struct tm *tm = &s->current_tm; in rtc_set_time() local
582 before = mktime(get_year(tm->tm_year), tm->tm_mon + 1, tm->tm_mday, in rtc_set_time()
583 tm->tm_hour, tm->tm_min, tm->tm_sec); in rtc_set_time()
585 tm->tm_sec = from_bcd(s, s->hw.cmos_data[RTC_SECONDS]); in rtc_set_time()
593 after = mktime(get_year(tm->tm_year), tm->tm_mon + 1, tm->tm_mday, in rtc_set_time()
594 tm->tm_hour, tm->tm_min, tm->tm_sec); in rtc_set_time()
606 const struct tm *tm = &s->current_tm; in rtc_copy_date() local
610 s->hw.cmos_data[RTC_SECONDS] = to_bcd(s, tm->tm_sec); in rtc_copy_date()
611 s->hw.cmos_data[RTC_MINUTES] = to_bcd(s, tm->tm_min); in rtc_copy_date()
620 int h = (tm->tm_hour % 12) ? tm->tm_hour % 12 : 12; in rtc_copy_date()
[all …]
/xen/xen/include/xen/
A Dtime.h40 struct tm { struct
51 struct tm gmtime(unsigned long t);
52 struct tm wallclock_time(uint64_t *ns);
/xen/xen/common/
A Dtime.c45 struct tm gmtime(unsigned long t) in gmtime()
47 struct tm tbuf; in gmtime()
166 struct tm wallclock_time(uint64_t *ns) in wallclock_time()
171 return (struct tm) { 0 }; in wallclock_time()
/xen/xen/drivers/char/
A Dconsole.c830 struct tm tm; in printk_start_of_line() local
840 tm = wallclock_time(&nsec); in printk_start_of_line()
842 if ( tm.tm_mday == 0 ) in printk_start_of_line()
847 1900 + tm.tm_year, tm.tm_mon + 1, tm.tm_mday, in printk_start_of_line()
848 tm.tm_hour, tm.tm_min, tm.tm_sec); in printk_start_of_line()
855 1900 + tm.tm_year, tm.tm_mon + 1, tm.tm_mday, in printk_start_of_line()
856 tm.tm_hour, tm.tm_min, tm.tm_sec, nsec / 1000000); in printk_start_of_line()
/xen/tools/ocaml/xenstored/
A Dlogging.ml126 let tm = Unix.gmtime time in
129 (1900 + tm.Unix.tm_year) (tm.Unix.tm_mon + 1) tm.Unix.tm_mday
130 tm.Unix.tm_hour tm.Unix.tm_min tm.Unix.tm_sec
/xen/tools/libs/toollog/
A Dxtl_logger_stdio.c60 struct tm lt_buf; in stdiostream_vmessage()
62 struct tm *lt= localtime_r(&now, &lt_buf); in stdiostream_vmessage()
/xen/tools/libxl/
A Dlibxl_x86.c501 struct tm *tm, result; in libxl__arch_domain_create() local
504 tm = localtime_r(&t, &result); in libxl__arch_domain_create()
506 if (!tm) { in libxl__arch_domain_create()
512 rtc_timeoffset += tm->tm_gmtoff; in libxl__arch_domain_create()
A Dlibxl_internal.h4805 static inline bool libxl__timer_mode_is_default(libxl_timer_mode *tm) in libxl__timer_mode_is_default() argument
4807 return *tm == LIBXL_TIMER_MODE_DEFAULT; in libxl__timer_mode_is_default()
/xen/tools/xenstore/
A Dxenstored_core.c145 struct tm *tm; in trace_io() local
155 tm = localtime(&now); in trace_io()
159 tm->tm_year + 1900, tm->tm_mon + 1, in trace_io()
160 tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, in trace_io()
/xen/xen/include/asm-x86/hvm/
A Dvpt.h100 struct tm current_tm;
/xen/tools/xl/
A Dxl_vmcontrol.c491 struct tm tm; in preserve_domain() local
505 if (gmtime_r(&now, &tm) == NULL) { in preserve_domain()
510 if (!strftime(&strtime[0], sizeof(strtime), "-%Y%m%dT%H%MZ", &tm)) { in preserve_domain()
A Dxl_info.c733 struct tm *tmp; in current_time_to_string()
/xen/xen/drivers/passthrough/vtd/
A Dintremap.c313 old_rte->trigger = iremap_entry->remap.tm; in remap_entry_to_ioapic_rte()
379 new_ire.remap.tm = new_rte.trigger; in ioapic_rte_to_remap_entry()
654 new_ire.remap.tm = msg->data >> MSI_DATA_TRIGGER_SHIFT; in msi_msg_to_remap_entry()
A Dutils.c240 p->remap.dst, p->remap.dlm, p->remap.tm, p->remap.rh, in vtd_dump_iommu_info()
A Diommu.h294 tm : 1, member
/xen/xen/include/asm-x86/hvm/vmx/
A Dvmx.h49 tm : 1, /* bit 62 - VT-d transient-mapping hint in member
/xen/docs/misc/
A Dvtd-pi.txt183 tm : 1,
/xen/tools/console/daemon/
A Dio.c275 const struct tm *tmnow = localtime(&now); in write_with_timestamp()
/xen/docs/man/
A Dxl.cfg.5.pod.in1999 cpuid="host,tm=0,sse3=0"
2026 svm_vmcbclean syscall sysenter tbm tm tm2 topoext tsc tsc-deadline tsc_adjust

Completed in 44 milliseconds