Searched refs:SECS_PER_DAY (Results 1 – 2 of 2) sorted by relevance
37 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro55 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm()59 rem += SECS_PER_DAY; in time64_to_tm()62 while (rem >= SECS_PER_DAY) { in time64_to_tm()63 rem -= SECS_PER_DAY; in time64_to_tm()
42 #define SECS_PER_DAY 86400 macro415 div_s64_rem(secs, SECS_PER_DAY, &rem); in second_overflow()416 ntp_next_leap_sec = secs + SECS_PER_DAY - rem; in second_overflow()419 div_s64_rem(secs + 1, SECS_PER_DAY, &rem); in second_overflow()420 ntp_next_leap_sec = secs + SECS_PER_DAY - rem; in second_overflow()