Searched refs:boot_offset (Results 1 – 1 of 1) sorted by relevance
1614 struct timespec64 *boot_offset) in read_persistent_wall_and_boot_offset() argument1617 *boot_offset = ns_to_timespec64(local_clock()); in read_persistent_wall_and_boot_offset()1643 struct timespec64 wall_time, boot_offset, wall_to_mono; in timekeeping_init() local1648 read_persistent_wall_and_boot_offset(&wall_time, &boot_offset); in timekeeping_init()1657 if (timespec64_compare(&wall_time, &boot_offset) < 0) in timekeeping_init()1658 boot_offset = (struct timespec64){0}; in timekeeping_init()1664 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()