Home
last modified time | relevance | path

Searched refs:tai_offset (Results 1 – 25 of 26) sorted by relevance

12

/dports/net/chrony/chrony-4.2/
H A Dsys_timex.c113 set_leap(int leap, int tai_offset) in set_leap() argument
133 if (tai_offset) { in set_leap()
135 txc.constant = tai_offset; in set_leap()
140 if (sys_tai_offset != tai_offset) { in set_leap()
141 sys_tai_offset = tai_offset; in set_leap()
142 LOG(LOGS_INFO, "System clock TAI offset set to %d seconds", tai_offset); in set_leap()
H A Dreference.c195 int tai_offset; in REF_Initialise() local
263 if (get_tz_leap(1341014400, &tai_offset) == LEAP_InsertSecond && tai_offset == 34 && in REF_Initialise()
264 get_tz_leap(1356912000, &tai_offset) == LEAP_Normal && tai_offset == 35) { in REF_Initialise()
602 *tai_offset = tz_tai_offset; in get_tz_leap()
655 *tai_offset = tz_tai_offset; in get_tz_leap()
750 int leap_sec, tai_offset; in update_leap_status() local
753 tai_offset = 0; in update_leap_status()
778 our_tai_offset = tai_offset; in update_leap_status()
1362 int tai_offset; in REF_GetTaiOffset() local
1364 get_tz_leap(ts->tv_sec, &tai_offset); in REF_GetTaiOffset()
[all …]
H A Drefclock.c409 int tai_offset; in convert_tai_offset() local
413 tai_offset = REF_GetTaiOffset(&tai_ts); in convert_tai_offset()
416 UTI_AddDoubleToTimespec(&tai_ts, -tai_offset, &utc_ts); in convert_tai_offset()
417 tai_offset = REF_GetTaiOffset(&utc_ts); in convert_tai_offset()
419 if (!tai_offset) in convert_tai_offset()
422 *offset -= tai_offset; in convert_tai_offset()
H A Dlocalp.h58 typedef void (*lcl_SetLeapDriver)(int leap, int tai_offset);
H A Dlocal.h211 extern void LCL_SetSystemLeap(int leap, int tai_offset);
H A Dlocal.c716 LCL_SetSystemLeap(int leap, int tai_offset) in LCL_SetSystemLeap() argument
719 (drv_set_leap)(leap, tai_offset); in LCL_SetSystemLeap()
/dports/net/chrony-lite/chrony-4.2/
H A Dsys_timex.c113 set_leap(int leap, int tai_offset) in set_leap() argument
133 if (tai_offset) { in set_leap()
135 txc.constant = tai_offset; in set_leap()
140 if (sys_tai_offset != tai_offset) { in set_leap()
141 sys_tai_offset = tai_offset; in set_leap()
142 LOG(LOGS_INFO, "System clock TAI offset set to %d seconds", tai_offset); in set_leap()
H A Dreference.c195 int tai_offset; in REF_Initialise() local
263 if (get_tz_leap(1341014400, &tai_offset) == LEAP_InsertSecond && tai_offset == 34 && in REF_Initialise()
264 get_tz_leap(1356912000, &tai_offset) == LEAP_Normal && tai_offset == 35) { in REF_Initialise()
602 *tai_offset = tz_tai_offset; in get_tz_leap()
655 *tai_offset = tz_tai_offset; in get_tz_leap()
750 int leap_sec, tai_offset; in update_leap_status() local
753 tai_offset = 0; in update_leap_status()
778 our_tai_offset = tai_offset; in update_leap_status()
1362 int tai_offset; in REF_GetTaiOffset() local
1364 get_tz_leap(ts->tv_sec, &tai_offset); in REF_GetTaiOffset()
[all …]
H A Drefclock.c409 int tai_offset; in convert_tai_offset() local
413 tai_offset = REF_GetTaiOffset(&tai_ts); in convert_tai_offset()
416 UTI_AddDoubleToTimespec(&tai_ts, -tai_offset, &utc_ts); in convert_tai_offset()
417 tai_offset = REF_GetTaiOffset(&utc_ts); in convert_tai_offset()
419 if (!tai_offset) in convert_tai_offset()
422 *offset -= tai_offset; in convert_tai_offset()
H A Dlocalp.h58 typedef void (*lcl_SetLeapDriver)(int leap, int tai_offset);
H A Dlocal.h211 extern void LCL_SetSystemLeap(int leap, int tai_offset);
H A Dlocal.c716 LCL_SetSystemLeap(int leap, int tai_offset) in LCL_SetSystemLeap() argument
719 (drv_set_leap)(leap, tai_offset); in LCL_SetSystemLeap()
/dports/sysutils/perp/perp-2.07/lasagna/tain/
H A Dtain_to_utc.c13 static uint64_t tai_offset = TAIN_UTC_OFFSET; variable
19 return (time_t)(t->sec - tai_offset); in tain_to_utc()
H A Dtain_load_utc.c13 static uint64_t tai_offset = TAIN_UTC_OFFSET; variable
18 t->sec = tai_offset + (uint64_t)u; in tain_load_utc()
/dports/net/ntp/ntp-4.2.8p15/ntpd/
H A Dntp_leapsec.c657 int tai_offset, in leapsec_autokey_tai() argument
666 (void)tai_offset; in leapsec_autokey_tai()
673 if (pt->head.base_tai != 0 || tai_offset < 10) in leapsec_autokey_tai()
703 tai_offset -= era.taiof; in leapsec_autokey_tai()
706 pt->head.base_tai += tai_offset; in leapsec_autokey_tai()
707 pt->head.this_tai += tai_offset; in leapsec_autokey_tai()
708 pt->head.next_tai += tai_offset; in leapsec_autokey_tai()
712 pt->info[idx].taiof += tai_offset; in leapsec_autokey_tai()
H A Dntp_leapsec.h271 extern int/*BOOL*/ leapsec_autokey_tai(int tai_offset, uint32_t ntpnow,
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dtimekeeper_internal.h101 s32 tai_offset; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dtimekeeper_internal.h101 s32 tai_offset; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dtimekeeper_internal.h101 s32 tai_offset; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/kernel/time/
H A Dtimekeeping.c163 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono()
1417 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset() argument
1419 tk->tai_offset = tai_offset; in __timekeeping_set_tai_offset()
1420 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
2073 __timekeeping_set_tai_offset(tk, tk->tai_offset - leap); in accumulate_nsecs_to_secs()
2420 orig_tai = tai = tk->tai_offset; in do_adjtimex()
H A Dvsyscall.c68 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_data()
/dports/multimedia/libv4l/linux-5.13-rc2/kernel/time/
H A Dtimekeeping.c163 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono()
1417 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset() argument
1419 tk->tai_offset = tai_offset; in __timekeeping_set_tai_offset()
1420 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
2073 __timekeeping_set_tai_offset(tk, tk->tai_offset - leap); in accumulate_nsecs_to_secs()
2420 orig_tai = tai = tk->tai_offset; in do_adjtimex()
H A Dvsyscall.c68 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_data()
/dports/multimedia/v4l-utils/linux-5.13-rc2/kernel/time/
H A Dtimekeeping.c163 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono()
1417 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset() argument
1419 tk->tai_offset = tai_offset; in __timekeeping_set_tai_offset()
1420 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
2073 __timekeeping_set_tai_offset(tk, tk->tai_offset - leap); in accumulate_nsecs_to_secs()
2420 orig_tai = tai = tk->tai_offset; in do_adjtimex()
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntpd/
H A Dntp_leapsec.c553 int tai_offset, in leapsec_add_fix() argument
562 || !leapsec_raw(pt, ttime, tai_offset, false) ) in leapsec_add_fix()
567 pt->lsig.taiof = (int16_t)tai_offset; in leapsec_add_fix()

12