Searched refs:wall_time (Results 1 – 1 of 1) sorted by relevance
1613 read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, in read_persistent_wall_and_boot_offset() argument1616 read_persistent_clock64(wall_time); 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()1649 if (timespec64_valid_settod(&wall_time) && in timekeeping_init()1650 timespec64_to_ns(&wall_time) > 0) { in timekeeping_init()1652 } else if (timespec64_to_ns(&wall_time) != 0) { in timekeeping_init()1654 wall_time = (struct timespec64){0}; in timekeeping_init()1657 if (timespec64_compare(&wall_time, &boot_offset) < 0) in timekeeping_init()1664 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()[all …]