Lines Matching refs:fsyscall_gtod_data
37 struct fsyscall_gtod_data_t fsyscall_gtod_data; variable
431 write_seqcount_begin(&fsyscall_gtod_data.seq); in update_vsyscall_old()
434 fsyscall_gtod_data.clk_mask = c->mask; in update_vsyscall_old()
435 fsyscall_gtod_data.clk_mult = mult; in update_vsyscall_old()
436 fsyscall_gtod_data.clk_shift = c->shift; in update_vsyscall_old()
437 fsyscall_gtod_data.clk_fsys_mmio = c->archdata.fsys_mmio; in update_vsyscall_old()
438 fsyscall_gtod_data.clk_cycle_last = cycle_last; in update_vsyscall_old()
441 fsyscall_gtod_data.wall_time.tv_sec = wall->tv_sec; in update_vsyscall_old()
442 fsyscall_gtod_data.wall_time.tv_nsec = wall->tv_nsec; in update_vsyscall_old()
443 fsyscall_gtod_data.monotonic_time.tv_sec = wtm->tv_sec in update_vsyscall_old()
445 fsyscall_gtod_data.monotonic_time.tv_nsec = wtm->tv_nsec in update_vsyscall_old()
449 while (fsyscall_gtod_data.monotonic_time.tv_nsec >= NSEC_PER_SEC) { in update_vsyscall_old()
450 fsyscall_gtod_data.monotonic_time.tv_nsec -= NSEC_PER_SEC; in update_vsyscall_old()
451 fsyscall_gtod_data.monotonic_time.tv_sec++; in update_vsyscall_old()
454 write_seqcount_end(&fsyscall_gtod_data.seq); in update_vsyscall_old()