/linux-4.4.14/kernel/time/ |
H A D | timecounter.c | 26 tc->cycle_last = cc->read(cc); timecounter_init() 53 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; timecounter_read_delta() 60 tc->cycle_last = cycle_now; timecounter_read_delta() 95 u64 delta = (cycle_tstamp - tc->cycle_last) & tc->cc->mask; timecounter_cyc2time() 100 * than tc->cycle_last, detect when it is too far in the timecounter_cyc2time() 104 delta = (tc->cycle_last - cycle_tstamp) & tc->cc->mask; timecounter_cyc2time()
|
H A D | timekeeping.c | 177 last = tkr->cycle_last; timekeeping_get_delta() 213 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); timekeeping_get_delta() 240 tk->tkr_mono.cycle_last = tk->tkr_mono.read(clock); tk_setup_internals() 245 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; tk_setup_internals() 447 tk->tkr_mono.cycle_last); update_vsyscall() 603 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); timekeeping_forward_now() 604 tk->tkr_mono.cycle_last = cycle_now; timekeeping_forward_now() 605 tk->tkr_raw.cycle_last = cycle_now; timekeeping_forward_now() 1387 cycle_now > tk->tkr_mono.cycle_last) { timekeeping_resume() 1393 cycle_delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, timekeeping_resume() 1420 tk->tkr_mono.cycle_last = cycle_now; timekeeping_resume() 1421 tk->tkr_raw.cycle_last = cycle_now; timekeeping_resume() 1734 tk->tkr_mono.cycle_last += interval; logarithmic_accumulation() 1735 tk->tkr_raw.cycle_last += interval; logarithmic_accumulation() 1781 tk->tkr_mono.cycle_last, tk->tkr_mono.mask); update_wall_time()
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
H A D | vsyscall_gtod.c | 35 vdata->cycle_last = tk->tkr_mono.cycle_last; update_vsyscall()
|
/linux-4.4.14/include/linux/ |
H A D | timekeeper_internal.h | 18 * @cycle_last: @clock cycle value at last update 34 cycle_t cycle_last; member in struct:tk_read_base 137 cycle_t cycle_last);
|
H A D | timecounter.h | 58 * @cycle_last: most recent cycle counter value seen by 66 cycle_t cycle_last; member in struct:timecounter
|
/linux-4.4.14/arch/s390/kernel/vdso32/ |
H A D | clock_gettime.S | 40 s %r0,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */ 103 s %r0,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
|
H A D | gettimeofday.S | 35 s %r0,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | vdso.h | 32 __u64 cycle_last; /* TOD clock for xtime */ member in struct:vdso_data
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | vgtod.h | 20 cycle_t cycle_last; member in struct:vsyscall_gtod_data
|
/linux-4.4.14/arch/s390/kernel/vdso64/ |
H A D | gettimeofday.S | 34 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
|
H A D | clock_gettime.S | 43 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */ 88 sg %r1,__VDSO_XTIME_STAMP(%r5) /* TOD - cycle_last */
|
/linux-4.4.14/arch/x86/entry/vdso/ |
H A D | vclock_gettime.c | 124 last = gtod->cycle_last; vread_pvclock() 179 u64 last = gtod->cycle_last; vread_tsc() 213 v = (cycles - gtod->cycle_last) & gtod->mask; vgetsns()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | time.c | 267 vdso_data->cycle_last = tk->tkr_mono.cycle_last; update_vsyscall()
|
/linux-4.4.14/sound/hda/ |
H A D | hdac_stream.c | 505 tc->cycle_last = last; azx_timecounter_init() 526 cycle_t cycle_last = 0; snd_hdac_stream_timecounter_init() local 531 azx_timecounter_init(s, inited, cycle_last); snd_hdac_stream_timecounter_init() 534 cycle_last = s->tc.cycle_last; snd_hdac_stream_timecounter_init()
|
/linux-4.4.14/arch/tile/kernel/vdso/ |
H A D | vgettimeofday.c | 61 return ((get_cycles() - vdso->cycle_last) & vdso->mask) * vdso->mult; vgetsns()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | vdso.c | 83 vdso_data.cs_cycle_last = tk->tkr_mono.cycle_last; update_vsyscall()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | vdso.c | 215 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; update_vsyscall()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | time.c | 400 struct clocksource *c, u32 mult, cycle_t cycle_last) update_vsyscall_old() 409 fsyscall_gtod_data.clk_cycle_last = cycle_last; update_vsyscall_old() 399 update_vsyscall_old(struct timespec *wall, struct timespec *wtm, struct clocksource *c, u32 mult, cycle_t cycle_last) update_vsyscall_old() argument
|
H A D | fsys.S | 170 // r24 = address mult factor / cycle_last value 172 // r26 = address clocksource cycle_last
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | tsc.c | 972 * We used to compare the TSC to the cycle_last value in the clocksource 974 * very small window right after one CPU updated cycle_last under 976 * is smaller than the cycle_last reference value due to a TSC which 984 * checking the result of read_tsc() - cycle_last for being negative.
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | vdso.c | 318 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; update_vsyscall()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | time.c | 784 struct clocksource *clock, u32 mult, cycle_t cycle_last) update_vsyscall_old() 817 vdso_data->tb_orig_stamp = cycle_last; update_vsyscall_old() 783 update_vsyscall_old(struct timespec *wall_time, struct timespec *wtm, struct clocksource *clock, u32 mult, cycle_t cycle_last) update_vsyscall_old() argument
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | time.c | 221 vdso_data->xtime_tod_stamp = tk->tkr_mono.cycle_last; update_vsyscall()
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | x86.c | 1105 cycle_t cycle_last; member in struct:pvclock_gtod_data::__anon3204 1128 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; update_pvclock_gtod() 1554 u64 last = pvclock_gtod_data.clock.cycle_last; read_tsc() 1578 v = (*cycle_now - gtod->clock.cycle_last) & gtod->clock.mask; vgettsc()
|