Searched refs:rtc_date_offset (Results 1 – 2 of 2) sorted by relevance
209 static int rtc_date_offset = -1; /* -1 means no change */ variable381 if (rtc_date_offset == -1) { in qemu_get_timedate()387 ti -= rtc_date_offset; in qemu_get_timedate()398 if (rtc_date_offset == -1) in qemu_timedate_diff()404 seconds = mktimegm(tm) + rtc_date_offset; in qemu_timedate_diff()2708 rtc_date_offset = -1; in main()2737 rtc_date_offset = time(NULL) - rtc_start_date; in main()
278 static int rtc_date_offset = -1; /* -1 means no change */ variable598 if (rtc_date_offset == -1) { in qemu_get_timedate()604 ti -= rtc_date_offset; in qemu_get_timedate()615 if (rtc_date_offset == -1) in qemu_timedate_diff()621 seconds = mktimegm(tm) + rtc_date_offset; in qemu_timedate_diff()3189 rtc_date_offset = -1; in main()3217 rtc_date_offset = time(NULL) - rtc_start_date; in main()