tkr_mono 284 arch/arm/kernel/vdso.c if (!tk->tkr_mono.clock->archdata.vdso_direct) tkr_mono 323 arch/arm/kernel/vdso.c vdso_data->xtime_coarse_nsec = (u32)(tk->tkr_mono.xtime_nsec >> tkr_mono 324 arch/arm/kernel/vdso.c tk->tkr_mono.shift); tkr_mono 329 arch/arm/kernel/vdso.c vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; tkr_mono 331 arch/arm/kernel/vdso.c vdso_data->xtime_clock_snsec = tk->tkr_mono.xtime_nsec; tkr_mono 332 arch/arm/kernel/vdso.c vdso_data->cs_mult = tk->tkr_mono.mult; tkr_mono 333 arch/arm/kernel/vdso.c vdso_data->cs_shift = tk->tkr_mono.shift; tkr_mono 334 arch/arm/kernel/vdso.c vdso_data->cs_mask = tk->tkr_mono.mask; tkr_mono 104 arch/arm/xen/enlighten.c now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 27 arch/arm64/include/asm/vdso/vsyscall.h u32 use_syscall = !tk->tkr_mono.clock->archdata.vdso_direct; tkr_mono 436 arch/ia64/kernel/time.c fsyscall_gtod_data.clk_mask = tk->tkr_mono.mask; tkr_mono 437 arch/ia64/kernel/time.c fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; tkr_mono 438 arch/ia64/kernel/time.c fsyscall_gtod_data.clk_shift = tk->tkr_mono.shift; tkr_mono 439 arch/ia64/kernel/time.c fsyscall_gtod_data.clk_fsys_mmio = tk->tkr_mono.clock->archdata.fsys_mmio; tkr_mono 440 arch/ia64/kernel/time.c fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; tkr_mono 443 arch/ia64/kernel/time.c fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; tkr_mono 447 arch/ia64/kernel/time.c fsyscall_gtod_data.monotonic_time.snsec = tk->tkr_mono.xtime_nsec tkr_mono 449 arch/ia64/kernel/time.c << tk->tkr_mono.shift); tkr_mono 453 arch/ia64/kernel/time.c (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { tkr_mono 455 arch/ia64/kernel/time.c ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; tkr_mono 25 arch/mips/include/asm/vdso/vsyscall.h u32 clock_mode = tk->tkr_mono.clock->archdata.vdso_clock_mode; tkr_mono 212 arch/nds32/kernel/vdso.c vdso_data->cs_mask = tk->tkr_mono.mask; tkr_mono 213 arch/nds32/kernel/vdso.c vdso_data->cs_mult = tk->tkr_mono.mult; tkr_mono 214 arch/nds32/kernel/vdso.c vdso_data->cs_shift = tk->tkr_mono.shift; tkr_mono 215 arch/nds32/kernel/vdso.c vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; tkr_mono 219 arch/nds32/kernel/vdso.c vdso_data->xtime_clock_nsec = tk->tkr_mono.xtime_nsec; tkr_mono 221 arch/nds32/kernel/vdso.c vdso_data->xtime_coarse_nsec = tk->tkr_mono.xtime_nsec >> tkr_mono 222 arch/nds32/kernel/vdso.c tk->tkr_mono.shift; tkr_mono 871 arch/powerpc/kernel/time.c struct clocksource *clock = tk->tkr_mono.clock; tkr_mono 872 arch/powerpc/kernel/time.c u32 mult = tk->tkr_mono.mult; tkr_mono 873 arch/powerpc/kernel/time.c u32 shift = tk->tkr_mono.shift; tkr_mono 874 arch/powerpc/kernel/time.c u64 cycle_last = tk->tkr_mono.cycle_last; tkr_mono 882 arch/powerpc/kernel/time.c xt.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 918 arch/powerpc/kernel/time.c frac_sec = tk->tkr_mono.xtime_nsec << (32 - shift); tkr_mono 280 arch/s390/kernel/time.c if (tk->tkr_mono.clock != &clocksource_tod) tkr_mono 286 arch/s390/kernel/time.c vdso_data->xtime_tod_stamp = tk->tkr_mono.cycle_last; tkr_mono 288 arch/s390/kernel/time.c vdso_data->xtime_clock_nsec = tk->tkr_mono.xtime_nsec; tkr_mono 291 arch/s390/kernel/time.c vdso_data->wtom_clock_nsec = tk->tkr_mono.xtime_nsec + tkr_mono 292 arch/s390/kernel/time.c + ((u64) tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); tkr_mono 293 arch/s390/kernel/time.c nsecps = (u64) NSEC_PER_SEC << tk->tkr_mono.shift; tkr_mono 301 arch/s390/kernel/time.c (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 311 arch/s390/kernel/time.c vdso_data->tk_mult = tk->tkr_mono.mult; tkr_mono 312 arch/s390/kernel/time.c vdso_data->tk_shift = tk->tkr_mono.shift; tkr_mono 33 arch/sparc/kernel/vdso.c vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; tkr_mono 34 arch/sparc/kernel/vdso.c vdata->clock.cycle_last = tk->tkr_mono.cycle_last; tkr_mono 35 arch/sparc/kernel/vdso.c vdata->clock.mask = tk->tkr_mono.mask; tkr_mono 36 arch/sparc/kernel/vdso.c vdata->clock.mult = tk->tkr_mono.mult; tkr_mono 37 arch/sparc/kernel/vdso.c vdata->clock.shift = tk->tkr_mono.shift; tkr_mono 40 arch/sparc/kernel/vdso.c vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; tkr_mono 44 arch/sparc/kernel/vdso.c vdata->monotonic_time_snsec = tk->tkr_mono.xtime_nsec + tkr_mono 46 arch/sparc/kernel/vdso.c tk->tkr_mono.shift); tkr_mono 49 arch/sparc/kernel/vdso.c (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { tkr_mono 51 arch/sparc/kernel/vdso.c ((u64)NSEC_PER_SEC) << tk->tkr_mono.shift; tkr_mono 57 arch/sparc/kernel/vdso.c (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 29 arch/x86/include/asm/vdso/vsyscall.h int vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; tkr_mono 1642 arch/x86/kvm/x86.c boot_ns = ktime_to_ns(ktime_add(tk->tkr_mono.base, tk->offs_boot)); tkr_mono 1647 arch/x86/kvm/x86.c vdata->clock.vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; tkr_mono 1648 arch/x86/kvm/x86.c vdata->clock.cycle_last = tk->tkr_mono.cycle_last; tkr_mono 1649 arch/x86/kvm/x86.c vdata->clock.mask = tk->tkr_mono.mask; tkr_mono 1650 arch/x86/kvm/x86.c vdata->clock.mult = tk->tkr_mono.mult; tkr_mono 1651 arch/x86/kvm/x86.c vdata->clock.shift = tk->tkr_mono.shift; tkr_mono 1654 arch/x86/kvm/x86.c vdata->nsec_base = tk->tkr_mono.xtime_nsec; tkr_mono 101 arch/x86/xen/time.c now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 93 include/linux/timekeeper_internal.h struct tk_read_base tkr_mono; tkr_mono 97 kernel/time/timekeeping.c while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { tkr_mono 98 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; tkr_mono 112 kernel/time/timekeeping.c ts.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 119 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec = (u64)ts->tv_nsec << tk->tkr_mono.shift; tkr_mono 125 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += (u64)ts->tv_nsec << tk->tkr_mono.shift; tkr_mono 182 kernel/time/timekeeping.c u64 max_cycles = tk->tkr_mono.clock->max_cycles; tkr_mono 183 kernel/time/timekeeping.c const char *name = tk->tkr_mono.clock->name; tkr_mono 294 kernel/time/timekeeping.c old_clock = tk->tkr_mono.clock; tkr_mono 295 kernel/time/timekeeping.c tk->tkr_mono.clock = clock; tkr_mono 296 kernel/time/timekeeping.c tk->tkr_mono.mask = clock->mask; tkr_mono 297 kernel/time/timekeeping.c tk->tkr_mono.cycle_last = tk_clock_read(&tk->tkr_mono); tkr_mono 301 kernel/time/timekeeping.c tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; tkr_mono 324 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec >>= -shift_change; tkr_mono 327 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec <<= shift_change; tkr_mono 332 kernel/time/timekeeping.c tk->tkr_mono.shift = clock->shift; tkr_mono 344 kernel/time/timekeeping.c tk->tkr_mono.mult = clock->mult; tkr_mono 560 kernel/time/timekeeping.c const struct tk_read_base *tkr = &tk->tkr_mono; tkr_mono 644 kernel/time/timekeeping.c tk->tkr_mono.base = ns_to_ktime(seconds * NSEC_PER_SEC + nsec); tkr_mono 651 kernel/time/timekeeping.c nsec += (u32)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); tkr_mono 674 kernel/time/timekeeping.c tk->tkr_mono.base_real = tk->tkr_mono.base + tk->offs_real; tkr_mono 675 kernel/time/timekeeping.c update_fast_timekeeper(&tk->tkr_mono, &tk_fast_mono); tkr_mono 701 kernel/time/timekeeping.c cycle_now = tk_clock_read(&tk->tkr_mono); tkr_mono 702 kernel/time/timekeeping.c delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); tkr_mono 703 kernel/time/timekeeping.c tk->tkr_mono.cycle_last = cycle_now; tkr_mono 706 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += delta * tk->tkr_mono.mult; tkr_mono 709 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += (u64)arch_gettimeoffset() << tk->tkr_mono.shift; tkr_mono 738 kernel/time/timekeeping.c nsecs = timekeeping_get_ns(&tk->tkr_mono); tkr_mono 758 kernel/time/timekeeping.c base = tk->tkr_mono.base; tkr_mono 759 kernel/time/timekeeping.c nsecs = timekeeping_get_ns(&tk->tkr_mono); tkr_mono 777 kernel/time/timekeeping.c nsecs = tk->tkr_mono.mult >> tk->tkr_mono.shift; tkr_mono 801 kernel/time/timekeeping.c base = ktime_add(tk->tkr_mono.base, *offset); tkr_mono 802 kernel/time/timekeeping.c nsecs = timekeeping_get_ns(&tk->tkr_mono); tkr_mono 822 kernel/time/timekeeping.c base = ktime_add(tk->tkr_mono.base, *offset); tkr_mono 823 kernel/time/timekeeping.c nsecs = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; tkr_mono 892 kernel/time/timekeeping.c nsec = timekeeping_get_ns(&tk->tkr_mono); tkr_mono 981 kernel/time/timekeeping.c now = tk_clock_read(&tk->tkr_mono); tkr_mono 984 kernel/time/timekeeping.c base_real = ktime_add(tk->tkr_mono.base, tkr_mono 987 kernel/time/timekeeping.c nsec_real = timekeeping_cycles_to_ns(&tk->tkr_mono, now); tkr_mono 1072 kernel/time/timekeeping.c (corr_raw, tk->tkr_mono.mult, tk->tkr_raw.mult); tkr_mono 1151 kernel/time/timekeeping.c if (tk->tkr_mono.clock != system_counterval.cs) tkr_mono 1159 kernel/time/timekeeping.c now = tk_clock_read(&tk->tkr_mono); tkr_mono 1160 kernel/time/timekeeping.c interval_start = tk->tkr_mono.cycle_last; tkr_mono 1170 kernel/time/timekeeping.c base_real = ktime_add(tk->tkr_mono.base, tkr_mono 1174 kernel/time/timekeeping.c nsec_real = timekeeping_cycles_to_ns(&tk->tkr_mono, tkr_mono 1378 kernel/time/timekeeping.c old = tk->tkr_mono.clock; tkr_mono 1406 kernel/time/timekeeping.c if (tk->tkr_mono.clock == clock) tkr_mono 1410 kernel/time/timekeeping.c return tk->tkr_mono.clock == clock ? 0 : -1; tkr_mono 1450 kernel/time/timekeeping.c ret = tk->tkr_mono.clock->flags & CLOCK_SOURCE_VALID_FOR_HRES; tkr_mono 1469 kernel/time/timekeeping.c ret = tk->tkr_mono.clock->max_idle_ns; tkr_mono 1679 kernel/time/timekeeping.c struct clocksource *clock = tk->tkr_mono.clock; tkr_mono 1705 kernel/time/timekeeping.c cycle_now = tk_clock_read(&tk->tkr_mono); tkr_mono 1721 kernel/time/timekeeping.c tk->tkr_mono.cycle_last = cycle_now; tkr_mono 1767 kernel/time/timekeeping.c curr_clock = tk->tkr_mono.clock; tkr_mono 1768 kernel/time/timekeeping.c cycle_now = tk->tkr_mono.cycle_last; tkr_mono 1884 kernel/time/timekeeping.c if ((mult_adj > 0) && (tk->tkr_mono.mult + mult_adj < mult_adj)) { tkr_mono 1890 kernel/time/timekeeping.c tk->tkr_mono.mult += mult_adj; tkr_mono 1892 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec -= offset; tkr_mono 1908 kernel/time/timekeeping.c mult = tk->tkr_mono.mult - tk->ntp_err_mult; tkr_mono 1924 kernel/time/timekeeping.c timekeeping_apply_adjustment(tk, offset, mult - tk->tkr_mono.mult); tkr_mono 1926 kernel/time/timekeeping.c if (unlikely(tk->tkr_mono.clock->maxadj && tkr_mono 1927 kernel/time/timekeeping.c (abs(tk->tkr_mono.mult - tk->tkr_mono.clock->mult) tkr_mono 1928 kernel/time/timekeeping.c > tk->tkr_mono.clock->maxadj))) { tkr_mono 1931 kernel/time/timekeeping.c tk->tkr_mono.clock->name, (long)tk->tkr_mono.mult, tkr_mono 1932 kernel/time/timekeeping.c (long)tk->tkr_mono.clock->mult + tk->tkr_mono.clock->maxadj); tkr_mono 1945 kernel/time/timekeeping.c if (unlikely((s64)tk->tkr_mono.xtime_nsec < 0)) { tkr_mono 1946 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += (u64)NSEC_PER_SEC << tkr_mono 1947 kernel/time/timekeeping.c tk->tkr_mono.shift; tkr_mono 1963 kernel/time/timekeeping.c u64 nsecps = (u64)NSEC_PER_SEC << tk->tkr_mono.shift; tkr_mono 1966 kernel/time/timekeeping.c while (tk->tkr_mono.xtime_nsec >= nsecps) { tkr_mono 1969 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec -= nsecps; tkr_mono 2022 kernel/time/timekeeping.c tk->tkr_mono.cycle_last += interval; tkr_mono 2025 kernel/time/timekeeping.c tk->tkr_mono.xtime_nsec += tk->xtime_interval << shift; tkr_mono 2069 kernel/time/timekeeping.c offset = clocksource_delta(tk_clock_read(&tk->tkr_mono), tkr_mono 2070 kernel/time/timekeeping.c tk->tkr_mono.cycle_last, tk->tkr_mono.mask); tkr_mono 2224 kernel/time/timekeeping.c base = tk->tkr_mono.base; tkr_mono 2225 kernel/time/timekeeping.c nsecs = timekeeping_get_ns(&tk->tkr_mono); tkr_mono 22 kernel/time/vsyscall.c vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; tkr_mono 23 kernel/time/vsyscall.c vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; tkr_mono 24 kernel/time/vsyscall.c vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; tkr_mono 25 kernel/time/vsyscall.c vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; tkr_mono 35 kernel/time/vsyscall.c nsec = tk->tkr_mono.xtime_nsec; tkr_mono 36 kernel/time/vsyscall.c nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); tkr_mono 37 kernel/time/vsyscall.c while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { tkr_mono 38 kernel/time/vsyscall.c nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); tkr_mono 47 kernel/time/vsyscall.c nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; tkr_mono 53 kernel/time/vsyscall.c while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { tkr_mono 54 kernel/time/vsyscall.c nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); tkr_mono 67 kernel/time/vsyscall.c vdso_ts->nsec = tk->tkr_mono.xtime_nsec; tkr_mono 85 kernel/time/vsyscall.c vdso_ts->nsec = tk->tkr_mono.xtime_nsec; tkr_mono 90 kernel/time/vsyscall.c vdso_ts->nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; tkr_mono 95 kernel/time/vsyscall.c nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift;