Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dtimekeeping.c1620 struct timespec64 *boot_offset) in read_persistent_wall_and_boot_offset() argument
1623 *boot_offset = ns_to_timespec64(local_clock()); in read_persistent_wall_and_boot_offset()
1655 struct timespec64 wall_time, boot_offset, wall_to_mono; in timekeeping_init() local
1661 read_persistent_wall_and_boot_offset(&wall_time, &boot_offset); in timekeeping_init()
1670 if (timespec64_compare(&wall_time, &boot_offset) < 0) in timekeeping_init()
1671 boot_offset = (struct timespec64){0}; in timekeeping_init()
1677 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()