Searched refs:wall_time (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_pci_device_init_perf_test.c | 120 struct timespec wall_time; in TEST_F() local 145 wall_time = timespec_sub(end, start); in TEST_F() 148 wall_time.tv_sec, wall_time.tv_nsec); in TEST_F()
|
| /linux/kernel/time/ |
| H A D | timekeeping.c | 1765 read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, in read_persistent_wall_and_boot_offset() argument 1768 read_persistent_clock64(wall_time); in read_persistent_wall_and_boot_offset() 1803 struct timespec64 wall_time, boot_offset, wall_to_mono; in timekeeping_init() local 1810 read_persistent_wall_and_boot_offset(&wall_time, &boot_offset); in timekeeping_init() 1811 if (timespec64_valid_settod(&wall_time) && in timekeeping_init() 1812 timespec64_to_ns(&wall_time) > 0) { in timekeeping_init() 1814 } else if (timespec64_to_ns(&wall_time) != 0) { in timekeeping_init() 1816 wall_time = (struct timespec64){0}; in timekeeping_init() 1819 if (timespec64_compare(&wall_time, &boot_offset) < 0) in timekeeping_init() 1826 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init() [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | time.c | 206 void __init read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, in read_persistent_wall_and_boot_offset() argument 218 read_persistent_clock64(wall_time); in read_persistent_wall_and_boot_offset() 219 *boot_offset = timespec64_sub(*wall_time, boot_time); in read_persistent_wall_and_boot_offset()
|