Searched refs:SECS_PER_DAY (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/kernel/time/ |
D | timeconv.c | 68 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro 84 days = div_s64_rem(totalsecs, SECS_PER_DAY, &remainder); in time64_to_tm() 88 rem += SECS_PER_DAY; in time64_to_tm() 91 while (rem >= SECS_PER_DAY) { in time64_to_tm() 92 rem -= SECS_PER_DAY; in time64_to_tm()
|
D | ntp.c | 42 #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-v5.10/drivers/rtc/ |
D | rtc-cpcap.c | 30 #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-v5.10/arch/m68k/mac/ |
D | misc.c | 544 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro 561 days = div_u64_rem(time, SECS_PER_DAY, &rem); in unmktime() 564 rem += SECS_PER_DAY; in unmktime() 567 while (rem >= SECS_PER_DAY) { in unmktime() 568 rem -= SECS_PER_DAY; in unmktime()
|
/Linux-v5.10/fs/fat/ |
D | misc.c | 177 #define SECS_PER_DAY (SECS_PER_HOUR * 24) macro 220 + DAYS_DELTA) * SECS_PER_DAY; in fat_time_fat2unix() 311 div_s64_rem(seconds, SECS_PER_DAY, &remainder); in fat_truncate_time()
|