/xen/xen/arch/x86/hvm/ |
A D | rtc.c | 576 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 D | time.h | 40 struct tm { struct 51 struct tm gmtime(unsigned long t); 52 struct tm wallclock_time(uint64_t *ns);
|
/xen/xen/common/ |
A D | time.c | 45 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 D | console.c | 830 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 D | logging.ml | 126 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 D | xtl_logger_stdio.c | 60 struct tm lt_buf; in stdiostream_vmessage() 62 struct tm *lt= localtime_r(&now, <_buf); in stdiostream_vmessage()
|
/xen/tools/libxl/ |
A D | libxl_x86.c | 501 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 D | libxl_internal.h | 4805 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 D | xenstored_core.c | 145 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 D | vpt.h | 100 struct tm current_tm;
|
/xen/tools/xl/ |
A D | xl_vmcontrol.c | 491 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 D | xl_info.c | 733 struct tm *tmp; in current_time_to_string()
|
/xen/xen/drivers/passthrough/vtd/ |
A D | intremap.c | 313 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 D | utils.c | 240 p->remap.dst, p->remap.dlm, p->remap.tm, p->remap.rh, in vtd_dump_iommu_info()
|
A D | iommu.h | 294 tm : 1, member
|
/xen/xen/include/asm-x86/hvm/vmx/ |
A D | vmx.h | 49 tm : 1, /* bit 62 - VT-d transient-mapping hint in member
|
/xen/docs/misc/ |
A D | vtd-pi.txt | 183 tm : 1,
|
/xen/tools/console/daemon/ |
A D | io.c | 275 const struct tm *tmnow = localtime(&now); in write_with_timestamp()
|
/xen/docs/man/ |
A D | xl.cfg.5.pod.in | 1999 cpuid="host,tm=0,sse3=0" 2026 svm_vmcbclean syscall sysenter tbm tm tm2 topoext tsc tsc-deadline tsc_adjust
|