Searched refs:SECS_PER_DAY (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|
/kernel/liteos_m/kal/posix/src/ |
D | time.c | 543 days = t / SECS_PER_DAY; in ConvertSecs2Utc() 544 rem = t % SECS_PER_DAY; in ConvertSecs2Utc() 547 rem += SECS_PER_DAY; in ConvertSecs2Utc() 550 while (rem >= SECS_PER_DAY) { in ConvertSecs2Utc() 551 rem -= SECS_PER_DAY; in ConvertSecs2Utc() 654 seconds += SECS_PER_DAY; in ConvertUtc2Secs() 664 seconds += (g_montbl[month] + 1) * SECS_PER_DAY; in ConvertUtc2Secs() 666 seconds += g_montbl[month] * SECS_PER_DAY; in ConvertUtc2Secs() 671 seconds += (tm->tm_mday - 1) * SECS_PER_DAY; in ConvertUtc2Secs()
|
D | time_internal.h | 58 #define SECS_PER_DAY 86400 /* 60 * 60 * 24 */ macro
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|