Home
last modified time | relevance | path

Searched refs:SECS_PER_DAY (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/time/
A Dtimeconv.c37 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro
55 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()
A Dntp.c42 #define SECS_PER_DAY 86400 macro
415 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()
/linux/drivers/rtc/
A Drtc-cpcap.c30 #define SECS_PER_DAY 86400 macro
57 time = tod + ((cpcap->day & DAY_MASK) * SECS_PER_DAY); in cpcap2rtc_time()
68 cpcap->day = time / SECS_PER_DAY; in rtc2cpcap_time()
69 time %= SECS_PER_DAY; in rtc2cpcap_time()
264 rtc->rtc_dev->range_max = (timeu64_t) (DAY_MASK + 1) * SECS_PER_DAY - 1; in cpcap_rtc_probe()
/linux/arch/m68k/mac/
A Dmisc.c543 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro
560 days = div_u64_rem(time, SECS_PER_DAY, &rem); in unmktime()
563 rem += SECS_PER_DAY; in unmktime()
566 while (rem >= SECS_PER_DAY) { in unmktime()
567 rem -= SECS_PER_DAY; in unmktime()
/linux/fs/fat/
A Dmisc.c177 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro
220 + DAYS_DELTA) * SECS_PER_DAY; in fat_time_fat2unix()
314 div_s64_rem(seconds, SECS_PER_DAY, &remainder); in fat_truncate_time()

Completed in 12 milliseconds