now 125 arch/arc/include/asm/entry-arcv2.h ; skip JLI, LDI, EI for now now 75 arch/arm/xen/enlighten.c struct timespec64 now, ts_monotonic; now 83 arch/arm/xen/enlighten.c now.tv_sec = ((uint64_t)wall_clock->sec_hi << 32) | wall_clock->sec; now 84 arch/arm/xen/enlighten.c now.tv_nsec = wall_clock->nsec; now 90 arch/arm/xen/enlighten.c *ts = timespec64_add(now, ts_monotonic); now 100 arch/arm/xen/enlighten.c struct timespec64 now, system_time; now 103 arch/arm/xen/enlighten.c now.tv_sec = tk->xtime_sec; now 104 arch/arm/xen/enlighten.c now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); now 105 arch/arm/xen/enlighten.c system_time = timespec64_add(now, tk->wall_to_monotonic); now 111 arch/arm/xen/enlighten.c if (!was_set && timespec64_compare(&now, &next_sync) < 0) now 116 arch/arm/xen/enlighten.c op.u.settime64.secs = now.tv_sec; now 117 arch/arm/xen/enlighten.c op.u.settime64.nsecs = now.tv_nsec; now 126 arch/arm/xen/enlighten.c next_sync = now; now 1201 arch/arm64/kernel/perf_event.c struct perf_event_mmap_page *userpg, u64 now) now 1226 arch/arm64/kernel/perf_event.c userpg->time_offset = -now; now 552 arch/ia64/kernel/mca.c unsigned long now = jiffies; now 555 arch/ia64/kernel/mca.c if (now - cpe_history[i] <= HZ) now 578 arch/ia64/kernel/mca.c cpe_history[index++] = now; now 1408 arch/ia64/kernel/mca.c unsigned long now = jiffies; now 1411 arch/ia64/kernel/mca.c if (now - cmc_history[i] <= HZ) now 1439 arch/ia64/kernel/mca.c cmc_history[index++] = now; now 1879 arch/ia64/kernel/ptrace.c int now) now 124 arch/ia64/kernel/time.c __u64 now, delta_stime; now 128 arch/ia64/kernel/time.c now = ia64_get_itc(); now 129 arch/ia64/kernel/time.c delta_stime = now - ti->ac_stamp; now 130 arch/ia64/kernel/time.c ti->ac_stamp = now; now 360 arch/ia64/kernel/time.c unsigned long lcycle, now, ret; now 366 arch/ia64/kernel/time.c now = get_cycles(); now 367 arch/ia64/kernel/time.c if (lcycle && time_after(lcycle, now)) now 376 arch/ia64/kernel/time.c ret = cmpxchg(&itc_jitter_data.itc_lastcycle, lcycle, now); now 380 arch/ia64/kernel/time.c return now; now 127 arch/m68k/68000/timers.c long now = RTCTIME; now 131 arch/m68k/68000/timers.c t->tm_hour = (now >> 24) % 24; now 132 arch/m68k/68000/timers.c t->tm_min = (now >> 16) % 60; now 133 arch/m68k/68000/timers.c t->tm_sec = now % 60; now 19793 arch/m68k/ifpsp060/src/fpsp.S # if (packed) then punt for now # now 20598 arch/m68k/ifpsp060/src/fpsp.S # if exp now equals one, then it overflowed so call ovf_res. now 20809 arch/m68k/ifpsp060/src/fpsp.S # if exp now equals one, then it overflowed so call ovf_res. now 7499 arch/m68k/ifpsp060/src/pfpsp.S # if exp now equals one, then it overflowed so call ovf_res. now 7710 arch/m68k/ifpsp060/src/pfpsp.S # if exp now equals one, then it overflowed so call ovf_res. now 612 arch/m68k/mac/misc.c time64_t now; now 619 arch/m68k/mac/misc.c now = via_read_time(); now 624 arch/m68k/mac/misc.c now = cuda_get_time(); now 629 arch/m68k/mac/misc.c now = pmu_get_time(); now 633 arch/m68k/mac/misc.c now = 0; now 637 arch/m68k/mac/misc.c unmktime(now, 0, now 68 arch/mips/dec/time.c int update_persistent_clock64(struct timespec64 now) now 70 arch/mips/dec/time.c time64_t nowtime = now.tv_sec; now 327 arch/mips/kvm/emulate.c static u32 kvm_mips_ktime_to_count(struct kvm_vcpu *vcpu, ktime_t now) now 332 arch/mips/kvm/emulate.c now_ns = ktime_to_ns(now); now 384 arch/mips/kvm/emulate.c static u32 kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now) now 392 arch/mips/kvm/emulate.c count = vcpu->arch.count_bias + kvm_mips_ktime_to_count(vcpu, now); now 409 arch/mips/kvm/emulate.c threshold = ktime_add_ns(now, vcpu->arch.count_period / 4); now 473 arch/mips/kvm/emulate.c ktime_t now; now 477 arch/mips/kvm/emulate.c now = ktime_get(); now 480 arch/mips/kvm/emulate.c *count = kvm_mips_read_count_running(vcpu, now); now 482 arch/mips/kvm/emulate.c return now; now 502 arch/mips/kvm/emulate.c ktime_t now, u32 count) now 513 arch/mips/kvm/emulate.c expire = ktime_add_ns(now, delta); now 545 arch/mips/kvm/emulate.c ktime_t now, count_time; now 570 arch/mips/kvm/emulate.c now = ktime_get(); now 571 arch/mips/kvm/emulate.c now_count = vcpu->arch.count_bias + kvm_mips_ktime_to_count(vcpu, now); now 579 arch/mips/kvm/emulate.c count_time = now; now 588 arch/mips/kvm/emulate.c count_time = ktime_sub_ns(now, delta); now 606 arch/mips/kvm/emulate.c ktime_t now; now 609 arch/mips/kvm/emulate.c now = kvm_mips_count_time(vcpu); now 610 arch/mips/kvm/emulate.c vcpu->arch.count_bias = count - kvm_mips_ktime_to_count(vcpu, now); now 617 arch/mips/kvm/emulate.c kvm_mips_resume_hrtimer(vcpu, now, count); now 653 arch/mips/kvm/emulate.c ktime_t now; now 666 arch/mips/kvm/emulate.c now = kvm_mips_count_time(vcpu); now 669 arch/mips/kvm/emulate.c now = kvm_mips_freeze_hrtimer(vcpu, &count); now 678 arch/mips/kvm/emulate.c vcpu->arch.count_bias = count - kvm_mips_ktime_to_count(vcpu, now); now 682 arch/mips/kvm/emulate.c kvm_mips_resume_hrtimer(vcpu, now, count); now 703 arch/mips/kvm/emulate.c ktime_t now = ktime_set(0, 0); /* silence bogus GCC warning */ now 733 arch/mips/kvm/emulate.c now = kvm_mips_freeze_hrtimer(vcpu, &count); now 758 arch/mips/kvm/emulate.c kvm_mips_resume_hrtimer(vcpu, now, count); now 785 arch/mips/kvm/emulate.c ktime_t now; now 791 arch/mips/kvm/emulate.c now = ktime_get(); now 792 arch/mips/kvm/emulate.c count = kvm_mips_read_count_running(vcpu, now); now 795 arch/mips/kvm/emulate.c return now; now 859 arch/mips/kvm/emulate.c ktime_t expire, now; now 892 arch/mips/kvm/emulate.c now = ktime_get(); now 893 arch/mips/kvm/emulate.c if (ktime_compare(now, expire) >= 0) now 898 arch/mips/kvm/emulate.c count = kvm_mips_read_count_running(vcpu, now); now 899 arch/mips/kvm/emulate.c kvm_mips_resume_hrtimer(vcpu, now, count); now 155 arch/mips/lasat/ds1603.c int update_persistent_clock64(struct timespec64 now) now 157 arch/mips/lasat/ds1603.c time64_t time = now.tv_sec; now 99 arch/mips/sibyte/swarm/setup.c int update_persistent_clock64(struct timespec64 now) now 101 arch/mips/sibyte/swarm/setup.c time64_t sec = now.tv_sec; now 64 arch/parisc/kernel/time.c unsigned long now; now 79 arch/parisc/kernel/time.c now = mfctl(16); now 83 arch/parisc/kernel/time.c } while (next_tick - now > cpt); now 106 arch/parisc/kernel/time.c now = mfctl(16); now 107 arch/parisc/kernel/time.c while (next_tick - now > cpt) now 116 arch/parisc/kernel/time.c if (next_tick - now <= 8000) now 32 arch/parisc/lib/delay.c u32 bclock, now, loops = __loops; now 39 arch/parisc/lib/delay.c now = mfctl(16); now 40 arch/parisc/lib/delay.c if ((now - bclock) >= loops) now 59 arch/parisc/lib/delay.c loops -= (now - bclock); now 105 arch/powerpc/kernel/irq.c u64 now = get_tb_or_rtc(); now 108 arch/powerpc/kernel/irq.c return now >= *next_tb; now 282 arch/powerpc/kernel/time.c unsigned long now, unsigned long stime) now 289 arch/powerpc/kernel/time.c nowscaled = read_spurr(now); now 325 arch/powerpc/kernel/time.c unsigned long now, stime; now 330 arch/powerpc/kernel/time.c now = mftb(); now 331 arch/powerpc/kernel/time.c stime = now - acct->starttime; now 332 arch/powerpc/kernel/time.c acct->starttime = now; now 334 arch/powerpc/kernel/time.c *stime_scaled = vtime_delta_scaled(acct, now, stime); now 336 arch/powerpc/kernel/time.c *steal_time = calculate_stolen_time(now); now 570 arch/powerpc/kernel/time.c u64 now; now 615 arch/powerpc/kernel/time.c now = get_tb_or_rtc(); now 616 arch/powerpc/kernel/time.c if (now >= *next_tb) { now 622 arch/powerpc/kernel/time.c now = *next_tb - now; now 623 arch/powerpc/kernel/time.c if (now <= decrementer_max) now 624 arch/powerpc/kernel/time.c set_dec(now); now 805 arch/powerpc/kernel/time.c int update_persistent_clock64(struct timespec64 now) now 812 arch/powerpc/kernel/time.c rtc_time64_to_tm(now.tv_sec + 1 + timezone_offset, &tm); now 684 arch/powerpc/kvm/book3s_hv.c static u64 vcore_stolen_time(struct kvmppc_vcore *vc, u64 now) now 693 arch/powerpc/kvm/book3s_hv.c p += now - vc->preempt_tb; now 705 arch/powerpc/kvm/book3s_hv.c u64 now; now 710 arch/powerpc/kvm/book3s_hv.c now = mftb(); now 711 arch/powerpc/kvm/book3s_hv.c core_stolen = vcore_stolen_time(vc, now); now 723 arch/powerpc/kvm/book3s_hv.c dt->timebase = cpu_to_be64(now + vc->tb_offset); now 2445 arch/powerpc/kvm/book3s_hv.c unsigned long dec_nsec, now; now 2447 arch/powerpc/kvm/book3s_hv.c now = get_tb(); now 2448 arch/powerpc/kvm/book3s_hv.c if (now > vcpu->arch.dec_expires) { now 2454 arch/powerpc/kvm/book3s_hv.c dec_nsec = tb_to_ns(vcpu->arch.dec_expires - now); now 2473 arch/powerpc/kvm/book3s_hv.c u64 now; now 2478 arch/powerpc/kvm/book3s_hv.c now = mftb(); now 2479 arch/powerpc/kvm/book3s_hv.c vcpu->arch.busy_stolen += vcore_stolen_time(vc, now) - now 2481 arch/powerpc/kvm/book3s_hv.c vcpu->arch.busy_preempt = now; now 2916 arch/powerpc/kvm/book3s_hv.c u64 now; now 2921 arch/powerpc/kvm/book3s_hv.c now = get_tb(); now 2932 arch/powerpc/kvm/book3s_hv.c if (now < vcpu->arch.dec_expires && now 1357 arch/powerpc/perf/hv-24x7.c static void update_event_count(struct perf_event *event, u64 now) now 1361 arch/powerpc/perf/hv-24x7.c prev = local64_xchg(&event->hw.prev_count, now); now 1362 arch/powerpc/perf/hv-24x7.c local64_add(now - prev, &event->count); now 1367 arch/powerpc/perf/hv-24x7.c u64 now; now 1417 arch/powerpc/perf/hv-24x7.c now = h_24x7_get_value(event); now 1418 arch/powerpc/perf/hv-24x7.c update_event_count(event, now); now 193 arch/powerpc/perf/hv-gpci.c u64 now = h_gpci_get_value(event); now 194 arch/powerpc/perf/hv-gpci.c prev = local64_xchg(&event->hw.prev_count, now); now 195 arch/powerpc/perf/hv-gpci.c local64_add(now - prev, &event->count); now 386 arch/powerpc/platforms/85xx/smp.c long now; now 410 arch/powerpc/platforms/85xx/smp.c now = mftb(); now 411 arch/powerpc/platforms/85xx/smp.c if (!notified && now - start > 1000000) { now 72 arch/s390/kernel/idle.c unsigned long long now, idle_time, idle_enter, idle_exit, in_idle; now 83 arch/s390/kernel/idle.c now = get_tod_clock(); now 87 arch/s390/kernel/idle.c } else if (now > idle_enter) { now 88 arch/s390/kernel/idle.c in_idle = now - idle_enter; now 99 arch/s390/kernel/idle.c unsigned long long now, idle_enter, idle_exit, in_idle; now 108 arch/s390/kernel/idle.c now = get_tod_clock(); now 112 arch/s390/kernel/idle.c } else if (now > idle_enter) { now 113 arch/s390/kernel/idle.c in_idle = now - idle_enter; now 244 arch/s390/kernel/time.c unsigned long long now, adj; now 247 arch/s390/kernel/time.c now = get_tod_clock(); now 248 arch/s390/kernel/time.c adj = tod_steering_end - now; now 256 arch/s390/kernel/time.c now += (tod_steering_delta < 0) ? (adj >> 15) : -(adj >> 15); now 258 arch/s390/kernel/time.c return now; now 433 arch/s390/kernel/time.c unsigned long now, adj; now 443 arch/s390/kernel/time.c now = get_tod_clock(); now 444 arch/s390/kernel/time.c adj = tod_steering_end - now; now 453 arch/s390/kernel/time.c tod_steering_end = now + (abs(tod_steering_delta) << 15); now 179 arch/s390/kvm/interrupt.c const u64 now = kvm_s390_get_tod_clock_fast(vcpu->kvm); now 183 arch/s390/kvm/interrupt.c if ((s64)ckc >= (s64)now) now 185 arch/s390/kvm/interrupt.c } else if (ckc >= now) { now 1150 arch/s390/kvm/interrupt.c const u64 now = kvm_s390_get_tod_clock_fast(vcpu->kvm); now 1156 arch/s390/kvm/interrupt.c if ((s64)now < (s64)ckc) now 1157 arch/s390/kvm/interrupt.c sltime = tod_to_ns((s64)ckc - (s64)now); now 1158 arch/s390/kvm/interrupt.c } else if (now < ckc) { now 1159 arch/s390/kvm/interrupt.c sltime = tod_to_ns(ckc - now); now 2317 arch/x86/events/core.c struct perf_event_mmap_page *userpg, u64 now) now 2342 arch/x86/events/core.c userpg->time_offset = offset - now; now 217 arch/x86/events/msr.c u64 now; now 220 arch/x86/events/msr.c rdmsrl(event->hw.event_base, now); now 222 arch/x86/events/msr.c now = rdtsc_ordered(); now 224 arch/x86/events/msr.c return now; now 229 arch/x86/events/msr.c u64 prev, now; now 235 arch/x86/events/msr.c now = msr_read_counter(event); now 237 arch/x86/events/msr.c if (local64_cmpxchg(&event->hw.prev_count, prev, now) != prev) now 240 arch/x86/events/msr.c delta = now - prev; now 246 arch/x86/events/msr.c now = now & (1ULL << 31) ? (now >> 16) & 0x3f : -1; now 247 arch/x86/events/msr.c local64_set(&event->count, now); now 255 arch/x86/events/msr.c u64 now = msr_read_counter(event); now 257 arch/x86/events/msr.c local64_set(&event->hw.prev_count, now); now 7 arch/x86/include/asm/intel_mid_vrtc.h extern void vrtc_get_time(struct timespec64 *now); now 8 arch/x86/include/asm/intel_mid_vrtc.h extern int vrtc_set_mmss(const struct timespec64 *now); now 98 arch/x86/include/asm/mc146818rtc.h extern int mach_set_rtc_mmss(const struct timespec64 *now); now 99 arch/x86/include/asm/mc146818rtc.h extern void mach_get_cmos_time(struct timespec64 *now); now 245 arch/x86/kernel/apb_timer.c u64 start, now; now 263 arch/x86/kernel/apb_timer.c now = rdtsc(); now 264 arch/x86/kernel/apb_timer.c } while ((now - start) < 200000UL); now 1588 arch/x86/kernel/apic/io_apic.c unsigned long long start, now; now 1601 arch/x86/kernel/apic/io_apic.c now = rdtsc(); now 1602 arch/x86/kernel/apic/io_apic.c } while ((now - start) < 40000000000ULL / HZ && now 67 arch/x86/kernel/cpu/aperfmperf.c static bool aperfmperf_snapshot_cpu(int cpu, ktime_t now, bool wait) now 69 arch/x86/kernel/cpu/aperfmperf.c s64 time_delta = ktime_ms_delta(now, per_cpu(samples.time, cpu)); now 98 arch/x86/kernel/cpu/aperfmperf.c ktime_t now = ktime_get(); now 111 arch/x86/kernel/cpu/aperfmperf.c if (!aperfmperf_snapshot_cpu(cpu, now, false)) now 217 arch/x86/kernel/cpu/mce/intel.c unsigned long now = jiffies; now 223 arch/x86/kernel/cpu/mce/intel.c if (time_before_eq(now, ts + CMCI_STORM_INTERVAL)) { now 227 arch/x86/kernel/cpu/mce/intel.c __this_cpu_write(cmci_time_stamp, now); now 154 arch/x86/kernel/cpu/mce/therm_throt.c u64 now; now 157 arch/x86/kernel/cpu/mce/therm_throt.c now = get_jiffies_64(); now 181 arch/x86/kernel/cpu/mce/therm_throt.c if (time_before64(now, state->next_check) && now 185 arch/x86/kernel/cpu/mce/therm_throt.c state->next_check = now + CHECK_INTERVAL; now 210 arch/x86/kernel/cpu/mce/therm_throt.c u64 now = get_jiffies_64(); now 219 arch/x86/kernel/cpu/mce/therm_throt.c if (time_before64(now, state->next_check)) now 222 arch/x86/kernel/cpu/mce/therm_throt.c state->next_check = now + CHECK_INTERVAL; now 298 arch/x86/kernel/hpet.c unsigned int cfg, cmp, now; now 304 arch/x86/kernel/hpet.c now = hpet_readl(HPET_COUNTER); now 305 arch/x86/kernel/hpet.c cmp = now + (unsigned int)delta; now 786 arch/x86/kernel/hpet.c u64 start, now, t1; now 802 arch/x86/kernel/hpet.c now = rdtsc(); now 803 arch/x86/kernel/hpet.c } while ((now - start) < 200000UL); now 41 arch/x86/kernel/jailhouse.c static void jailhouse_get_wallclock(struct timespec64 *now) now 43 arch/x86/kernel/jailhouse.c memset(now, 0, sizeof(*now)); now 72 arch/x86/kernel/kvmclock.c static void kvm_get_wallclock(struct timespec64 *now) now 76 arch/x86/kernel/kvmclock.c pvclock_read_wallclock(&wall_clock, this_cpu_pvti(), now); now 80 arch/x86/kernel/kvmclock.c static int kvm_set_wallclock(const struct timespec64 *now) now 119 arch/x86/kernel/pvclock.c struct timespec64 now; now 132 arch/x86/kernel/pvclock.c now.tv_sec = wall_clock->sec; now 133 arch/x86/kernel/pvclock.c now.tv_nsec = wall_clock->nsec; now 138 arch/x86/kernel/pvclock.c delta += now.tv_sec * NSEC_PER_SEC + now.tv_nsec; now 140 arch/x86/kernel/pvclock.c now.tv_nsec = do_div(delta, NSEC_PER_SEC); now 141 arch/x86/kernel/pvclock.c now.tv_sec = delta; now 143 arch/x86/kernel/pvclock.c set_normalized_timespec64(ts, now.tv_sec, now.tv_nsec); now 42 arch/x86/kernel/rtc.c int mach_set_rtc_mmss(const struct timespec64 *now) now 44 arch/x86/kernel/rtc.c unsigned long long nowtime = now->tv_sec; now 63 arch/x86/kernel/rtc.c void mach_get_cmos_time(struct timespec64 *now) now 73 arch/x86/kernel/rtc.c now->tv_sec = now->tv_nsec = 0; now 121 arch/x86/kernel/rtc.c now->tv_sec = mktime64(year, mon, day, hour, min, sec); now 122 arch/x86/kernel/rtc.c now->tv_nsec = 0; now 148 arch/x86/kernel/rtc.c int update_persistent_clock64(struct timespec64 now) now 150 arch/x86/kernel/rtc.c return x86_platform.set_wallclock(&now); now 228 arch/x86/kernel/tsc_sync.c cycles_t start, now, prev, end, cur_max_warp = 0; now 236 arch/x86/kernel/tsc_sync.c now = start; now 246 arch/x86/kernel/tsc_sync.c now = rdtsc_ordered(); now 247 arch/x86/kernel/tsc_sync.c last_tsc = now; now 257 arch/x86/kernel/tsc_sync.c if (now > end || i > 10000000) now 266 arch/x86/kernel/tsc_sync.c if (unlikely(prev > now)) { now 268 arch/x86/kernel/tsc_sync.c max_warp = max(max_warp, prev - now); now 281 arch/x86/kernel/tsc_sync.c WARN(!(now-start), now 283 arch/x86/kernel/tsc_sync.c now-start, end-start); now 1221 arch/x86/kvm/lapic.c ktime_t remaining, now; now 1232 arch/x86/kvm/lapic.c now = ktime_get(); now 1233 arch/x86/kvm/lapic.c remaining = ktime_sub(apic->lapic_timer.target_expiration, now); now 1578 arch/x86/kvm/lapic.c ktime_t now; now 1585 arch/x86/kvm/lapic.c now = ktime_get(); now 1593 arch/x86/kvm/lapic.c expire = ktime_add_ns(now, ns); now 1604 arch/x86/kvm/lapic.c ktime_t now, remaining; now 1611 arch/x86/kvm/lapic.c now = ktime_get(); now 1612 arch/x86/kvm/lapic.c remaining = ktime_sub(apic->lapic_timer.target_expiration, now); now 1623 arch/x86/kvm/lapic.c apic->lapic_timer.target_expiration = ktime_add_ns(now, ns_remaining_new); now 1628 arch/x86/kvm/lapic.c ktime_t now; now 1631 arch/x86/kvm/lapic.c now = ktime_get(); now 1644 arch/x86/kvm/lapic.c apic->lapic_timer.target_expiration = ktime_add_ns(now, apic->lapic_timer.period); now 1651 arch/x86/kvm/lapic.c ktime_t now = ktime_get(); now 1665 arch/x86/kvm/lapic.c delta = ktime_sub(apic->lapic_timer.target_expiration, now); now 5763 arch/x86/kvm/x86.c int now; now 5765 arch/x86/kvm/x86.c now = -addr & ~PAGE_MASK; now 5766 arch/x86/kvm/x86.c rc = emulator_read_write_onepage(addr, val, now, exception, now 5771 arch/x86/kvm/x86.c addr += now; now 5774 arch/x86/kvm/x86.c val += now; now 5775 arch/x86/kvm/x86.c bytes -= now; now 54 arch/x86/lib/delay.c u64 bclock, now, loops = __loops; now 61 arch/x86/lib/delay.c now = rdtsc_ordered(); now 62 arch/x86/lib/delay.c if ((now - bclock) >= loops) now 80 arch/x86/lib/delay.c loops -= (now - bclock); now 56 arch/x86/platform/intel-mid/intel_mid_vrtc.c void vrtc_get_time(struct timespec64 *now) now 82 arch/x86/platform/intel-mid/intel_mid_vrtc.c now->tv_sec = mktime64(year, mon, mday, hour, min, sec); now 83 arch/x86/platform/intel-mid/intel_mid_vrtc.c now->tv_nsec = 0; now 86 arch/x86/platform/intel-mid/intel_mid_vrtc.c int vrtc_set_mmss(const struct timespec64 *now) now 93 arch/x86/platform/intel-mid/intel_mid_vrtc.c rtc_time64_to_tm(now->tv_sec, &tm); now 110 arch/x86/platform/intel-mid/intel_mid_vrtc.c __func__, (s64)now->tv_sec); now 78 arch/x86/xen/time.c static void xen_get_wallclock(struct timespec64 *now) now 80 arch/x86/xen/time.c xen_read_wallclock(now); now 83 arch/x86/xen/time.c static int xen_set_wallclock(const struct timespec64 *now) now 95 arch/x86/xen/time.c struct timespec64 now; now 100 arch/x86/xen/time.c now.tv_sec = tk->xtime_sec; now 101 arch/x86/xen/time.c now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); now 107 arch/x86/xen/time.c if (!was_set && timespec64_compare(&now, &next_sync) < 0) now 114 arch/x86/xen/time.c op.u.settime64.secs = now.tv_sec; now 115 arch/x86/xen/time.c op.u.settime64.nsecs = now.tv_nsec; now 119 arch/x86/xen/time.c op.u.settime32.secs = now.tv_sec; now 120 arch/x86/xen/time.c op.u.settime32.nsecs = now.tv_nsec; now 138 arch/x86/xen/time.c next_sync = now; now 125 block/bfq-cgroup.c u64 now; now 130 block/bfq-cgroup.c now = ktime_get_ns(); now 131 block/bfq-cgroup.c if (now > stats->start_group_wait_time) now 133 block/bfq-cgroup.c now - stats->start_group_wait_time); now 154 block/bfq-cgroup.c u64 now; now 159 block/bfq-cgroup.c now = ktime_get_ns(); now 160 block/bfq-cgroup.c if (now > stats->start_empty_time) now 162 block/bfq-cgroup.c now - stats->start_empty_time); now 195 block/bfq-cgroup.c u64 now = ktime_get_ns(); now 197 block/bfq-cgroup.c if (now > stats->start_idle_time) now 199 block/bfq-cgroup.c now - stats->start_idle_time); now 245 block/bfq-cgroup.c u64 now = ktime_get_ns(); now 247 block/bfq-cgroup.c if (now > io_start_time_ns) now 249 block/bfq-cgroup.c now - io_start_time_ns); now 1755 block/bio.c void update_io_ticks(struct hd_struct *part, unsigned long now) now 1760 block/bio.c if (unlikely(stamp != now)) { now 1761 block/bio.c if (likely(cmpxchg(&part->stamp, stamp, now) == stamp)) { now 1790 block/bio.c unsigned long now = jiffies; now 1791 block/bio.c unsigned long duration = now - start_time; now 1796 block/bio.c update_io_ticks(part, now); now 1639 block/blk-cgroup.c static void blkcg_scale_delay(struct blkcg_gq *blkg, u64 now) now 1656 block/blk-cgroup.c if (time_before64(old + NSEC_PER_SEC, now) && now 1657 block/blk-cgroup.c atomic64_cmpxchg(&blkg->delay_start, old, now) == old) { now 1659 block/blk-cgroup.c u64 sub = min_t(u64, blkg->last_delay, now - old); now 1695 block/blk-cgroup.c u64 now = ktime_to_ns(ktime_get()); now 1702 block/blk-cgroup.c blkcg_scale_delay(blkg, now); now 1724 block/blk-cgroup.c exp = ktime_add_ns(now, delay_nsec); now 1828 block/blk-cgroup.c void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta) now 1830 block/blk-cgroup.c blkcg_scale_delay(blkg, now); now 1322 block/blk-core.c void blk_account_io_done(struct request *req, u64 now) now 1338 block/blk-core.c part_stat_add(part, nsecs[sgrp], now - req->start_time_ns); now 1339 block/blk-core.c part_stat_add(part, time_in_queue, nsecs_to_jiffies64(now - req->start_time_ns)); now 511 block/blk-iocost.c u32 now; now 853 block/blk-iocost.c static void ioc_now(struct ioc *ioc, struct ioc_now *now) now 857 block/blk-iocost.c now->now_ns = ktime_get(); now 858 block/blk-iocost.c now->now = ktime_to_us(now->now_ns); now 859 block/blk-iocost.c now->vrate = atomic64_read(&ioc->vtime_rate); now 871 block/blk-iocost.c now->vnow = ioc->period_at_vtime + now 872 block/blk-iocost.c (now->now - ioc->period_at) * now->vrate; now 876 block/blk-iocost.c static void ioc_start_period(struct ioc *ioc, struct ioc_now *now) now 882 block/blk-iocost.c ioc->period_at = now->now; now 883 block/blk-iocost.c ioc->period_at_vtime = now->vnow; now 1027 block/blk-iocost.c static bool iocg_activate(struct ioc_gq *iocg, struct ioc_now *now) now 1039 block/blk-iocost.c ioc_now(ioc, now); now 1052 block/blk-iocost.c ioc_now(ioc, now); now 1077 block/blk-iocost.c vmargin = ioc->margin_us * now->vrate; now 1078 block/blk-iocost.c vmin = now->vnow - vmargin; now 1097 block/blk-iocost.c TRACE_IOCG_PATH(iocg_activate, iocg, now, now 1104 block/blk-iocost.c ioc_start_period(ioc, now); now 1142 block/blk-iocost.c static void iocg_kick_waitq(struct ioc_gq *iocg, struct ioc_now *now) now 1155 block/blk-iocost.c vbudget = now->vnow - atomic64_read(&iocg->vtime); now 1183 block/blk-iocost.c expires = now->now_ns + now 1184 block/blk-iocost.c DIV64_U64_ROUND_UP(vshortage, now->vrate) * NSEC_PER_USEC; now 1200 block/blk-iocost.c struct ioc_now now; now 1203 block/blk-iocost.c ioc_now(iocg->ioc, &now); now 1206 block/blk-iocost.c iocg_kick_waitq(iocg, &now); now 1212 block/blk-iocost.c static bool iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now, u64 cost) now 1217 block/blk-iocost.c u64 vmargin = ioc->margin_us * now->vrate; now 1233 block/blk-iocost.c if (!iocg->abs_vdebt || time_before_eq64(vtime, now->vnow)) { now 1238 block/blk-iocost.c time_before_eq64(vtime, now->vnow + vmargin)) now 1244 block/blk-iocost.c now->vrate); now 1245 block/blk-iocost.c blkcg_add_delay(blkg, now->now_ns, cost_ns); now 1249 block/blk-iocost.c expires = now->now_ns + DIV64_U64_ROUND_UP(vtime - now->vnow, now 1250 block/blk-iocost.c now->vrate) * NSEC_PER_USEC; now 1266 block/blk-iocost.c struct ioc_now now; now 1270 block/blk-iocost.c ioc_now(iocg->ioc, &now); now 1271 block/blk-iocost.c iocg_kick_delay(iocg, &now, 0); now 1351 block/blk-iocost.c struct ioc_now now; now 1365 block/blk-iocost.c ioc_now(ioc, &now); now 1367 block/blk-iocost.c period_vtime = now.vnow - ioc->period_at_vtime; now 1388 block/blk-iocost.c iocg_kick_waitq(iocg, &now); now 1389 block/blk-iocost.c iocg_kick_delay(iocg, &now, 0); now 1423 block/blk-iocost.c time_after64(vtime, now.vnow - now 1425 block/blk-iocost.c time_before64(vdone, now.vnow - period_vtime)) now 1429 block/blk-iocost.c vusage = now.vnow - iocg->last_vtime; now 1454 block/blk-iocost.c vmargin = ioc->margin_us * now.vrate; now 1455 block/blk-iocost.c vmin = now.vnow - vmargin; now 1489 block/blk-iocost.c TRACE_IOCG_PATH(inuse_takeback, iocg, &now, now 1530 block/blk-iocost.c TRACE_IOCG_PATH(inuse_giveaway, iocg, &now, now 1625 block/blk-iocost.c ioc_start_period(ioc, &now); now 1689 block/blk-iocost.c struct ioc_now now; now 1699 block/blk-iocost.c if (!iocg_activate(iocg, &now)) now 1713 block/blk-iocost.c time_after_eq64(vtime + ioc->inuse_margin_vtime, now.vnow)) { now 1714 block/blk-iocost.c TRACE_IOCG_PATH(inuse_reset, iocg, &now, now 1730 block/blk-iocost.c time_before_eq64(vtime + cost, now.vnow)) { now 1768 block/blk-iocost.c if (iocg_kick_delay(iocg, &now, cost)) now 1795 block/blk-iocost.c iocg_kick_waitq(iocg, &now); now 1816 block/blk-iocost.c struct ioc_now now; now 1829 block/blk-iocost.c ioc_now(ioc, &now); now 1843 block/blk-iocost.c time_before_eq64(atomic64_read(&iocg->vtime) + cost, now.vnow)) { now 1856 block/blk-iocost.c iocg_kick_delay(iocg, &now, cost); now 2021 block/blk-iocost.c struct ioc_now now; now 2025 block/blk-iocost.c ioc_now(ioc, &now); now 2028 block/blk-iocost.c atomic64_set(&iocg->vtime, now.vnow); now 2029 block/blk-iocost.c atomic64_set(&iocg->done_vtime, now.vnow); now 486 block/blk-iolatency.c struct bio_issue *issue, u64 now, now 496 block/blk-iolatency.c now = __bio_issue_time(now); now 498 block/blk-iolatency.c if (now <= start) now 501 block/blk-iolatency.c req_time = now - start; now 510 block/blk-iolatency.c blkcg_add_delay(lat_to_blkg(iolat), now, sub - req_time); now 520 block/blk-iolatency.c static void iolatency_check_latencies(struct iolatency_grp *iolat, u64 now) now 560 block/blk-iolatency.c if ((lat_info->last_scale_event >= now || now 561 block/blk-iolatency.c now - lat_info->last_scale_event < BLKIOLATENCY_MIN_ADJUST_TIME)) now 570 block/blk-iolatency.c lat_info->last_scale_event = now; now 575 block/blk-iolatency.c lat_info->last_scale_event = now; now 594 block/blk-iolatency.c u64 now = ktime_to_ns(ktime_get()); now 626 block/blk-iolatency.c iolatency_record_time(iolat, &bio->bi_issue, now, now 629 block/blk-iolatency.c if (now > window_start && now 630 block/blk-iolatency.c (now - window_start) >= iolat->cur_win_nsec) { now 632 block/blk-iolatency.c window_start, now) == window_start) now 633 block/blk-iolatency.c iolatency_check_latencies(iolat, now); now 661 block/blk-iolatency.c u64 now = ktime_to_ns(ktime_get()); now 689 block/blk-iolatency.c if (lat_info->last_scale_event >= now) now 706 block/blk-iolatency.c if (now - lat_info->last_scale_event >= now 961 block/blk-iolatency.c u64 now = ktime_to_ns(ktime_get()); now 983 block/blk-iolatency.c atomic64_set(&iolat->window_start, now); now 56 block/blk-mq-sched.h static inline void blk_mq_sched_completed_request(struct request *rq, u64 now) now 61 block/blk-mq-sched.h e->type->ops.completed_request(rq, now); now 542 block/blk-mq.c u64 now = 0; now 545 block/blk-mq.c now = ktime_get_ns(); now 549 block/blk-mq.c blk_stat_add(rq, now); now 553 block/blk-mq.c blk_mq_sched_completed_request(rq, now); now 555 block/blk-mq.c blk_account_io_done(rq, now); now 51 block/blk-stat.c void blk_stat_add(struct request *rq, u64 now) now 59 block/blk-stat.c value = (now >= rq->io_start_time_ns) ? now - rq->io_start_time_ns : 0; now 68 block/blk-stat.h void blk_stat_add(struct request *rq, u64 now); now 1874 block/blk-throttle.c unsigned long now = jiffies; now 1879 block/blk-throttle.c if (time_after(tg->last_check_time + tg->td->throtl_slice, now)) now 1882 block/blk-throttle.c tg->last_check_time = now; now 1884 block/blk-throttle.c if (!time_after_eq(now, now 1933 block/blk-throttle.c unsigned long now = jiffies; now 1939 block/blk-throttle.c if (time_after_eq(now, td->low_upgrade_time + td->throtl_slice) && now 1940 block/blk-throttle.c time_after_eq(now, tg_last_low_overflow_time(tg) + now 1965 block/blk-throttle.c unsigned long now = jiffies; now 1972 block/blk-throttle.c if (time_after(tg->last_check_time + tg->td->throtl_slice, now)) now 1975 block/blk-throttle.c elapsed_time = now - tg->last_check_time; now 1976 block/blk-throttle.c tg->last_check_time = now; now 1978 block/blk-throttle.c if (time_before(now, tg_last_low_overflow_time(tg) + now 1986 block/blk-throttle.c tg->last_low_overflow_time[READ] = now; now 1993 block/blk-throttle.c tg->last_low_overflow_time[WRITE] = now; now 1999 block/blk-throttle.c tg->last_low_overflow_time[READ] = now; now 2005 block/blk-throttle.c tg->last_low_overflow_time[WRITE] = now; now 2023 block/blk-throttle.c unsigned long now = ktime_get_ns() >> 10; now 2026 block/blk-throttle.c if (now <= last_finish_time || last_finish_time == 0 || now 2030 block/blk-throttle.c tg->avg_idletime = (tg->avg_idletime * 7 + now - last_finish_time) >> 3; now 218 block/blk-wbt.c u64 now, issue = READ_ONCE(rwb->sync_issue); now 223 block/blk-wbt.c now = ktime_to_ns(ktime_get()); now 224 block/blk-wbt.c return now - issue; now 450 block/blk-wbt.c const unsigned long now = jiffies; now 452 block/blk-wbt.c return time_before(now, rwb->last_issue + HZ / 10) || now 453 block/blk-wbt.c time_before(now, rwb->last_comp + HZ / 10); now 190 block/blk.h void blk_account_io_done(struct request *req, u64 now); now 635 block/kyber-iosched.c static void kyber_completed_request(struct request *rq, u64 now) now 649 block/kyber-iosched.c target, now - rq->start_time_ns); now 651 block/kyber-iosched.c now - rq->io_start_time_ns); now 63 crypto/xor.c unsigned long now, j; now 80 crypto/xor.c while ((now = jiffies) == j) now 82 crypto/xor.c while (time_before(jiffies, now + 1)) { now 587 drivers/acpi/apei/ghes.c unsigned long long now; now 603 drivers/acpi/apei/ghes.c now = sched_clock(); now 604 drivers/acpi/apei/ghes.c if (now - cache->time_in < GHES_ESTATUS_IN_CACHE_MAX_NSEC) now 665 drivers/acpi/apei/ghes.c unsigned long long now, duration, period, max_period = 0; now 672 drivers/acpi/apei/ghes.c now = sched_clock(); now 680 drivers/acpi/apei/ghes.c duration = now - cache->time_in; now 1389 drivers/ata/libahci.c unsigned long now, msecs; now 1415 drivers/ata/libahci.c now = jiffies; now 1416 drivers/ata/libahci.c if (time_after(deadline, now)) now 1417 drivers/ata/libahci.c msecs = jiffies_to_msecs(deadline - now); now 3709 drivers/ata/libata-core.c unsigned long now = jiffies; now 3732 drivers/ata/libata-core.c time_before(now, nodev_deadline)) now 3738 drivers/ata/libata-core.c if (time_after(now, deadline)) now 3741 drivers/ata/libata-core.c if (!warned && time_after(now, start + 5 * HZ) && now 3742 drivers/ata/libata-core.c (deadline - now > 3 * HZ)) { now 2654 drivers/ata/libata-eh.c unsigned long deadline, now; now 2674 drivers/ata/libata-eh.c now = jiffies; now 2675 drivers/ata/libata-eh.c WARN_ON(time_after(ehc->last_reset, now)); now 2678 drivers/ata/libata-eh.c if (time_before(now, deadline)) now 2679 drivers/ata/libata-eh.c schedule_timeout_uninterruptible(deadline - now); now 2994 drivers/ata/libata-eh.c now = jiffies; now 2995 drivers/ata/libata-eh.c if (time_before(now, deadline)) { now 2996 drivers/ata/libata-eh.c unsigned long delta = deadline - now; now 3599 drivers/ata/libata-eh.c u64 now = get_jiffies_64(); now 3603 drivers/ata/libata-eh.c (ent->timestamp < now - min(now, interval))) now 3814 drivers/ata/libata-eh.c unsigned long now; now 3846 drivers/ata/libata-eh.c now = jiffies; now 3847 drivers/ata/libata-eh.c if (time_before_eq(deadline, now)) now 3852 drivers/ata/libata-eh.c deadline - now); now 164 drivers/ata/libata-scsi.c unsigned long now; now 182 drivers/ata/libata-scsi.c now = jiffies; now 185 drivers/ata/libata-scsi.c time_after(dev->unpark_deadline, now)) now 186 drivers/ata/libata-scsi.c msecs = jiffies_to_msecs(dev->unpark_deadline - now); now 215 drivers/base/power/domain.c ktime_t delta, now; now 217 drivers/base/power/domain.c now = ktime_get(); now 218 drivers/base/power/domain.c delta = ktime_sub(now, genpd->accounting_time); now 234 drivers/base/power/domain.c genpd->accounting_time = now; now 67 drivers/base/power/runtime.c u64 now, last, delta; now 74 drivers/base/power/runtime.c now = ktime_get_mono_fast_ns(); now 75 drivers/base/power/runtime.c dev->power.accounting_timestamp = now; now 82 drivers/base/power/runtime.c if (now < last) now 85 drivers/base/power/runtime.c delta = now - last; now 621 drivers/base/power/wakeup.c static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) now 623 drivers/base/power/wakeup.c ktime_t delta = ktime_sub(now, ws->start_prevent_time); now 628 drivers/base/power/wakeup.c ktime_t now) {} now 643 drivers/base/power/wakeup.c ktime_t now; now 662 drivers/base/power/wakeup.c now = ktime_get(); now 663 drivers/base/power/wakeup.c duration = ktime_sub(now, ws->last_time); now 668 drivers/base/power/wakeup.c ws->last_time = now; now 673 drivers/base/power/wakeup.c update_prevent_sleep_time(ws, now); now 972 drivers/base/power/wakeup.c ktime_t now = ktime_get(); now 982 drivers/base/power/wakeup.c ws->start_prevent_time = now; now 984 drivers/base/power/wakeup.c update_prevent_sleep_time(ws, now); now 1015 drivers/base/power/wakeup.c ktime_t now = ktime_get(); now 1017 drivers/base/power/wakeup.c active_time = ktime_sub(now, ws->last_time); now 1024 drivers/base/power/wakeup.c ktime_sub(now, ws->start_prevent_time)); now 740 drivers/block/drbd/drbd_actlog.c unsigned long now = jiffies; now 743 drivers/block/drbd/drbd_actlog.c if (time_after_eq(now, last + DRBD_SYNC_MARK_STEP)) { now 747 drivers/block/drbd/drbd_actlog.c device->rs_mark_time[next] = now; now 1038 drivers/block/drbd/drbd_bitmap.c unsigned long now; now 1082 drivers/block/drbd/drbd_bitmap.c now = jiffies; now 1150 drivers/block/drbd/drbd_bitmap.c unsigned int ms = jiffies_to_msecs(jiffies - now); now 1167 drivers/block/drbd/drbd_bitmap.c now = jiffies; now 1171 drivers/block/drbd/drbd_bitmap.c jiffies - now); now 1173 drivers/block/drbd/drbd_bitmap.c now = b->bm_set; now 1177 drivers/block/drbd/drbd_bitmap.c ppsize(ppb, now << (BM_BLOCK_SHIFT-10)), now); now 96 drivers/block/drbd/drbd_debugfs.c static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) now 108 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "\t%d", jiffies_to_msecs(now - req->start_jif)); now 109 drivers/block/drbd/drbd_debugfs.c seq_print_age_or_dash(m, s & RQ_IN_ACT_LOG, now - req->in_actlog_jif); now 110 drivers/block/drbd/drbd_debugfs.c seq_print_age_or_dash(m, s & RQ_LOCAL_PENDING, now - req->pre_submit_jif); now 113 drivers/block/drbd/drbd_debugfs.c seq_print_age_or_dash(m, s & RQ_NET_SENT, now - req->pre_send_jif); now 114 drivers/block/drbd/drbd_debugfs.c seq_print_age_or_dash(m, (s & RQ_NET_SENT) && !(s & RQ_NET_PENDING), now - req->acked_jif); now 115 drivers/block/drbd/drbd_debugfs.c seq_print_age_or_dash(m, s & RQ_NET_DONE, now - req->net_done_jif); now 122 drivers/block/drbd/drbd_debugfs.c static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) now 125 drivers/block/drbd/drbd_debugfs.c seq_print_one_request(m, req, now); now 128 drivers/block/drbd/drbd_debugfs.c static void seq_print_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) now 145 drivers/block/drbd/drbd_debugfs.c jiffies_to_msecs(now - tmp.start_jif)); now 149 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%d\t", jiffies_to_msecs(now - tmp.submit_jif)); now 156 drivers/block/drbd/drbd_debugfs.c static void seq_print_waiting_for_AL(struct seq_file *m, struct drbd_resource *resource, unsigned long now) now 182 drivers/block/drbd/drbd_debugfs.c seq_printf(m, "%u\t", jiffies_to_msecs(now - jif)); now 191 drivers/block/drbd/drbd_debugfs.c static void seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned long now) now 211 drivers/block/drbd/drbd_debugfs.c jiffies_to_msecs(now - start_jif), now 216 drivers/block/drbd/drbd_debugfs.c static void seq_print_resource_pending_bitmap_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) now 224 drivers/block/drbd/drbd_debugfs.c seq_print_device_bitmap_io(m, device, now); now 248 drivers/block/drbd/drbd_debugfs.c unsigned long now) now 262 drivers/block/drbd/drbd_debugfs.c jiffies_to_msecs(now - peer_req->submit_jif)); now 272 drivers/block/drbd/drbd_debugfs.c struct drbd_device *device, unsigned long now) now 276 drivers/block/drbd/drbd_debugfs.c seq_print_peer_request(m, device, &device->active_ee, now); now 277 drivers/block/drbd/drbd_debugfs.c seq_print_peer_request(m, device, &device->read_ee, now); now 278 drivers/block/drbd/drbd_debugfs.c seq_print_peer_request(m, device, &device->sync_ee, now); now 283 drivers/block/drbd/drbd_debugfs.c jiffies_to_msecs(now - device->flush_jif)); now 288 drivers/block/drbd/drbd_debugfs.c struct drbd_resource *resource, unsigned long now) now 295 drivers/block/drbd/drbd_debugfs.c seq_print_device_peer_requests(m, device, now); now 303 drivers/block/drbd/drbd_debugfs.c unsigned long now) now 352 drivers/block/drbd/drbd_debugfs.c seq_print_minor_vnr_req(m, req, now); now 501 drivers/block/drbd/drbd_debugfs.c unsigned long now) now 513 drivers/block/drbd/drbd_debugfs.c jiffies_to_msecs(now - td.start_jif), now 520 drivers/block/drbd/drbd_debugfs.c unsigned int cb_nr, struct drbd_thread_timing_details *tdp, unsigned long now) now 532 drivers/block/drbd/drbd_debugfs.c seq_print_one_timing_detail(m, tdp+i, now); now 534 drivers/block/drbd/drbd_debugfs.c seq_print_one_timing_detail(m, tdp+i, now); now 576 drivers/block/drbd/drbd_debugfs.c unsigned long now = jiffies; now 585 drivers/block/drbd/drbd_debugfs.c seq_print_minor_vnr_req(m, r1, now); now 589 drivers/block/drbd/drbd_debugfs.c seq_print_minor_vnr_req(m, r1, now); now 593 drivers/block/drbd/drbd_debugfs.c seq_print_minor_vnr_req(m, r2, now); now 694 drivers/block/drbd/drbd_debugfs.c unsigned long now = jiffies; now 710 drivers/block/drbd/drbd_debugfs.c seq_print_one_request(m, r1, now); now 712 drivers/block/drbd/drbd_debugfs.c seq_print_one_request(m, r2, now); now 1382 drivers/block/drbd/drbd_nl.c unsigned int now, new, local, peer; now 1384 drivers/block/drbd/drbd_nl.c now = queue_max_hw_sectors(device->rq_queue) << 9; now 1417 drivers/block/drbd/drbd_nl.c if (device->state.role == R_PRIMARY && new < now) now 1418 drivers/block/drbd/drbd_nl.c drbd_err(device, "ASSERT FAILED new < now; (%u < %u)\n", new, now); now 1420 drivers/block/drbd/drbd_nl.c if (new != now) now 2964 drivers/block/drbd/drbd_receiver.c unsigned long now = jiffies; now 2972 drivers/block/drbd/drbd_receiver.c device->rs_mark_time[i] = now; now 1636 drivers/block/drbd/drbd_req.c unsigned long now, unsigned long ent, now 1641 drivers/block/drbd/drbd_req.c if (!time_after(now, net_req->pre_send_jif + ent)) now 1644 drivers/block/drbd/drbd_req.c if (time_in_range(now, connection->last_reconnect_jif, connection->last_reconnect_jif + ent)) now 1649 drivers/block/drbd/drbd_req.c jiffies_to_msecs(now - net_req->pre_send_jif), ko_count, timeout); now 1660 drivers/block/drbd/drbd_req.c jiffies_to_msecs(now - net_req->pre_send_jif), ko_count, timeout); now 1680 drivers/block/drbd/drbd_req.c if (time_after(now, connection->send.last_sent_barrier_jif + ent)) { now 1682 drivers/block/drbd/drbd_req.c connection->send.last_sent_barrier_jif, now, now 1683 drivers/block/drbd/drbd_req.c jiffies_to_msecs(now - connection->send.last_sent_barrier_jif), ko_count, timeout); now 1714 drivers/block/drbd/drbd_req.c unsigned long now; now 1737 drivers/block/drbd/drbd_req.c now = jiffies; now 1738 drivers/block/drbd/drbd_req.c nt = now + et; now 1773 drivers/block/drbd/drbd_req.c : req_read ? req_read->pre_submit_jif : now; now 1775 drivers/block/drbd/drbd_req.c if (ent && req_peer && net_timeout_reached(req_peer, connection, now, ent, ko_count, timeout)) now 1778 drivers/block/drbd/drbd_req.c if (dt && oldest_submit_jif != now && now 1779 drivers/block/drbd/drbd_req.c time_after(now, oldest_submit_jif + dt) && now 1780 drivers/block/drbd/drbd_req.c !time_in_range(now, device->last_reattach_jif, device->last_reattach_jif + dt)) { now 1787 drivers/block/drbd/drbd_req.c ent = (ent && req_peer && time_before(now, req_peer->pre_send_jif + ent)) now 1788 drivers/block/drbd/drbd_req.c ? req_peer->pre_send_jif + ent : now + et; now 1789 drivers/block/drbd/drbd_req.c dt = (dt && oldest_submit_jif != now && time_before(now, oldest_submit_jif + dt)) now 1790 drivers/block/drbd/drbd_req.c ? oldest_submit_jif + dt : now + et; now 1387 drivers/block/drbd/drbd_state.c unsigned long now = jiffies; now 1391 drivers/block/drbd/drbd_state.c device->rs_start = now; now 1398 drivers/block/drbd/drbd_state.c device->rs_mark_time[i] = now; now 1821 drivers/block/drbd/drbd_worker.c unsigned long now = jiffies; now 1829 drivers/block/drbd/drbd_worker.c device->rs_start = now; now 1832 drivers/block/drbd/drbd_worker.c device->rs_mark_time[i] = now; now 965 drivers/char/ipmi/ipmi_si_intf.c struct timespec now; now 967 drivers/char/ipmi/ipmi_si_intf.c ktime_get_ts(&now); now 968 drivers/char/ipmi/ipmi_si_intf.c if (unlikely(timespec_compare(&now, busy_until) > 0)) { now 1313 drivers/char/random.c unsigned long now = jiffies; now 1323 drivers/char/random.c j_high = (sizeof(now) > 4) ? now >> 32 : 0; now 1325 drivers/char/random.c fast_pool->pool[1] ^= now ^ c_high; now 1339 drivers/char/random.c fast_pool->last = now; now 1345 drivers/char/random.c !time_after(now, fast_pool->last + HZ)) now 1352 drivers/char/random.c fast_pool->last = now; now 1761 drivers/char/random.c unsigned long now; now 1765 drivers/char/random.c stack.now = random_get_entropy(); now 1768 drivers/char/random.c if (stack.now == random_get_entropy()) now 1775 drivers/char/random.c mix_pool_bytes(&input_pool, &stack.now, sizeof(stack.now)); now 1777 drivers/char/random.c stack.now = random_get_entropy(); now 1782 drivers/char/random.c mix_pool_bytes(&input_pool, &stack.now, sizeof(stack.now)); now 1932 drivers/char/random.c ktime_t now = ktime_get_real(); now 1936 drivers/char/random.c mix_pool_bytes(r, &now, sizeof(now)); now 266 drivers/clk/clk-divider.c static bool _is_best_div(unsigned long rate, unsigned long now, now 270 drivers/clk/clk-divider.c return abs(rate - now) < abs(rate - best); now 272 drivers/clk/clk-divider.c return now <= rate && now > best; now 295 drivers/clk/clk-divider.c unsigned long parent_rate, best = 0, now, maxdiv; now 329 drivers/clk/clk-divider.c now = DIV_ROUND_UP_ULL((u64)parent_rate, i); now 330 drivers/clk/clk-divider.c if (_is_best_div(rate, now, best, flags)) { now 332 drivers/clk/clk-divider.c best = now; now 542 drivers/clk/clk.c static bool mux_is_better_rate(unsigned long rate, unsigned long now, now 546 drivers/clk/clk.c return abs(now - rate) < abs(best - rate); now 548 drivers/clk/clk.c return now <= rate && now > best; now 68 drivers/clk/meson/clk-dualdiv.c unsigned long best = 0, now = 0; now 75 drivers/clk/meson/clk-dualdiv.c now = __dualdiv_param_to_rate(parent_rate, &table[i]); now 78 drivers/clk/meson/clk-dualdiv.c if (now == rate) { now 80 drivers/clk/meson/clk-dualdiv.c } else if (abs(now - rate) < abs(best - rate)) { now 81 drivers/clk/meson/clk-dualdiv.c best = now; now 123 drivers/clk/meson/clk-pll.c unsigned long now, now 128 drivers/clk/meson/clk-pll.c if (abs(now - rate) < abs(best - rate)) now 132 drivers/clk/meson/clk-pll.c if (now <= rate && best < now) now 221 drivers/clk/meson/clk-pll.c unsigned long best = 0, now = 0; now 231 drivers/clk/meson/clk-pll.c now = __pll_params_to_rate(parent_rate, m, n, 0, pll); now 232 drivers/clk/meson/clk-pll.c if (meson_clk_pll_is_better(rate, best, now, pll)) { now 233 drivers/clk/meson/clk-pll.c best = now; now 237 drivers/clk/meson/clk-pll.c if (now == rate) now 55 drivers/clk/meson/sclk-div.c unsigned long maxdiv, now, parent_now; now 82 drivers/clk/meson/sclk-div.c now = DIV_ROUND_UP_ULL((u64)parent_now, i); now 84 drivers/clk/meson/sclk-div.c if (abs(rate - now) < abs(rate - best)) { now 86 drivers/clk/meson/sclk-div.c best = now; now 13 drivers/clk/rockchip/clk-half-divider.c static bool _is_best_half_div(unsigned long rate, unsigned long now, now 17 drivers/clk/rockchip/clk-half-divider.c return abs(rate - now) < abs(rate - best); now 19 drivers/clk/rockchip/clk-half-divider.c return now <= rate && now > best; now 40 drivers/clk/rockchip/clk-half-divider.c unsigned long parent_rate, best = 0, now, maxdiv; now 77 drivers/clk/rockchip/clk-half-divider.c now = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), now 80 drivers/clk/rockchip/clk-half-divider.c if (_is_best_half_div(rate, now, best, flags)) { now 82 drivers/clk/rockchip/clk-half-divider.c best = now; now 47 drivers/clk/sunxi-ng/ccu_mp.c unsigned long parent_rate, now; now 80 drivers/clk/sunxi-ng/ccu_mp.c now = parent_rate / div; now 82 drivers/clk/sunxi-ng/ccu_mp.c if (now <= rate && now > best_rate) { now 83 drivers/clk/sunxi-ng/ccu_mp.c best_rate = now; now 86 drivers/clk/sunxi-ng/ccu_mp.c if (now == rate) now 177 drivers/clk/ti/divider.c unsigned long parent_rate, best = 0, now, maxdiv; now 213 drivers/clk/ti/divider.c now = DIV_ROUND_UP(parent_rate, i); now 214 drivers/clk/ti/divider.c if (now <= rate && now > best) { now 216 drivers/clk/ti/divider.c best = now; now 409 drivers/clocksource/sh_cmt.c u32 now = 0; now 412 drivers/clocksource/sh_cmt.c now = sh_cmt_get_counter(ch, &has_wrapped); now 425 drivers/clocksource/sh_cmt.c now = 0; now 431 drivers/clocksource/sh_cmt.c new_match = now + value + delay; now 437 drivers/clocksource/sh_cmt.c now = sh_cmt_get_counter(ch, &has_wrapped); now 461 drivers/clocksource/sh_cmt.c if (now < new_match) { now 86 drivers/clocksource/timer-imx-tpm.c unsigned long next, now; now 91 drivers/clocksource/timer-imx-tpm.c now = tpm_read_counter(); now 99 drivers/clocksource/timer-imx-tpm.c return (int)(next - now) <= 0 ? -ETIME : 0; now 91 drivers/clocksource/timer-prima2.c unsigned long now, next; now 95 drivers/clocksource/timer-prima2.c now = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); now 96 drivers/clocksource/timer-prima2.c next = now + delta; now 100 drivers/clocksource/timer-prima2.c now = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); now 102 drivers/clocksource/timer-prima2.c return next - now > delta ? -ETIME : 0; now 130 drivers/clocksource/timer-stm32.c unsigned long now, next; now 134 drivers/clocksource/timer-stm32.c now = readl_relaxed(timer_of_base(to) + TIM_CNT); now 136 drivers/clocksource/timer-stm32.c if ((next - now) > evt) now 176 drivers/crypto/exynos-rng.c unsigned long now = jiffies; now 180 drivers/crypto/exynos-rng.c if (time_before(now, next_seeding) && now 183 drivers/crypto/nx/nx-842-powernv.c ktime_t start = wmem->start, now = ktime_get(); now 188 drivers/crypto/nx/nx-842-powernv.c now = ktime_get(); now 189 drivers/crypto/nx/nx-842-powernv.c if (ktime_after(now, timeout)) now 199 drivers/crypto/nx/nx-842-powernv.c (long)ktime_us_delta(now, start)); now 379 drivers/crypto/nx/nx-842-powernv.c (unsigned long)ktime_us_delta(now, start)); now 286 drivers/dma/imx-dma.c size_t now; now 288 drivers/dma/imx-dma.c now = min_t(size_t, d->len, sg_dma_len(sg)); now 290 drivers/dma/imx-dma.c d->len -= now; now 299 drivers/dma/imx-dma.c imx_dmav1_writel(imxdma, now, DMA_CNTR(imxdmac->channel)); now 164 drivers/firmware/tegra/bpmp.c ktime_t start, now; now 172 drivers/firmware/tegra/bpmp.c now = ns_to_ktime(local_clock()); now 173 drivers/firmware/tegra/bpmp.c } while (ktime_us_delta(now, start) < timeout); now 589 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c int i, now, size = 0; now 600 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c ret = smu_get_current_clk_freq(smu, SMU_GFXCLK, &now); now 618 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c now / 100) ? "*" : ""); now 622 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c ret = smu_get_current_clk_freq(smu, SMU_UCLK, &now); now 640 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c now / 100) ? "*" : ""); now 644 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c ret = smu_get_current_clk_freq(smu, SMU_SOCCLK, &now); now 662 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c now / 100) ? "*" : ""); now 666 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c ret = smu_get_current_clk_freq(smu, SMU_FCLK, &now); now 684 drivers/gpu/drm/amd/powerplay/arcturus_ppt.c now / 100) ? "*" : ""); now 887 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c uint32_t i, now, size = 0; now 892 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c now = smum_get_argument(hwmgr); now 895 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c if (now == data->gfx_max_freq_limit/100) now 897 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c else if (now == data->gfx_min_freq_limit/100) now 906 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c i == 1 ? now : SMU10_UMD_PSTATE_GFXCLK, now 914 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c now = smum_get_argument(hwmgr); now 921 drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c == now) ? "*" : ""); now 4451 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c int i, now, size = 0; now 4464 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c now = i; now 4469 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (i == now) ? "*" : ""); now 4480 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c now = i; now 4485 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (i == now) ? "*" : ""); now 4494 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c now = i; now 4501 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c (i == now) ? "*" : ""); now 1518 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c int i, now, size = 0; now 1522 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c now = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, now 1531 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c (i == now) ? "*" : ""); now 1534 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c now = PHM_GET_FIELD(cgs_read_ind_register(hwmgr->device, now 1543 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c (SMU8_NUM_NBPMEMORYCLOCK-i == now) ? "*" : ""); now 4478 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c int i, now, size = 0; now 4486 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c now = smum_get_argument(hwmgr); now 4491 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (i == now) ? "*" : ""); now 4498 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c now = smum_get_argument(hwmgr); now 4503 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (i == now) ? "*" : ""); now 4510 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c now = smum_get_argument(hwmgr); now 4515 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (i == now) ? "*" : ""); now 4523 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c now = smum_get_argument(hwmgr); now 4528 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (dcef_table->dpm_levels[i].value / 100 == now) ? now 4533 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c now = smum_get_argument(hwmgr); now 4540 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c (i == now) ? "*" : ""); now 2090 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c int i, now, size = 0; now 2096 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c vega12_get_current_gfx_clk_freq(hwmgr, &now) == 0, now 2107 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : ""); now 2112 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c vega12_get_current_mclk_freq(hwmgr, &now) == 0, now 2123 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (clocks.data[i].clocks_in_khz / 1000 == now / 100) ? "*" : ""); now 2132 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c now = smum_get_argument(hwmgr); now 2141 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (clocks.data[i].clocks_in_khz / 1000 == now) ? "*" : ""); now 2150 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c now = smum_get_argument(hwmgr); now 2159 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c (clocks.data[i].clocks_in_khz / 1000 == now) ? "*" : ""); now 3265 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c int i, now, size = 0; now 3271 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_current_clk_freq(hwmgr, PPCLK_GFXCLK, &now); now 3278 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c now / 100); now 3285 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); now 3289 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_current_clk_freq(hwmgr, PPCLK_UCLK, &now); now 3296 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c now / 100); now 3303 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); now 3307 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_current_clk_freq(hwmgr, PPCLK_SOCCLK, &now); now 3314 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c now / 100); now 3321 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); now 3325 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_current_clk_freq(hwmgr, PPCLK_FCLK, &now); now 3333 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c fclk_dpm_table->dpm_levels[i].value == (now / 100) ? "*" : ""); now 3337 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ret = vega20_get_current_clk_freq(hwmgr, PPCLK_DCEFCLK, &now); now 3344 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c now / 100); now 3351 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); now 943 drivers/gpu/drm/amd/powerplay/vega20_ppt.c int i, now, size = 0; now 962 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_get_current_clk_freq(smu, SMU_GFXCLK, &now); now 978 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (clocks.data[i].clocks_in_khz == now * 10) now 983 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_get_current_clk_freq(smu, SMU_UCLK, &now); now 999 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (clocks.data[i].clocks_in_khz == now * 10) now 1004 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_get_current_clk_freq(smu, SMU_SOCCLK, &now); now 1020 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (clocks.data[i].clocks_in_khz == now * 10) now 1025 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_get_current_clk_freq(smu, SMU_FCLK, &now); now 1035 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (single_dpm_table->dpm_levels[i].value == now / 100) now 1040 drivers/gpu/drm/amd/powerplay/vega20_ppt.c ret = smu_get_current_clk_freq(smu, SMU_DCEFCLK, &now); now 1056 drivers/gpu/drm/amd/powerplay/vega20_ppt.c (clocks.data[i].clocks_in_khz == now * 10) ? "*" : ""); now 1021 drivers/gpu/drm/drm_syncobj.c ktime_t abs_timeout, now; now 1029 drivers/gpu/drm/drm_syncobj.c now = ktime_get(); now 1031 drivers/gpu/drm/drm_syncobj.c if (!ktime_after(abs_timeout, now)) now 1034 drivers/gpu/drm/drm_syncobj.c timeout_ns = ktime_to_ns(ktime_sub(abs_timeout, now)); now 831 drivers/gpu/drm/drm_vblank.c u64 seq, ktime_t now) now 838 drivers/gpu/drm/drm_vblank.c tv = ktime_to_timespec64(now); now 851 drivers/gpu/drm/drm_vblank.c e->event.seq.time_ns = ktime_to_ns(now); now 927 drivers/gpu/drm/drm_vblank.c ktime_t now; now 930 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); now 934 drivers/gpu/drm/drm_vblank.c now = ktime_get(); now 937 drivers/gpu/drm/drm_vblank.c send_vblank_event(dev, e, seq, now); now 1139 drivers/gpu/drm/drm_vblank.c ktime_t now; now 1170 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); now 1180 drivers/gpu/drm/drm_vblank.c send_vblank_event(dev, e, seq, now); now 1457 drivers/gpu/drm/drm_vblank.c ktime_t now; now 1498 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); now 1508 drivers/gpu/drm/drm_vblank.c send_vblank_event(dev, e, seq, now); now 1558 drivers/gpu/drm/drm_vblank.c ktime_t now; now 1566 drivers/gpu/drm/drm_vblank.c reply->sequence = drm_vblank_count_and_time(dev, pipe, &now); now 1567 drivers/gpu/drm/drm_vblank.c ts = ktime_to_timespec64(now); now 1713 drivers/gpu/drm/drm_vblank.c ktime_t now; now 1718 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); now 1731 drivers/gpu/drm/drm_vblank.c send_vblank_event(dev, e, seq, now); now 1833 drivers/gpu/drm/drm_vblank.c ktime_t now; now 1865 drivers/gpu/drm/drm_vblank.c get_seq->sequence = drm_vblank_count_and_time(dev, pipe, &now); now 1866 drivers/gpu/drm/drm_vblank.c get_seq->sequence_ns = ktime_to_ns(now); now 1887 drivers/gpu/drm/drm_vblank.c ktime_t now; now 1925 drivers/gpu/drm/drm_vblank.c seq = drm_vblank_count_and_time(dev, pipe, &now); now 1962 drivers/gpu/drm/drm_vblank.c send_vblank_event(dev, e, seq, now); now 914 drivers/gpu/drm/exynos/exynos_drm_g2d.c struct timespec64 now; now 922 drivers/gpu/drm/exynos/exynos_drm_g2d.c ktime_get_ts64(&now); now 923 drivers/gpu/drm/exynos/exynos_drm_g2d.c e->event.tv_sec = now.tv_sec; now 924 drivers/gpu/drm/exynos/exynos_drm_g2d.c e->event.tv_usec = now.tv_nsec / NSEC_PER_USEC; now 722 drivers/gpu/drm/exynos/exynos_drm_ipp.c struct timespec64 now; now 724 drivers/gpu/drm/exynos/exynos_drm_ipp.c ktime_get_ts64(&now); now 725 drivers/gpu/drm/exynos/exynos_drm_ipp.c task->event->event.tv_sec = now.tv_sec; now 726 drivers/gpu/drm/exynos/exynos_drm_ipp.c task->event->event.tv_usec = now.tv_nsec / NSEC_PER_USEC; now 345 drivers/gpu/drm/i915/gvt/sched_policy.c ktime_t now; now 350 drivers/gpu/drm/i915/gvt/sched_policy.c now = ktime_get(); now 351 drivers/gpu/drm/i915/gvt/sched_policy.c vgpu_data->pri_time = ktime_add(now, now 1133 drivers/gpu/drm/i915/i915_irq.c struct intel_rps_ei now; now 1139 drivers/gpu/drm/i915/i915_irq.c vlv_c0_read(dev_priv, &now); now 1145 drivers/gpu/drm/i915/i915_irq.c time = ktime_us_delta(now.ktime, prev->ktime); now 1154 drivers/gpu/drm/i915/i915_irq.c render = now.render_c0 - prev->render_c0; now 1155 drivers/gpu/drm/i915/i915_irq.c media = now.media_c0 - prev->media_c0; now 1165 drivers/gpu/drm/i915/i915_irq.c rps->ei = now; now 464 drivers/gpu/drm/i915/i915_perf.c u64 now; now 489 drivers/gpu/drm/i915/i915_perf.c now = ktime_get_mono_fast_ns(); now 502 drivers/gpu/drm/i915/i915_perf.c ((now - stream->oa_buffer.aging_timestamp) > now 537 drivers/gpu/drm/i915/i915_perf.c stream->oa_buffer.aging_timestamp = now; now 260 drivers/gpu/drm/i915/i915_pmu.c ktime_t now; now 265 drivers/gpu/drm/i915/i915_pmu.c now = ktime_get(); now 266 drivers/gpu/drm/i915/i915_pmu.c period_ns = ktime_to_ns(ktime_sub(now, pmu->timer_last)); now 267 drivers/gpu/drm/i915/i915_pmu.c pmu->timer_last = now; now 278 drivers/gpu/drm/i915/i915_pmu.c hrtimer_forward(hrtimer, now, ns_to_ktime(PERIOD)); now 350 drivers/gpu/drm/i915/i915_utils.h u64 now = local_clock(); \ now 359 drivers/gpu/drm/i915/i915_utils.h if (now - base >= timeout) { \ now 367 drivers/gpu/drm/i915/i915_utils.h timeout -= now - base; \ now 8109 drivers/gpu/drm/i915/intel_pm.c unsigned long now = jiffies_to_msecs(jiffies), diff1; now 8114 drivers/gpu/drm/i915/intel_pm.c diff1 = now - dev_priv->ips.last_time1; now 8152 drivers/gpu/drm/i915/intel_pm.c dev_priv->ips.last_time1 = now; now 8215 drivers/gpu/drm/i915/intel_pm.c u64 now, diff, diffms; now 8220 drivers/gpu/drm/i915/intel_pm.c now = ktime_get_raw_ns(); now 8221 drivers/gpu/drm/i915/intel_pm.c diffms = now - dev_priv->ips.last_time2; now 8238 drivers/gpu/drm/i915/intel_pm.c dev_priv->ips.last_time2 = now; now 450 drivers/gpu/drm/msm/msm_drv.h ktime_t now = ktime_get(); now 453 drivers/gpu/drm/msm/msm_drv.h if (ktime_compare(*timeout, now) < 0) { now 456 drivers/gpu/drm/msm/msm_drv.h ktime_t rem = ktime_sub(*timeout, now); now 67 drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent); now 78 drivers/gpu/drm/panfrost/panfrost_devfreq.c ktime_t now = ktime_get(); now 84 drivers/gpu/drm/panfrost/panfrost_devfreq.c pfdev->devfreq.slot[i].time_last_update = now; now 202 drivers/gpu/drm/panfrost/panfrost_devfreq.c ktime_t now; now 208 drivers/gpu/drm/panfrost/panfrost_devfreq.c now = ktime_get(); now 213 drivers/gpu/drm/panfrost/panfrost_devfreq.c pfdev->devfreq.slot[slot].busy_time += ktime_sub(now, last); now 215 drivers/gpu/drm/panfrost/panfrost_devfreq.c pfdev->devfreq.slot[slot].idle_time += ktime_sub(now, last); now 217 drivers/gpu/drm/panfrost/panfrost_devfreq.c pfdev->devfreq.slot[slot].time_last_update = now; now 228 drivers/gpu/drm/scheduler/sched_main.c unsigned long sched_timeout, now = jiffies; now 237 drivers/gpu/drm/scheduler/sched_main.c && time_after(sched_timeout, now)) now 238 drivers/gpu/drm/scheduler/sched_main.c return sched_timeout - now; now 46 drivers/gpu/drm/sti/sti_plane.c ktime_t now; now 50 drivers/gpu/drm/sti/sti_plane.c now = ktime_get(); now 63 drivers/gpu/drm/sti/sti_plane.c ms_since_last = ktime_to_ms(ktime_sub(now, fps->last_timestamp)); now 69 drivers/gpu/drm/sti/sti_plane.c fps->last_timestamp = now; now 892 drivers/gpu/drm/stm/ltdc.c ktime_t now; now 894 drivers/gpu/drm/stm/ltdc.c now = ktime_get(); now 895 drivers/gpu/drm/stm/ltdc.c ms_since_last = ktime_to_ms(ktime_sub(now, fpsi->last_timestamp)); now 900 drivers/gpu/drm/stm/ltdc.c fpsi->last_timestamp = now; now 878 drivers/gpu/drm/tilcdc/tilcdc_crtc.c ktime_t now; now 880 drivers/gpu/drm/tilcdc/tilcdc_crtc.c now = ktime_get(); now 884 drivers/gpu/drm/tilcdc/tilcdc_crtc.c tilcdc_crtc->last_vblank = now; now 348 drivers/gpu/drm/via/via_irq.c struct timespec64 now; now 382 drivers/gpu/drm/via/via_irq.c ktime_get_ts64(&now); now 383 drivers/gpu/drm/via/via_irq.c irqwait->reply.tval_sec = now.tv_sec; now 384 drivers/gpu/drm/via/via_irq.c irqwait->reply.tval_usec = now.tv_nsec / NSEC_PER_USEC; now 78 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c u64 now; now 81 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c now = ktime_get_raw_ns(); now 85 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c queue->lag_time = now; now 94 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c queue->lag = now - marker->submitted; now 95 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c queue->lag_time = now; now 109 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c u64 now; now 112 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c now = ktime_get_raw_ns(); now 113 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c queue->lag += now - queue->lag_time; now 114 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c queue->lag_time = now; now 448 drivers/hid/hid-logitech-hidpp.c unsigned long long now, previous; now 456 drivers/hid/hid-logitech-hidpp.c now = sched_clock(); now 458 drivers/hid/hid-logitech-hidpp.c counter->last_time = now; now 465 drivers/hid/hid-logitech-hidpp.c if (now - previous > 1000000000 || direction != counter->direction) now 242 drivers/hid/hid-magicmouse.c unsigned long now = jiffies; now 253 drivers/hid/hid-magicmouse.c if (scroll_acceleration && time_before(now, now 266 drivers/hid/hid-magicmouse.c msc->scroll_jiffies = now; now 274 drivers/hid/hid-magicmouse.c msc->scroll_jiffies = now; now 1131 drivers/hv/hv_balloon.c unsigned long now = jiffies; now 1139 drivers/hv/hv_balloon.c if (!time_after(now, (last_post_time + HZ))) now 642 drivers/i2c/busses/i2c-s3c2410.c ktime_t start, now; now 650 drivers/i2c/busses/i2c-s3c2410.c start = now = ktime_get(); now 676 drivers/i2c/busses/i2c-s3c2410.c ktime_us_delta(now, start) < S3C2410_IDLE_TIMEOUT) { now 680 drivers/i2c/busses/i2c-s3c2410.c now = ktime_get(); now 367 drivers/ide/ide-eh.c unsigned long now; now 377 drivers/ide/ide-eh.c now = jiffies; now 378 drivers/ide/ide-eh.c if (time_before_eq(timeout, now)) now 382 drivers/ide/ide-eh.c timeout = schedule_timeout_uninterruptible(timeout - now); now 97 drivers/ide/ide-park.c unsigned long now; now 104 drivers/ide/ide-park.c now = jiffies; now 106 drivers/ide/ide-park.c time_after(drive->sleep, now)) now 107 drivers/ide/ide-park.c msecs = jiffies_to_msecs(drive->sleep - now); now 775 drivers/iio/adc/ina2xx-adc.c struct timespec64 next, now, delta; now 807 drivers/iio/adc/ina2xx-adc.c ktime_get_ts64(&now); now 817 drivers/iio/adc/ina2xx-adc.c delta = timespec64_sub(next, now); now 80 drivers/iio/proximity/srf04.c ktime_t now = ktime_get(); now 83 drivers/iio/proximity/srf04.c data->ts_rising = now; now 86 drivers/iio/proximity/srf04.c data->ts_falling = now; now 178 drivers/iio/temperature/mlx90614.c unsigned long now; now 186 drivers/iio/temperature/mlx90614.c now = jiffies; now 187 drivers/iio/temperature/mlx90614.c if (time_before(now, data->ready_timestamp) && now 189 drivers/iio/temperature/mlx90614.c data->ready_timestamp - now)) != 0) { now 134 drivers/infiniband/hw/hfi1/aspm.c ktime_t now, prev; now 142 drivers/infiniband/hw/hfi1/aspm.c now = ktime_get(); now 143 drivers/infiniband/hw/hfi1/aspm.c rcd->aspm_ts_last_intr = now; now 146 drivers/infiniband/hw/hfi1/aspm.c close_interrupts = ktime_to_ns(ktime_sub(now, prev)) < ASPM_TRIGGER_NS; now 149 drivers/infiniband/hw/hfi1/aspm.c restart_timer = ktime_to_ns(ktime_sub(now, rcd->aspm_ts_timer_sched)) > now 163 drivers/infiniband/hw/hfi1/aspm.c rcd->aspm_ts_timer_sched = now; now 608 drivers/infiniband/hw/ocrdma/ocrdma_stats.c ulong now = jiffies, secs; now 614 drivers/infiniband/hw/ocrdma/ocrdma_stats.c secs = jiffies_to_msecs(now - dev->last_stats_time) / 1000U; now 115 drivers/input/ff-memless.c unsigned long now = jiffies; now 135 drivers/input/ff-memless.c if (time_before_eq(now, next_at) && now 156 drivers/input/ff-memless.c unsigned long now = jiffies; now 163 drivers/input/ff-memless.c time_before(now, now 167 drivers/input/ff-memless.c time_from_level = jiffies_to_msecs(now - state->play_at); now 172 drivers/input/ff-memless.c time_after(now, now 174 drivers/input/ff-memless.c time_before(now, state->stop_at)) { now 175 drivers/input/ff-memless.c time_from_level = jiffies_to_msecs(state->stop_at - now); now 237 drivers/input/joystick/analog.c u64 time[4], start, loop, now; now 248 drivers/input/joystick/analog.c now = get_time(); now 251 drivers/input/joystick/analog.c start = now; now 256 drivers/input/joystick/analog.c loop = now; now 261 drivers/input/joystick/analog.c now = get_time(); now 264 drivers/input/joystick/analog.c if ((last ^ this) && (delta(loop, now) < loopout)) { now 266 drivers/input/joystick/analog.c time[i] = now; now 270 drivers/input/joystick/analog.c } while (this && (i < 4) && (delta(start, now) < timeout)); now 277 drivers/input/serio/hil_mlc.c time64_t now = ktime_get_seconds(); now 279 drivers/input/serio/hil_mlc.c if (mlc->lcv && (now - mlc->lcv_time) < 5) now 282 drivers/input/serio/hil_mlc.c mlc->lcv_time = now; now 732 drivers/input/serio/hil_mlc.c unsigned long now = jiffies; now 737 drivers/input/serio/hil_mlc.c if (time_after(now, mlc->instart + mlc->intimeout)) now 309 drivers/input/serio/hp_sdc.c ktime_t now = ktime_get(); now 311 drivers/input/serio/hp_sdc.c if (ktime_after(now, ktime_add_us(hp_sdc.rtime, now 322 drivers/input/serio/hp_sdc.c ktime_us_delta(now, hp_sdc.rtime)); now 115 drivers/leds/leds-cr0014114.c unsigned long udelay, now = jiffies; now 118 drivers/leds/leds-cr0014114.c if (time_after(priv->delay, now)) { now 119 drivers/leds/leds-cr0014114.c udelay = jiffies_to_usecs(priv->delay - now); now 778 drivers/macintosh/via-cuda.c u32 now; now 786 drivers/macintosh/via-cuda.c now = (req.reply[3] << 24) + (req.reply[4] << 16) + now 788 drivers/macintosh/via-cuda.c return (time64_t)now - RTC_OFFSET; now 793 drivers/macintosh/via-cuda.c u32 now; now 796 drivers/macintosh/via-cuda.c now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); now 798 drivers/macintosh/via-cuda.c now >> 24, now >> 16, now >> 8, now) < 0) now 1746 drivers/macintosh/via-pmu.c u32 now; now 1753 drivers/macintosh/via-pmu.c now = (req.reply[0] << 24) + (req.reply[1] << 16) + now 1755 drivers/macintosh/via-pmu.c return (time64_t)now - RTC_OFFSET; now 1760 drivers/macintosh/via-pmu.c u32 now; now 1763 drivers/macintosh/via-pmu.c now = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); now 1765 drivers/macintosh/via-pmu.c now >> 24, now >> 16, now >> 8, now) < 0) now 165 drivers/md/bcache/util.c uint64_t now, duration, last; now 169 drivers/md/bcache/util.c now = local_clock(); now 170 drivers/md/bcache/util.c duration = time_after64(now, start_time) now 171 drivers/md/bcache/util.c ? now - start_time : 0; now 172 drivers/md/bcache/util.c last = time_after64(now, stats->last) now 173 drivers/md/bcache/util.c ? now - stats->last : 0; now 188 drivers/md/bcache/util.c stats->last = now ?: 1; now 203 drivers/md/bcache/util.c uint64_t now = local_clock(); now 213 drivers/md/bcache/util.c if (time_before64(now + NSEC_PER_SEC * 5LLU / 2LLU, d->next)) now 214 drivers/md/bcache/util.c d->next = now + NSEC_PER_SEC * 5LLU / 2LLU; now 216 drivers/md/bcache/util.c if (time_after64(now - NSEC_PER_SEC * 2, d->next)) now 217 drivers/md/bcache/util.c d->next = now - NSEC_PER_SEC * 2; now 219 drivers/md/bcache/util.c return time_after64(d->next, now) now 220 drivers/md/bcache/util.c ? div_u64(d->next - now, NSEC_PER_SEC / HZ) now 122 drivers/md/dm-kcopyd.c unsigned throttle, now, difference; now 136 drivers/md/dm-kcopyd.c now = jiffies; now 137 drivers/md/dm-kcopyd.c difference = now - t->last_jiffies; now 138 drivers/md/dm-kcopyd.c t->last_jiffies = now; now 185 drivers/md/dm-kcopyd.c unsigned now, difference; now 187 drivers/md/dm-kcopyd.c now = jiffies; now 188 drivers/md/dm-kcopyd.c difference = now - t->last_jiffies; now 189 drivers/md/dm-kcopyd.c t->last_jiffies = now; now 489 drivers/md/dm-stats.c unsigned long long now, difference; now 493 drivers/md/dm-stats.c now = jiffies; now 495 drivers/md/dm-stats.c now = ktime_to_ns(ktime_get()); now 497 drivers/md/dm-stats.c difference = now - shared->stamp; now 511 drivers/md/dm-stats.c shared->stamp = now; now 3006 drivers/media/dvb-frontends/dib8000.c unsigned long now = jiffies; now 3017 drivers/media/dvb-frontends/dib8000.c state->channel_parameters_set, *tune_state, state->autosearch_state, now); now 3186 drivers/media/dvb-frontends/dib8000.c } else if (time_after(now, *timeout)) { now 3215 drivers/media/dvb-frontends/dib8000.c } else if (time_after(now, *timeout)) now 3258 drivers/media/dvb-frontends/dib8000.c *timeout = now + msecs_to_jiffies(200 * locks); /* give the mpeg lock 800ms if sram is present */ now 3282 drivers/media/dvb-frontends/dib8000.c } else if (time_after(now, *timeout)) { now 3291 drivers/media/dvb-frontends/dib8000.c jiffies_to_msecs(now - *timeout), now 458 drivers/media/rc/ati_remote.c unsigned long now = jiffies, reset_time; now 463 drivers/media/rc/ati_remote.c if (time_after(now, ati_remote->old_jiffies + reset_time)) { now 464 drivers/media/rc/ati_remote.c ati_remote->acc_jiffies = now; now 470 drivers/media/rc/ati_remote.c if (time_before(now, ati_remote->acc_jiffies + timeout)) now 567 drivers/media/rc/ati_remote.c unsigned long now = jiffies; now 571 drivers/media/rc/ati_remote.c time_before(now, ati_remote->old_jiffies + now 576 drivers/media/rc/ati_remote.c ati_remote->first_jiffies = now; now 579 drivers/media/rc/ati_remote.c ati_remote->old_jiffies = now; now 587 drivers/media/rc/ati_remote.c time_before(now, ati_remote->first_jiffies + now 58 drivers/media/rc/ir-rx51.c ktime_t now; now 89 drivers/media/rc/ir-rx51.c now = timer->base->get_time(); now 91 drivers/media/rc/ir-rx51.c } while (hrtimer_get_expires_tv64(timer) < now); now 104 drivers/media/rc/rc-ir-raw.c ktime_t now; now 110 drivers/media/rc/rc-ir-raw.c now = ktime_get(); now 111 drivers/media/rc/rc-ir-raw.c ev.duration = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); now 131 drivers/media/rc/rc-ir-raw.c ktime_t now; now 137 drivers/media/rc/rc-ir-raw.c now = ktime_get(); now 142 drivers/media/rc/rc-ir-raw.c dev->raw->last_event = now; now 216 drivers/media/rc/serial_ir.c ktime_t now, target = ktime_add_us(edge, length); now 231 drivers/media/rc/serial_ir.c now = ktime_get(); now 232 drivers/media/rc/serial_ir.c if (ktime_compare(now, target) >= 0) now 236 drivers/media/rc/serial_ir.c delta = ktime_to_ns(ktime_sub(edge, now)); now 239 drivers/media/rc/serial_ir.c now = ktime_get(); now 241 drivers/media/rc/serial_ir.c if (ktime_compare(now, target) >= 0) now 244 drivers/media/rc/serial_ir.c delta = ktime_to_ns(ktime_sub(edge, now)); now 43 drivers/misc/ibmasm/ibmasm.h struct timespec64 now; now 45 drivers/misc/ibmasm/ibmasm.h ktime_get_real_ts64(&now); now 46 drivers/misc/ibmasm/ibmasm.h sprintf(buf, "%llu.%.08lu", (long long)now.tv_sec, now 47 drivers/misc/ibmasm/ibmasm.h now.tv_nsec / NSEC_PER_USEC); now 3442 drivers/net/bonding/bond_main.c struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1]; now 3446 drivers/net/bonding/bond_main.c now = dev; now 3452 drivers/net/bonding/bond_main.c ldev = netdev_next_lower_dev_rcu(now, &iter); now 3458 drivers/net/bonding/bond_main.c dev_stack[cur] = now; now 3472 drivers/net/bonding/bond_main.c now = next; now 388 drivers/net/can/softing/softing_fw.c ktime_t now, real_offset; now 392 drivers/net/can/softing/softing_fw.c now = ktime_get(); now 393 drivers/net/can/softing/softing_fw.c real_offset = ktime_sub(ktime_get_real(), now); now 401 drivers/net/can/softing/softing_fw.c while (unlikely(ktime_to_ns(tmp) > ktime_to_ns(now))) { now 1827 drivers/net/dsa/sja1105/sja1105_main.c u64 now, ts; now 1858 drivers/net/dsa/sja1105/sja1105_main.c now = priv->tstamp_cc.read(&priv->tstamp_cc); now 1867 drivers/net/dsa/sja1105/sja1105_main.c ts = sja1105_tstamp_reconstruct(priv, now, ts); now 2011 drivers/net/dsa/sja1105/sja1105_main.c u64 now; now 2019 drivers/net/dsa/sja1105/sja1105_main.c now = priv->tstamp_cc.read(&priv->tstamp_cc); now 2024 drivers/net/dsa/sja1105/sja1105_main.c ts = sja1105_tstamp_reconstruct(priv, now, ts); now 129 drivers/net/dsa/sja1105/sja1105_ptp.c u64 sja1105_tstamp_reconstruct(struct sja1105_private *priv, u64 now, now 135 drivers/net/dsa/sja1105/sja1105_ptp.c ts_reconstructed = (now & ~partial_tstamp_mask) | ts_partial; now 141 drivers/net/dsa/sja1105/sja1105_ptp.c if ((now & partial_tstamp_mask) <= ts_partial) now 22 drivers/net/dsa/sja1105/sja1105_ptp.h u64 sja1105_tstamp_reconstruct(struct sja1105_private *priv, u64 now, now 46 drivers/net/dsa/sja1105/sja1105_ptp.h u64 now, u64 ts_partial) now 13963 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c ktime_t now = ktime_get_boottime(); now 13966 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (ktime_before(now, fw_ready_time)) now 13967 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c msleep(ktime_ms_delta(fw_ready_time, now)); now 7306 drivers/net/ethernet/broadcom/bnxt/bnxt.c time64_t now = ktime_get_real_seconds(); now 7312 drivers/net/ethernet/broadcom/bnxt/bnxt.c time64_to_tm(now, 0, &tm); now 155 drivers/net/ethernet/cadence/macb_ptp.c struct timespec64 now, then = ns_to_timespec64(delta); now 164 drivers/net/ethernet/cadence/macb_ptp.c gem_tsu_get_time(&bp->ptp_clock_info, &now); now 165 drivers/net/ethernet/cadence/macb_ptp.c now = timespec64_add(now, then); now 168 drivers/net/ethernet/cadence/macb_ptp.c (const struct timespec64 *)&now); now 400 drivers/net/ethernet/chelsio/cxgb/sge.c ktime_t now = ktime_get(); now 404 drivers/net/ethernet/chelsio/cxgb/sge.c delta_time_ns = ktime_to_ns(ktime_sub(now, s->last_updated)); now 418 drivers/net/ethernet/chelsio/cxgb/sge.c s->last_updated = now; now 421 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c struct timespec64 now; now 439 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c now = ktime_to_timespec64(ktime_get_real()); now 441 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c if (cxgb4_ptp_settime(&adapter->ptp_clock_info, &now) < 0) { now 1500 drivers/net/ethernet/cisco/enic/enic_main.c ktime_t now = ktime_get(); now 1502 drivers/net/ethernet/cisco/enic/enic_main.c delta = ktime_us_delta(now, cq->prev_ts); now 1505 drivers/net/ethernet/cisco/enic/enic_main.c cq->prev_ts = now; now 2130 drivers/net/ethernet/emulex/benet/be_main.c ulong now) now 2134 drivers/net/ethernet/emulex/benet/be_main.c aic->jiffies = now; now 2145 drivers/net/ethernet/emulex/benet/be_main.c ulong now; now 2172 drivers/net/ethernet/emulex/benet/be_main.c now = jiffies; now 2173 drivers/net/ethernet/emulex/benet/be_main.c if (!aic->jiffies || time_before(now, aic->jiffies) || now 2176 drivers/net/ethernet/emulex/benet/be_main.c be_aic_update(aic, rx_pkts, tx_pkts, now); now 2180 drivers/net/ethernet/emulex/benet/be_main.c delta = jiffies_to_msecs(now - aic->jiffies); now 2193 drivers/net/ethernet/emulex/benet/be_main.c be_aic_update(aic, rx_pkts, tx_pkts, now); now 2203 drivers/net/ethernet/emulex/benet/be_main.c ulong now = jiffies; now 2210 drivers/net/ethernet/emulex/benet/be_main.c if (jiffies_to_msecs(now - aic->jiffies) < 1) now 148 drivers/net/ethernet/intel/i40e/i40e_ptp.c struct timespec64 now, then; now 153 drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_read(pf, &now, NULL); now 154 drivers/net/ethernet/intel/i40e/i40e_ptp.c now = timespec64_add(now, then); now 155 drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_write(pf, (const struct timespec64 *)&now); now 267 drivers/net/ethernet/intel/igb/igb_ptp.c struct timespec64 now, then = ns_to_timespec64(delta); now 271 drivers/net/ethernet/intel/igb/igb_ptp.c igb_ptp_read_i210(igb, &now); now 272 drivers/net/ethernet/intel/igb/igb_ptp.c now = timespec64_add(now, then); now 273 drivers/net/ethernet/intel/igb/igb_ptp.c igb_ptp_write_i210(igb, (const struct timespec64 *)&now); now 239 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c unsigned long now = jiffies; now 254 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c if (time_before(now, fc_stats->next_query) || now 264 drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c fc_stats->next_query = now + fc_stats->sampling_interval; now 1908 drivers/net/ethernet/mscc/ocelot.c u64 now; now 1912 drivers/net/ethernet/mscc/ocelot.c now = ktime_to_ns(timespec64_to_ktime(ts)); now 1913 drivers/net/ethernet/mscc/ocelot.c ts = ns_to_timespec64(now + delta); now 92 drivers/net/ethernet/netronome/nfp/abm/qdisc.c u64 now; now 98 drivers/net/ethernet/netronome/nfp/abm/qdisc.c now = ktime_get(); now 99 drivers/net/ethernet/netronome/nfp/abm/qdisc.c if (now - alink->last_stats_update < NFP_ABM_STATS_REFRESH_IVAL) now 102 drivers/net/ethernet/netronome/nfp/abm/qdisc.c __nfp_abm_stats_update(alink, now); now 138 drivers/net/ethernet/renesas/ravb_ptp.c u64 now = ktime_to_ns(timespec64_to_ktime(ts)); now 140 drivers/net/ethernet/renesas/ravb_ptp.c ts = ns_to_timespec64(now + delta); now 859 drivers/net/ethernet/sfc/ptp.c struct pps_event_time now; now 864 drivers/net/ethernet/sfc/ptp.c pps_get_ts(&now); now 865 drivers/net/ethernet/sfc/ptp.c limit = now.ts_real; now 869 drivers/net/ethernet/sfc/ptp.c while ((timespec64_compare(&now.ts_real, &limit) < 0) && now 875 drivers/net/ethernet/sfc/ptp.c update_time = now.ts_real; now 878 drivers/net/ethernet/sfc/ptp.c pps_get_ts(&now); now 879 drivers/net/ethernet/sfc/ptp.c } while ((timespec64_compare(&now.ts_real, &update_time) < 0) && now 883 drivers/net/ethernet/sfc/ptp.c host_time = (now.ts_real.tv_sec << MC_NANOSECOND_BITS | now 884 drivers/net/ethernet/sfc/ptp.c now.ts_real.tv_nsec); now 888 drivers/net/ethernet/sfc/ptp.c *last_time = now; now 513 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c struct timespec64 now; now 718 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c ktime_get_real_ts64(&now); now 722 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c (u32)now.tv_sec, now.tv_nsec); now 621 drivers/net/phy/dp83640.c s64 now, diff; now 700 drivers/net/phy/dp83640.c now = phy2txts(&event_ts); now 712 drivers/net/phy/dp83640.c diff = now - (s64) phy2txts(&event_ts); now 252 drivers/net/vxlan.c unsigned long now = jiffies; now 305 drivers/net/vxlan.c ci.ndm_used = jiffies_to_clock_t(now - fdb->used); now 307 drivers/net/vxlan.c ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); now 248 drivers/net/wan/sdla.c unsigned long start, done, now; now 251 drivers/net/wan/sdla.c start = now = jiffies; now 260 drivers/net/wan/sdla.c if (jiffies != now) now 263 drivers/net/wan/sdla.c now = jiffies; now 131 drivers/net/wimax/i2400m/i2400m-usb.h unsigned long now; now 133 drivers/net/wimax/i2400m/i2400m-usb.h now = jiffies; now 134 drivers/net/wimax/i2400m/i2400m-usb.h if (time_after(now, edc->timestart + timeframe)) { now 136 drivers/net/wimax/i2400m/i2400m-usb.h edc->timestart = now; now 139 drivers/net/wimax/i2400m/i2400m-usb.h edc->timestart = now; now 165 drivers/net/wireless/ath/wil6210/debugfs.c cycles_t now = get_cycles(); now 167 drivers/net/wireless/ath/wil6210/debugfs.c uint64_t total = now - txdata->begin; now 176 drivers/net/wireless/ath/wil6210/debugfs.c txdata->begin = now; now 407 drivers/net/wireless/broadcom/b43/debugfs.c static unsigned long calc_expire_secs(unsigned long now, now 413 drivers/net/wireless/broadcom/b43/debugfs.c if (time_after(now, expire)) now 415 drivers/net/wireless/broadcom/b43/debugfs.c if (expire < now) { now 418 drivers/net/wireless/broadcom/b43/debugfs.c now -= MAX_JIFFY_OFFSET; now 420 drivers/net/wireless/broadcom/b43/debugfs.c B43_WARN_ON(expire < now); now 422 drivers/net/wireless/broadcom/b43/debugfs.c return (expire - now) / HZ; now 432 drivers/net/wireless/broadcom/b43/debugfs.c unsigned long now = jiffies; now 446 drivers/net/wireless/broadcom/b43/debugfs.c calc_expire_secs(now, lo->txctl_measured_time, now 451 drivers/net/wireless/broadcom/b43/debugfs.c calc_expire_secs(now, lo->pwr_vec_read_time, now 465 drivers/net/wireless/broadcom/b43/debugfs.c calc_expire_secs(now, cal->calib_time, now 925 drivers/net/wireless/broadcom/b43/lo.c unsigned long now; now 933 drivers/net/wireless/broadcom/b43/lo.c now = jiffies; now 938 drivers/net/wireless/broadcom/b43/lo.c expire = now - B43_LO_PWRVEC_EXPIRE; now 950 drivers/net/wireless/broadcom/b43/lo.c expire = now - B43_LO_CALIB_EXPIRE; now 484 drivers/net/wireless/broadcom/b43/phy_common.c unsigned long now = jiffies; now 489 drivers/net/wireless/broadcom/b43/phy_common.c if (time_before(now, phy->next_txpwr_check_time)) now 493 drivers/net/wireless/broadcom/b43/phy_common.c phy->next_txpwr_check_time = round_jiffies(now + (HZ * 2)); now 4225 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc_hw->now++; now 4252 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->pub->now++; now 4265 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if ((wlc->pub->now % SW_TIMER_MAC_STAT_UPD) == 0) now 4269 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c ((wlc->pub->now - wlc->tempsense_lasttime) >= now 4271 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c wlc->tempsense_lasttime = wlc->pub->now; now 7821 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c "(seconds). Resetting.\n", wlc_hw->unit, wlc_hw->now); now 347 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h uint now; /* # elapsed seconds */ now 1082 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c pi->nphy_perical_last = pi->sh->now - pi->sh->glacial_timer; now 2353 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c pi->phynoise_now = pi->sh->now; now 2585 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c pi->sh->now++; now 2596 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (pi->phynoise_state && (pi->sh->now - pi->phynoise_now) > 5) now 2600 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c ((pi->sh->now - pi->phycal_txpower) >= pi->sh->fast_timer)) { now 2603 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c pi->phycal_txpower = pi->sh->now; now 2614 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c ((pi->sh->now - pi->nphy_perical_last) >= now 2624 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c ((pi->sh->now - pi->phy_lastcal) >= now 478 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h uint now; now 4178 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi->phy_lastcal = pi->sh->now; now 4204 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c pi->phy_lastcal = pi->sh->now; now 25179 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_papd_last_cal = pi->sh->now; now 25511 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_perical_last = pi->sh->now; now 25529 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c pi->nphy_perical_last = pi->sh->now; now 157 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h uint now; /* # elapsed seconds */ now 681 drivers/net/wireless/intel/ipw2x00/ipw2100.c time64_t now = ktime_get_boottime_seconds(); now 687 drivers/net/wireless/intel/ipw2x00/ipw2100.c (now - priv->last_reset > priv->reset_backoff)) now 690 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->last_reset = now; now 2173 drivers/net/wireless/intel/ipw2x00/ipw2200.c unsigned long now, end; now 2215 drivers/net/wireless/intel/ipw2x00/ipw2200.c now = jiffies; now 2216 drivers/net/wireless/intel/ipw2x00/ipw2200.c end = now + HOST_COMPLETE_TIMEOUT; now 2221 drivers/net/wireless/intel/ipw2x00/ipw2200.c end - now); now 2223 drivers/net/wireless/intel/ipw2x00/ipw2200.c now = jiffies; now 2224 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (time_before(now, end)) now 4799 drivers/net/wireless/intel/iwlegacy/common.c unsigned long now = jiffies; now 4803 drivers/net/wireless/intel/iwlegacy/common.c txq->time_stamp = now; now 4811 drivers/net/wireless/intel/iwlegacy/common.c if (time_after(now, timeout)) { now 4813 drivers/net/wireless/intel/iwlegacy/common.c jiffies_to_msecs(now - txq->time_stamp)); now 297 drivers/net/wireless/intel/iwlwifi/mvm/coex.c unsigned long now = jiffies; now 299 drivers/net/wireless/intel/iwlwifi/mvm/coex.c if (!time_after(now, mvm->bt_coex_last_tcm_ts + MVM_COEX_TCM_PERIOD)) now 302 drivers/net/wireless/intel/iwlwifi/mvm/coex.c mvm->bt_coex_last_tcm_ts = now; now 1065 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c unsigned long now = jiffies; now 1089 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (time_before(data->last_rx + TU_TO_JIFFIES(timeout), now)) now 1091 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c data->last_rx = now; now 1102 drivers/net/wireless/intel/iwlwifi/mvm/sta.c unsigned long now = jiffies; now 1139 drivers/net/wireless/intel/iwlwifi/mvm/sta.c IWL_MVM_DQA_QUEUE_TIMEOUT, now)) now 1009 drivers/net/wireless/intel/iwlwifi/mvm/tx.c unsigned long now = jiffies; now 1017 drivers/net/wireless/intel/iwlwifi/mvm/tx.c IWL_MVM_DQA_QUEUE_TIMEOUT, now)) now 2223 drivers/net/wireless/intel/iwlwifi/pcie/trans.c unsigned long now; now 2227 drivers/net/wireless/intel/iwlwifi/pcie/trans.c now = jiffies; now 2241 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (unlikely(time_after(now, now 2251 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txq->stuck_timer.expires - now; now 2261 drivers/net/wireless/intel/iwlwifi/pcie/trans.c now + txq->frozen_expiry_remainder); now 2347 drivers/net/wireless/intel/iwlwifi/pcie/trans.c unsigned long now = jiffies; now 2371 drivers/net/wireless/intel/iwlwifi/pcie/trans.c now + msecs_to_jiffies(IWL_FLUSH_WAIT_MS))) { now 800 drivers/net/wireless/mac80211_hwsim.c u64 now = mac80211_hwsim_get_tsf_raw(); now 801 drivers/net/wireless/mac80211_hwsim.c return cpu_to_le64(now + data->tsf_offset); now 815 drivers/net/wireless/mac80211_hwsim.c u64 now = mac80211_hwsim_get_tsf(hw, vif); now 817 drivers/net/wireless/mac80211_hwsim.c u64 delta = abs(tsf - now); now 820 drivers/net/wireless/mac80211_hwsim.c if (tsf > now) { now 1225 drivers/net/wireless/mac80211_hwsim.c u64 now; now 1277 drivers/net/wireless/mac80211_hwsim.c now = data->abs_bcn_ts; now 1279 drivers/net/wireless/mac80211_hwsim.c now = mac80211_hwsim_get_tsf_raw(); now 1340 drivers/net/wireless/mac80211_hwsim.c rx_status.mactime = now + data2->tsf_offset; now 558 drivers/net/wireless/realtek/rtlwifi/core.c time64_t now; now 566 drivers/net/wireless/realtek/rtlwifi/core.c now = ktime_get_real_seconds(); now 567 drivers/net/wireless/realtek/rtlwifi/core.c if (now - rtlhal->last_suspend_sec < 5) now 1328 drivers/net/wireless/st/cw1200/txrx.c unsigned long now = jiffies; now 1338 drivers/net/wireless/st/cw1200/txrx.c now - priv->link_id_db[i].timestamp; now 1383 drivers/net/wireless/st/cw1200/txrx.c unsigned long now = jiffies; now 1421 drivers/net/wireless/st/cw1200/txrx.c ttl = priv->link_id_db[i].timestamp - now + now 1443 drivers/net/wireless/st/cw1200/txrx.c priv->link_id_db[i].timestamp = now; now 685 drivers/net/xen-netback/netback.c u64 now = get_jiffies_64(); now 696 drivers/net/xen-netback/netback.c if (time_after_eq64(now, next_credit)) { now 697 drivers/net/xen-netback/netback.c queue->credit_window_start = now; now 97 drivers/pci/hotplug/pciehp_hpc.c unsigned long now, timeout; now 114 drivers/pci/hotplug/pciehp_hpc.c now = jiffies; now 115 drivers/pci/hotplug/pciehp_hpc.c if (time_before_eq(cmd_timeout, now)) now 118 drivers/pci/hotplug/pciehp_hpc.c timeout = cmd_timeout - now; now 206 drivers/perf/arm_smmuv3_pmu.c u64 delta, prev, now; now 211 drivers/perf/arm_smmuv3_pmu.c now = smmu_pmu_counter_get_value(smmu_pmu, idx); now 212 drivers/perf/arm_smmuv3_pmu.c } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); now 215 drivers/perf/arm_smmuv3_pmu.c delta = now - prev; now 342 drivers/perf/qcom_l2_pmu.c u64 delta, prev, now; now 347 drivers/perf/qcom_l2_pmu.c now = cluster_pmu_counter_get_value(idx); now 348 drivers/perf/qcom_l2_pmu.c } while (local64_cmpxchg(&hwc->prev_count, prev, now) != prev); now 354 drivers/perf/qcom_l2_pmu.c delta = now - prev; now 59 drivers/platform/chrome/cros_ec_lightbar.c unsigned long now, next_timeslot; now 65 drivers/platform/chrome/cros_ec_lightbar.c now = jiffies; now 68 drivers/platform/chrome/cros_ec_lightbar.c if (time_before(now, next_timeslot)) { now 69 drivers/platform/chrome/cros_ec_lightbar.c delay = (long)(next_timeslot) - (long)now; now 76 drivers/platform/chrome/cros_ec_lightbar.c now = jiffies; now 79 drivers/platform/chrome/cros_ec_lightbar.c last_access = now; now 176 drivers/platform/chrome/cros_usbpd_logger.c ktime_t now; now 180 drivers/platform/chrome/cros_usbpd_logger.c now = ktime_get_real(); now 188 drivers/platform/chrome/cros_usbpd_logger.c cros_usbpd_print_log_entry(r, now); now 766 drivers/platform/x86/ideapad-laptop.c unsigned long now; now 771 drivers/platform/x86/ideapad-laptop.c if (read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now)) now 773 drivers/platform/x86/ideapad-laptop.c return now; now 802 drivers/platform/x86/ideapad-laptop.c unsigned long max, now, power; now 806 drivers/platform/x86/ideapad-laptop.c if (read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now)) now 825 drivers/platform/x86/ideapad-laptop.c blightdev->props.brightness = now; now 852 drivers/platform/x86/ideapad-laptop.c unsigned long now; now 856 drivers/platform/x86/ideapad-laptop.c read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now); now 141 drivers/pnp/pnpbios/core.c static struct pnp_docking_station_info now; now 156 drivers/pnp/pnpbios/core.c status = pnp_bios_dock_station_info(&now); now 176 drivers/pnp/pnpbios/core.c if (pnp_dock_event(d, &now) == 0) { now 95 drivers/power/reset/ltc2952-poweroff.c ktime_t now; now 106 drivers/power/reset/ltc2952-poweroff.c now = hrtimer_cb_get_time(timer); now 107 drivers/power/reset/ltc2952-poweroff.c overruns = hrtimer_forward(timer, now, data->wde_interval); now 382 drivers/power/supply/ab8500_fg.c time64_t now = ktime_get_boottime_seconds(); now 388 drivers/power/supply/ab8500_fg.c avg->time_stamps[avg->pos] = now; now 401 drivers/power/supply/ab8500_fg.c } while (now - VALID_CAPACITY_SEC > avg->time_stamps[avg->pos]); now 440 drivers/power/supply/ab8500_fg.c time64_t now; now 443 drivers/power/supply/ab8500_fg.c now = ktime_get_boottime_seconds(); now 447 drivers/power/supply/ab8500_fg.c avg->time_stamps[i] = now; now 1098 drivers/power/supply/charger-manager.c ktime_t now, add; now 1110 drivers/power/supply/charger-manager.c now = ktime_get_boottime(); now 1113 drivers/power/supply/charger-manager.c alarm_start(cm_timer, ktime_add(now, add)); now 1610 drivers/power/supply/charger-manager.c static enum alarmtimer_restart cm_timer_func(struct alarm *alarm, ktime_t now) now 1943 drivers/power/supply/charger-manager.c unsigned long now = jiffies + CM_JIFFIES_SMALL; now 1945 drivers/power/supply/charger-manager.c if (time_after_eq(now, cm->fullbatt_vchk_jiffies_at)) { now 1946 drivers/power/supply/charger-manager.c delay = (unsigned long)((long)now now 382 drivers/power/supply/cpcap-battery.c ktime_t now; now 386 drivers/power/supply/cpcap-battery.c now = ktime_get(); now 390 drivers/power/supply/cpcap-battery.c s64 delta_ms = ktime_to_ms(ktime_sub(now, latest->time)); now 396 drivers/power/supply/cpcap-battery.c state.time = now; now 149 drivers/ptp/ptp_ixp46x.c s64 now; now 156 drivers/ptp/ptp_ixp46x.c now = ixp_systime_read(regs); now 157 drivers/ptp/ptp_ixp46x.c now += delta; now 158 drivers/ptp/ptp_ixp46x.c ixp_systime_write(regs, now); now 426 drivers/ptp/ptp_pch.c s64 now; now 432 drivers/ptp/ptp_pch.c now = pch_systime_read(regs); now 433 drivers/ptp/ptp_pch.c now += delta; now 434 drivers/ptp/ptp_pch.c pch_systime_write(regs, now); now 227 drivers/ptp/ptp_qoriq.c s64 now; now 233 drivers/ptp/ptp_qoriq.c now = tmr_cnt_read(ptp_qoriq); now 234 drivers/ptp/ptp_qoriq.c now += delta; now 235 drivers/ptp/ptp_qoriq.c tmr_cnt_write(ptp_qoriq, now); now 453 drivers/ptp/ptp_qoriq.c struct timespec64 now; now 512 drivers/ptp/ptp_qoriq.c ktime_get_real_ts64(&now); now 513 drivers/ptp/ptp_qoriq.c ptp_qoriq_settime(&ptp_qoriq->caps, &now); now 206 drivers/pwm/pwm-sun4i.c unsigned long now; now 278 drivers/pwm/pwm-sun4i.c now = jiffies; now 280 drivers/pwm/pwm-sun4i.c time_before(now, sun4i_pwm->next_period[pwm->hwpwm])) { now 282 drivers/pwm/pwm-sun4i.c now); now 291 drivers/rtc/dev.c time64_t now, then; now 296 drivers/rtc/dev.c now = rtc_tm_to_time64(&tm); now 307 drivers/rtc/dev.c if (then < now) { now 308 drivers/rtc/dev.c rtc_time64_to_tm(now + 24 * 60 * 60, &tm); now 215 drivers/rtc/interface.c struct rtc_time before, now; now 268 drivers/rtc/interface.c memcpy(&before, &now, sizeof(struct rtc_time)); now 283 drivers/rtc/interface.c err = rtc_read_time(rtc, &now); now 288 drivers/rtc/interface.c } while (before.tm_min != now.tm_min || now 289 drivers/rtc/interface.c before.tm_hour != now.tm_hour || now 290 drivers/rtc/interface.c before.tm_mon != now.tm_mon || now 291 drivers/rtc/interface.c before.tm_year != now.tm_year); now 297 drivers/rtc/interface.c alarm->time.tm_sec = now.tm_sec; now 299 drivers/rtc/interface.c alarm->time.tm_min = now.tm_min; now 301 drivers/rtc/interface.c alarm->time.tm_hour = now.tm_hour; now 305 drivers/rtc/interface.c alarm->time.tm_mday = now.tm_mday; now 309 drivers/rtc/interface.c alarm->time.tm_mon = now.tm_mon; now 314 drivers/rtc/interface.c alarm->time.tm_year = now.tm_year; now 327 drivers/rtc/interface.c t_now = rtc_tm_to_time64(&now); now 412 drivers/rtc/interface.c time64_t now, scheduled; now 425 drivers/rtc/interface.c now = rtc_tm_to_time64(&tm); now 426 drivers/rtc/interface.c if (scheduled <= now) now 486 drivers/rtc/interface.c struct rtc_time now; now 492 drivers/rtc/interface.c err = rtc_read_time(rtc, &now); now 504 drivers/rtc/interface.c if (alarm->enabled && (rtc_tm_to_ktime(now) < now 571 drivers/rtc/interface.c ktime_t now, onesec; now 575 drivers/rtc/interface.c now = rtc_tm_to_ktime(tm); now 576 drivers/rtc/interface.c rtc->uie_rtctimer.node.expires = ktime_add(now, onesec); now 795 drivers/rtc/interface.c ktime_t now; now 799 drivers/rtc/interface.c now = rtc_tm_to_ktime(tm); now 803 drivers/rtc/interface.c if (next->expires >= now) now 891 drivers/rtc/interface.c ktime_t now; now 900 drivers/rtc/interface.c now = rtc_tm_to_ktime(tm); now 902 drivers/rtc/interface.c if (next->expires > now) now 76 drivers/rtc/rtc-88pm80x.c static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, now 82 drivers/rtc/rtc-88pm80x.c next->tm_year = now->tm_year; now 83 drivers/rtc/rtc-88pm80x.c next->tm_mon = now->tm_mon; now 84 drivers/rtc/rtc-88pm80x.c next->tm_mday = now->tm_mday; now 89 drivers/rtc/rtc-88pm80x.c now_time = rtc_tm_to_time64(now); now 83 drivers/rtc/rtc-88pm860x.c static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, now 89 drivers/rtc/rtc-88pm860x.c next->tm_year = now->tm_year; now 90 drivers/rtc/rtc-88pm860x.c next->tm_mon = now->tm_mon; now 91 drivers/rtc/rtc-88pm860x.c next->tm_mday = now->tm_mday; now 96 drivers/rtc/rtc-88pm860x.c rtc_tm_to_time(now, &now_time); now 123 drivers/rtc/rtc-brcmstb-waketimer.c struct wktmr_time now; now 125 drivers/rtc/rtc-brcmstb-waketimer.c wktmr_read(timer, &now); now 127 drivers/rtc/rtc-brcmstb-waketimer.c rtc_time64_to_tm(now.sec, tm); now 382 drivers/rtc/rtc-cmos.c struct rtc_time now; now 384 drivers/rtc/rtc-cmos.c cmos_read_time(dev, &now); now 390 drivers/rtc/rtc-cmos.c t_max_date = rtc_tm_to_time64(&now); now 399 drivers/rtc/rtc-cmos.c struct rtc_time max_date = now; now 423 drivers/rtc/rtc-cmos.c struct rtc_time max_date = now; now 935 drivers/rtc/rtc-cmos.c struct rtc_time now; now 951 drivers/rtc/rtc-cmos.c cmos_read_time(dev, &now); now 952 drivers/rtc/rtc-cmos.c t_now = rtc_tm_to_time64(&now); now 1038 drivers/rtc/rtc-cmos.c struct rtc_time now; now 1044 drivers/rtc/rtc-cmos.c cmos_read_time(dev, &now); now 1045 drivers/rtc/rtc-cmos.c t_now = rtc_tm_to_time64(&now); now 419 drivers/rtc/rtc-davinci.c unsigned long now, then; now 422 drivers/rtc/rtc-davinci.c rtc_tm_to_time(&tm, &now); now 429 drivers/rtc/rtc-davinci.c if (then < now) { now 430 drivers/rtc/rtc-davinci.c rtc_time_to_tm(now + 24 * 60 * 60, &tm); now 94 drivers/rtc/rtc-digicolor.c unsigned long now; now 97 drivers/rtc/rtc-digicolor.c ret = dc_rtc_read(rtc, &now); now 100 drivers/rtc/rtc-digicolor.c rtc_time64_to_tm(now, tm); now 116 drivers/rtc/rtc-digicolor.c unsigned long now; now 123 drivers/rtc/rtc-digicolor.c ret = dc_rtc_read(rtc, &now); now 127 drivers/rtc/rtc-digicolor.c alarm->pending = alarm_reg + reference > now; now 322 drivers/rtc/rtc-ds1305.c unsigned long now, later; now 336 drivers/rtc/rtc-ds1305.c status = rtc_tm_to_time(&tm, &now); now 341 drivers/rtc/rtc-ds1305.c if (later <= now) now 343 drivers/rtc/rtc-ds1305.c if ((later - now) > 24 * 60 * 60) now 190 drivers/rtc/rtc-ds1374.c u32 now, cur_alarm; now 207 drivers/rtc/rtc-ds1374.c ret = ds1374_read_rtc(client, &now, DS1374_REG_TOD0, 4); now 215 drivers/rtc/rtc-ds1374.c rtc_time_to_tm(now + cur_alarm, &alarm->time); now 228 drivers/rtc/rtc-ds1374.c struct rtc_time now; now 236 drivers/rtc/rtc-ds1374.c ret = ds1374_read_time(dev, &now); now 241 drivers/rtc/rtc-ds1374.c rtc_tm_to_time(&now, &itime); now 210 drivers/rtc/rtc-fsl-ftm-alarm.c unsigned long now, alm_time, cycle; now 214 drivers/rtc/rtc-fsl-ftm-alarm.c rtc_tm_to_time(&tm, &now); now 218 drivers/rtc/rtc-fsl-ftm-alarm.c cycle = (alm_time - now) * rtc->alarm_freq; now 542 drivers/rtc/rtc-imxdi.c unsigned long now; now 544 drivers/rtc/rtc-imxdi.c now = readl(imxdi->ioaddr + DTCMR); now 545 drivers/rtc/rtc-imxdi.c rtc_time64_to_tm(now, tm); now 263 drivers/rtc/rtc-mcp795.c time64_t now; now 273 drivers/rtc/rtc-mcp795.c now = rtc_tm_to_time64(&now_tm); now 275 drivers/rtc/rtc-mcp795.c if (later <= now) now 278 drivers/rtc/rtc-mcp795.c if ((later - now) >= now 107 drivers/rtc/rtc-mpc5121.c unsigned long now; now 112 drivers/rtc/rtc-mpc5121.c now = in_be32(®s->actual_time) + in_be32(®s->target_time); now 114 drivers/rtc/rtc-mpc5121.c rtc_time_to_tm(now, tm); now 130 drivers/rtc/rtc-mpc5121.c unsigned long now; now 136 drivers/rtc/rtc-mpc5121.c ret = rtc_tm_to_time(tm, &now); now 138 drivers/rtc/rtc-mpc5121.c out_be32(®s->target_time, now - in_be32(®s->actual_time)); now 148 drivers/rtc/rtc-mxc_v2.c const time64_t now = readl(pdata->ioaddr + SRTC_LPSCMR); now 150 drivers/rtc/rtc-mxc_v2.c rtc_time64_to_tm(now, tm); now 415 drivers/rtc/rtc-omap.c unsigned long now; now 432 drivers/rtc/rtc-omap.c now = rtc_tm_to_time64(&tm); now 433 drivers/rtc/rtc-omap.c rtc_time64_to_tm(now + 1, &tm); now 156 drivers/rtc/rtc-st-lpc.c struct rtc_time now; now 161 drivers/rtc/rtc-st-lpc.c st_rtc_read_time(dev, &now); now 162 drivers/rtc/rtc-st-lpc.c now_secs = rtc_tm_to_time64(&now); now 152 drivers/rtc/sysfs.c time64_t now, alarm; now 165 drivers/rtc/sysfs.c now = rtc_tm_to_time64(&alm.time); now 181 drivers/rtc/sysfs.c alarm += now; now 182 drivers/rtc/sysfs.c if (alarm > now || push) { now 205 drivers/rtc/sysfs.c alarm = now + 300; now 21 drivers/rtc/systohc.c int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec) now 47 drivers/rtc/systohc.c ok = rtc_tv_nsec_ok(rtc->set_offset_nsec, &to_set, &now); now 1680 drivers/s390/block/dasd.c unsigned long now; now 1712 drivers/s390/block/dasd.c now = get_tod_clock(); now 1786 drivers/s390/block/dasd.c cqr->stopclk = now; now 1836 drivers/s390/block/dasd.c cqr->stopclk = now; now 222 drivers/s390/char/sclp.c unsigned long flags, now; now 226 drivers/s390/char/sclp.c now = jiffies; now 231 drivers/s390/char/sclp.c if (time_before_eq(req->queue_expires, now)) { now 64 drivers/s390/scsi/zfcp_fc.c unsigned long now = jiffies; now 69 drivers/s390/scsi/zfcp_fc.c if (time_before(now, next)) { now 70 drivers/s390/scsi/zfcp_fc.c delay = next - now; now 52 drivers/s390/scsi/zfcp_qdio.c unsigned long long now, span; now 55 drivers/s390/scsi/zfcp_qdio.c now = get_tod_clock_monotonic(); now 56 drivers/s390/scsi/zfcp_qdio.c span = (now - qdio->req_q_time) >> 12; now 59 drivers/s390/scsi/zfcp_qdio.c qdio->req_q_time = now; now 2366 drivers/scsi/aacraid/commsup.c int aac_send_safw_hostttime(struct aac_dev *dev, struct timespec64 *now) now 2377 drivers/scsi/aacraid/commsup.c local_time = (now->tv_sec - (sys_tz.tz_minuteswest * 60)); now 2395 drivers/scsi/aacraid/commsup.c int aac_send_hosttime(struct aac_dev *dev, struct timespec64 *now) now 2407 drivers/scsi/aacraid/commsup.c *info = cpu_to_le32(now->tv_sec); /* overflow in y2106 */ now 2479 drivers/scsi/aacraid/commsup.c struct timespec64 now; now 2489 drivers/scsi/aacraid/commsup.c ktime_get_real_ts64(&now); now 2492 drivers/scsi/aacraid/commsup.c if (((NSEC_PER_SEC - (NSEC_PER_SEC / HZ)) > now.tv_nsec) now 2493 drivers/scsi/aacraid/commsup.c && (now.tv_nsec > (NSEC_PER_SEC / HZ))) now 2495 drivers/scsi/aacraid/commsup.c now.tv_nsec / (NSEC_PER_SEC / HZ); now 2497 drivers/scsi/aacraid/commsup.c if (now.tv_nsec > NSEC_PER_SEC / 2) now 2498 drivers/scsi/aacraid/commsup.c ++now.tv_sec; now 2502 drivers/scsi/aacraid/commsup.c aac_send_safw_hostttime(dev, &now); now 2504 drivers/scsi/aacraid/commsup.c ret = aac_send_hosttime(dev, &now); now 5203 drivers/scsi/be2iscsi/be_main.c unsigned long now; now 5215 drivers/scsi/be2iscsi/be_main.c now = jiffies; now 5216 drivers/scsi/be2iscsi/be_main.c if (!aic->jiffies || time_before(now, aic->jiffies) || now 5218 drivers/scsi/be2iscsi/be_main.c aic->jiffies = now; now 5222 drivers/scsi/be2iscsi/be_main.c delta = jiffies_to_msecs(now - aic->jiffies); now 5231 drivers/scsi/be2iscsi/be_main.c aic->jiffies = now; now 8249 drivers/scsi/hpsa.c u64 now; now 8253 drivers/scsi/hpsa.c now = get_jiffies_64(); now 8256 drivers/scsi/hpsa.c (h->heartbeat_sample_interval), now)) now 8265 drivers/scsi/hpsa.c (h->heartbeat_sample_interval), now)) now 8279 drivers/scsi/hpsa.c h->last_heartbeat_timestamp = now; now 2545 drivers/scsi/ips.c time64_t now = ktime_get_real_seconds(); now 2546 drivers/scsi/ips.c if (now - ha->last_ffdc > IPS_SECS_8HOURS) { now 2547 drivers/scsi/ips.c ha->last_ffdc = now; now 3234 drivers/scsi/qla2xxx/qla_nx2.c uint64_t now; now 3309 drivers/scsi/qla2xxx/qla_nx2.c now = get_jiffies_64(); now 3310 drivers/scsi/qla2xxx/qla_nx2.c timestamp = (u32)(jiffies_to_msecs(now) / 1000); now 3855 drivers/scsi/qla2xxx/qla_os.c int now; now 3864 drivers/scsi/qla2xxx/qla_os.c qlt_do_generation_tick(vha, &now); now 3013 drivers/scsi/qla4xxx/ql4_nx.c uint64_t now; now 3041 drivers/scsi/qla4xxx/ql4_nx.c now = get_jiffies_64(); now 3042 drivers/scsi/qla4xxx/ql4_nx.c timestamp = (u32)(jiffies_to_msecs(now) / 1000); now 477 drivers/scsi/st.c ktime_t now; now 479 drivers/scsi/st.c now = ktime_get(); now 481 drivers/scsi/st.c now = ktime_sub(now, STp->stats->write_time); now 482 drivers/scsi/st.c atomic64_add(ktime_to_ns(now), &STp->stats->tot_write_time); now 483 drivers/scsi/st.c atomic64_add(ktime_to_ns(now), &STp->stats->tot_io_time); now 495 drivers/scsi/st.c now = ktime_sub(now, STp->stats->read_time); now 496 drivers/scsi/st.c atomic64_add(ktime_to_ns(now), &STp->stats->tot_read_time); now 497 drivers/scsi/st.c atomic64_add(ktime_to_ns(now), &STp->stats->tot_io_time); now 509 drivers/scsi/st.c now = ktime_sub(now, STp->stats->other_time); now 510 drivers/scsi/st.c atomic64_add(ktime_to_ns(now), &STp->stats->tot_io_time); now 203 drivers/staging/comedi/drivers/comedi_test.c u64 now; now 207 drivers/staging/comedi/drivers/comedi_test.c now = ktime_to_us(ktime_get()); now 210 drivers/staging/comedi/drivers/comedi_test.c while (nsamples && devpriv->ai_convert_time < now) { now 235 drivers/staging/comedi/drivers/comedi_test.c if (devpriv->ai_convert_time > now) now 236 drivers/staging/comedi/drivers/comedi_test.c time_increment = devpriv->ai_convert_time - now; now 440 drivers/staging/comedi/drivers/comedi_test.c u64 now; now 445 drivers/staging/comedi/drivers/comedi_test.c now = ktime_to_us(ktime_get()); now 446 drivers/staging/comedi/drivers/comedi_test.c scans_since = now - devpriv->ao_last_scan_time; now 496 drivers/staging/comedi/drivers/comedi_test.c devpriv->ao_scan_period - now; now 586 drivers/staging/comedi/drivers/jr3_pci.c unsigned long now; now 592 drivers/staging/comedi/drivers/jr3_pci.c now = jiffies; now 599 drivers/staging/comedi/drivers/jr3_pci.c if (time_after_eq(now, spriv->next_time_min)) { now 502 drivers/staging/fwserial/fwserial.c unsigned long now = jiffies; now 503 drivers/staging/fwserial/fwserial.c unsigned long elapsed = now - port->break_last; now 508 drivers/staging/fwserial/fwserial.c port->break_last = now; now 1190 drivers/staging/fwserial/fwserial.c struct async_icount now; now 1193 drivers/staging/fwserial/fwserial.c now = port->icount; now 1195 drivers/staging/fwserial/fwserial.c delta = ((mask & TIOCM_RNG && prev->rng != now.rng) || now 1196 drivers/staging/fwserial/fwserial.c (mask & TIOCM_DSR && prev->dsr != now.dsr) || now 1197 drivers/staging/fwserial/fwserial.c (mask & TIOCM_CAR && prev->dcd != now.dcd) || now 1198 drivers/staging/fwserial/fwserial.c (mask & TIOCM_CTS && prev->cts != now.cts)); now 1200 drivers/staging/fwserial/fwserial.c *prev = now; now 342 drivers/staging/ks7010/ks_hostif.c unsigned long now; now 379 drivers/staging/ks7010/ks_hostif.c now = jiffies; now 383 drivers/staging/ks7010/ks_hostif.c (now - mic_failure->last_failure_time) / HZ >= 60) { now 393 drivers/staging/ks7010/ks_hostif.c (u16)((now - mic_failure->last_failure_time) / HZ); now 398 drivers/staging/ks7010/ks_hostif.c priv->wpa.mic_failure.last_failure_time = now; now 237 drivers/staging/olpc_dcon/olpc_dcon.c ktime_t delta_t, now; now 240 drivers/staging/olpc_dcon/olpc_dcon.c now = ktime_get(); now 241 drivers/staging/olpc_dcon/olpc_dcon.c delta_t = ktime_sub(now, dcon->load_time); now 703 drivers/staging/uwb/uwb.h unsigned long now; now 705 drivers/staging/uwb/uwb.h now = jiffies; now 706 drivers/staging/uwb/uwb.h if (now - err_hist->timestart > timeframe) { now 708 drivers/staging/uwb/uwb.h err_hist->timestart = now; now 711 drivers/staging/uwb/uwb.h err_hist->timestart = now; now 291 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c ktime_t now = ktime_get(); now 299 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c (ktime_compare(alsa_stream->interpolate_start, now) < 0)) { now 301 drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c (ktime_to_ns(ktime_sub(now, now 233 drivers/thermal/cpu_cooling.c u64 now, now_idle, delta_time, delta_idle; now 236 drivers/thermal/cpu_cooling.c now_idle = get_cpu_idle_time(cpu, &now, 0); now 238 drivers/thermal/cpu_cooling.c delta_time = now - idle_time->timestamp; now 246 drivers/thermal/cpu_cooling.c idle_time->timestamp = now; now 760 drivers/thermal/thermal_sysfs.c ktime_t now = ktime_get(), delta; now 762 drivers/thermal/thermal_sysfs.c delta = ktime_sub(now, stats->last_time); now 765 drivers/thermal/thermal_sysfs.c stats->last_time = now; now 384 drivers/usb/chipidea/otg_fsm.c ktime_t now, *timeout; now 394 drivers/usb/chipidea/otg_fsm.c now = ktime_get(); now 396 drivers/usb/chipidea/otg_fsm.c if (ktime_compare(now, ci->hr_timeouts[cur_timer]) >= 0) { now 1684 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_ep_sethalt(struct usb_ep *ep, int value, bool now); now 4268 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_ep_sethalt(struct usb_ep *ep, int value, bool now) now 4293 drivers/usb/dwc2/gadget.c if (!now && value && !list_empty(&hs_ep->queue)) { now 1486 drivers/usb/host/ehci-sched.c u32 now, base, next, start, period, span, now2; now 1561 drivers/usb/host/ehci-sched.c now = ehci_read_frame_index(ehci) & (mod - 1); now 1565 drivers/usb/host/ehci-sched.c next = now + ehci->i_thresh; /* uframe cache */ now 1567 drivers/usb/host/ehci-sched.c next = (now + 2 + 7) & ~0x07; /* full frame cache */ now 1571 drivers/usb/host/ehci-sched.c ehci->last_iso_frame = now >> 3; now 1590 drivers/usb/host/ehci-sched.c now2 = (now - base) & (mod - 1); now 401 drivers/usb/host/ehci-timer.c ktime_t now; now 416 drivers/usb/host/ehci-timer.c now = ktime_get(); now 418 drivers/usb/host/ehci-timer.c if (ktime_compare(now, ehci->hr_timeouts[e]) >= 0) now 1343 drivers/usb/host/fotg210-hcd.c ktime_t now; now 1358 drivers/usb/host/fotg210-hcd.c now = ktime_get(); now 1360 drivers/usb/host/fotg210-hcd.c if (ktime_compare(now, fotg210->hr_timeouts[e]) >= 0) now 4168 drivers/usb/host/fotg210-hcd.c u32 now, next, start, period, span; now 4182 drivers/usb/host/fotg210-hcd.c now = fotg210_read_frame_index(fotg210) & (mod - 1); now 4198 drivers/usb/host/fotg210-hcd.c next = now + fotg210->i_thresh; now 4200 drivers/usb/host/fotg210-hcd.c next = now; now 4212 drivers/usb/host/fotg210-hcd.c if (start - now >= mod) { now 4214 drivers/usb/host/fotg210-hcd.c urb, start - now - period, period, now 4230 drivers/usb/host/fotg210-hcd.c start = SCHEDULE_SLOP + (now & ~0x07); now 4252 drivers/usb/host/fotg210-hcd.c urb, now, now + mod); now 4259 drivers/usb/host/fotg210-hcd.c if (unlikely(start - now + span - period >= now 4262 drivers/usb/host/fotg210-hcd.c urb, start - now, span - period, now 4277 drivers/usb/host/fotg210-hcd.c fotg210->next_frame = now >> 3; now 621 drivers/usb/host/ohci-hub.c u16 now = ohci_readl(ohci, &ohci->regs->fmnumber); now 622 drivers/usb/host/ohci-hub.c u16 reset_done = now + PORT_RESET_MSEC; now 663 drivers/usb/host/ohci-hub.c now = ohci_readl(ohci, &ohci->regs->fmnumber); now 664 drivers/usb/host/ohci-hub.c } while (tick_before(now, reset_done) && --limit_1 >= 0); now 2748 drivers/usb/host/oxu210hp-hcd.c unsigned now; now 2753 drivers/usb/host/oxu210hp-hcd.c now = readl(&oxu->regs->frame_index) % mod; now 2754 drivers/usb/host/oxu210hp-hcd.c if (now_uframe == now) now 2758 drivers/usb/host/oxu210hp-hcd.c clock = now; now 2639 drivers/usb/host/u132-hcd.c u16 now; now 2644 drivers/usb/host/u132-hcd.c now = fmnumber; now 2645 drivers/usb/host/u132-hcd.c reset_done = now + PORT_RESET_MSEC; now 2657 drivers/usb/host/u132-hcd.c } while (tick_before(now, reset_done)); now 2679 drivers/usb/host/u132-hcd.c now = fmnumber; now 2680 drivers/usb/host/u132-hcd.c } while (tick_before(now, reset_done)); now 184 drivers/usb/mon/mon_text.c struct timespec64 now; now 187 drivers/usb/mon/mon_text.c ktime_get_ts64(&now); now 188 drivers/usb/mon/mon_text.c stamp = now.tv_sec & 0xFFF; /* 2^32 = 4294967296. Limit to 4096s. */ now 189 drivers/usb/mon/mon_text.c stamp = stamp * USEC_PER_SEC + now.tv_nsec / NSEC_PER_USEC; now 128 drivers/usb/usbip/vudc_dev.c struct timespec64 now; now 131 drivers/usb/usbip/vudc_dev.c ktime_get_ts64(&now); now 132 drivers/usb/usbip/vudc_dev.c return ((now.tv_sec - udc->start_time.tv_sec) * 1000 + now 133 drivers/usb/usbip/vudc_dev.c (now.tv_nsec - udc->start_time.tv_nsec) / NSEC_PER_MSEC) now 36 drivers/virtio/virtio_ring.c ktime_t now = ktime_get(); \ now 40 drivers/virtio/virtio_ring.c WARN_ON(ktime_to_ms(ktime_sub(now, \ now 42 drivers/virtio/virtio_ring.c (_vq)->last_add_time = now; \ now 169 drivers/watchdog/watchdog_dev.c ktime_t earliest_keepalive, now; now 174 drivers/watchdog/watchdog_dev.c now = ktime_get(); now 176 drivers/watchdog/watchdog_dev.c if (ktime_after(earliest_keepalive, now)) { now 178 drivers/watchdog/watchdog_dev.c ktime_sub(earliest_keepalive, now), now 183 drivers/watchdog/watchdog_dev.c wd_data->last_hw_keepalive = now; now 386 fs/afs/cell.c time64_t now, expiry = 0; now 422 fs/afs/cell.c now = ktime_get_real_seconds(); now 425 fs/afs/cell.c if (expiry < now + min_ttl) now 426 fs/afs/cell.c expiry = now + min_ttl; now 427 fs/afs/cell.c else if (expiry > now + max_ttl) now 428 fs/afs/cell.c expiry = now + max_ttl; now 445 fs/afs/cell.c cell->dns_expiry = now + 10; now 531 fs/afs/cell.c time64_t now, expire_delay; now 538 fs/afs/cell.c now = ktime_get_real_seconds(); now 539 fs/afs/cell.c cell->last_inactive = now; now 758 fs/afs/cell.c time64_t now = ktime_get_real_seconds(), next_manage = TIME64_MAX; now 797 fs/afs/cell.c if (purging || expire_at <= now) now 819 fs/afs/cell.c now = ktime_get_real_seconds(); now 821 fs/afs/cell.c if (next_manage - now <= 0) { now 825 fs/afs/cell.c afs_set_cell_timer(net, next_manage - now); now 53 fs/afs/flock.c ktime_t expires_at, now, duration; now 57 fs/afs/flock.c now = ktime_get_real(); now 58 fs/afs/flock.c duration = ktime_sub(expires_at, now); now 598 fs/afs/inode.c time64_t now = ktime_get_real_seconds(); now 622 fs/afs/inode.c } else if (vnode->cb_expires_at - 10 <= now) { now 443 fs/afs/server.c time64_t now = ktime_get_real_seconds(), next_manage = TIME64_MAX; now 469 fs/afs/server.c if (purging || expire_at <= now) { now 485 fs/afs/server.c now = ktime_get_real_seconds(); now 487 fs/afs/server.c if (next_manage - now <= 0) { now 491 fs/afs/server.c afs_set_server_timer(net, next_manage - now); now 573 fs/afs/server.c time64_t now = ktime_get_real_seconds(); now 583 fs/afs/server.c diff = READ_ONCE(server->update_at) - now; now 286 fs/afs/volume.c time64_t now = ktime_get_real_seconds(); now 291 fs/afs/volume.c if (volume->update_at <= now) now 228 fs/attr.c struct timespec64 now; now 260 fs/attr.c now = current_time(inode); now 262 fs/attr.c attr->ia_ctime = now; now 264 fs/attr.c attr->ia_atime = now; now 268 fs/attr.c attr->ia_mtime = now; now 1727 fs/btrfs/disk-io.c time64_t now; now 1743 fs/btrfs/disk-io.c now = ktime_get_seconds(); now 1746 fs/btrfs/disk-io.c (now < cur->start_time || now 1747 fs/btrfs/disk-io.c now - cur->start_time < fs_info->commit_interval)) { now 1869 fs/btrfs/file.c struct timespec64 now; now 1874 fs/btrfs/file.c now = current_time(inode); now 1875 fs/btrfs/file.c if (!timespec64_equal(&inode->i_mtime, &now)) now 1876 fs/btrfs/file.c inode->i_mtime = now; now 1878 fs/btrfs/file.c if (!timespec64_equal(&inode->i_ctime, &now)) now 1879 fs/btrfs/file.c inode->i_ctime = now; now 2874 fs/btrfs/file.c struct timespec64 now = current_time(inode); now 2877 fs/btrfs/file.c inode->i_mtime = now; now 2878 fs/btrfs/file.c inode->i_ctime = now; now 6269 fs/btrfs/inode.c static int btrfs_update_time(struct inode *inode, struct timespec64 *now, now 6281 fs/btrfs/inode.c inode->i_ctime = *now; now 6283 fs/btrfs/inode.c inode->i_mtime = *now; now 6285 fs/btrfs/inode.c inode->i_atime = *now; now 6639 fs/btrfs/inode.c struct timespec64 now = current_time(&parent_inode->vfs_inode); now 6641 fs/btrfs/inode.c parent_inode->vfs_inode.i_mtime = now; now 6642 fs/btrfs/inode.c parent_inode->vfs_inode.i_ctime = now; now 1109 fs/ceph/snap.c unsigned long now; now 1113 fs/ceph/snap.c now = jiffies; now 1118 fs/ceph/snap.c if (time_after(sm->last_used + CEPH_SNAPID_MAP_TIMEOUT, now)) now 342 fs/cifs/dfs_cache.c struct timespec64 now; now 344 fs/cifs/dfs_cache.c ktime_get_coarse_real_ts64(&now); now 345 fs/cifs/dfs_cache.c return timespec64_add(now, ts); now 96 fs/cifs/transport.c unsigned long now; now 113 fs/cifs/transport.c now = jiffies; now 114 fs/cifs/transport.c if (now < midEntry->when_alloc) now 116 fs/cifs/transport.c roundtrip_time = now - midEntry->when_alloc; now 142 fs/cifs/transport.c time_after(now, midEntry->when_alloc + (slow_rsp_threshold * HZ)) && now 157 fs/cifs/transport.c now - midEntry->when_alloc, now 158 fs/cifs/transport.c now - midEntry->when_sent, now 159 fs/cifs/transport.c now - midEntry->when_received); now 2295 fs/dlm/lock.c static int _can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, now 2379 fs/dlm/lock.c if (now && conv && !(lkb->lkb_exflags & DLM_LKF_QUECVT)) now 2387 fs/dlm/lock.c if (now && conv && (lkb->lkb_exflags & DLM_LKF_QUECVT)) { now 2408 fs/dlm/lock.c if (!now && conv && first_in_list(lkb, &r->res_convertqueue)) now 2422 fs/dlm/lock.c if (now && !conv && list_empty(&r->res_convertqueue) && now 2434 fs/dlm/lock.c if (!now && !conv && list_empty(&r->res_convertqueue) && now 2441 fs/dlm/lock.c static int can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, now 2451 fs/dlm/lock.c rv = _can_be_granted(r, lkb, now, recover); now 2470 fs/dlm/lock.c lkb->lkb_id, now); now 2490 fs/dlm/lock.c rv = _can_be_granted(r, lkb, now, 0); now 1799 fs/eventpoll.c struct timespec64 now, ts = { now 1804 fs/eventpoll.c ktime_get_ts64(&now); now 1805 fs/eventpoll.c return timespec64_add_safe(now, ts); now 674 fs/ext4/ialloc.c u32 dtime, now; now 697 fs/ext4/ialloc.c now = ktime_get_real_seconds(); now 701 fs/ext4/ialloc.c if (dtime && time_before32(dtime, now) && now 702 fs/ext4/ialloc.c time_before32(now, dtime + recentcy)) now 341 fs/ext4/super.c time64_t now = ktime_get_real_seconds(); now 343 fs/ext4/super.c now = clamp_val(now, 0, (1ull << 40) - 1); now 345 fs/ext4/super.c *lo = cpu_to_le32(lower_32_bits(now)); now 346 fs/ext4/super.c *hi = upper_32_bits(now); now 1419 fs/f2fs/f2fs.h unsigned long now = jiffies; now 1421 fs/f2fs/f2fs.h sbi->last_time[type] = now; now 1425 fs/f2fs/f2fs.h sbi->last_time[DISCARD_TIME] = now; now 1426 fs/f2fs/f2fs.h sbi->last_time[GC_TIME] = now; now 766 fs/f2fs/segment.h time64_t diff, now = ktime_get_real_seconds(); now 768 fs/f2fs/segment.h if (now >= sit_i->mounted_time) now 769 fs/f2fs/segment.h return sit_i->elapsed_time + now - sit_i->mounted_time; now 773 fs/f2fs/segment.h diff = sit_i->mounted_time - now; now 660 fs/f2fs/sysfs.c time64_t now = ktime_get_real_seconds(); now 665 fs/f2fs/sysfs.c seq_printf(seq, "time: %-16llu\n", now); now 447 fs/fat/fat.h extern int fat_truncate_time(struct inode *inode, struct timespec64 *now, now 449 fs/fat/fat.h extern int fat_update_time(struct inode *inode, struct timespec64 *now, now 285 fs/fat/misc.c int fat_truncate_time(struct inode *inode, struct timespec64 *now, int flags) now 293 fs/fat/misc.c if (now == NULL) { now 294 fs/fat/misc.c now = &ts; now 300 fs/fat/misc.c time64_t seconds = now->tv_sec - fat_tz_offset(sbi); now 311 fs/fat/misc.c inode->i_ctime = timespec64_trunc(*now, 10000000); now 313 fs/fat/misc.c inode->i_ctime = fat_timespec64_trunc_2secs(*now); now 316 fs/fat/misc.c inode->i_mtime = fat_timespec64_trunc_2secs(*now); now 322 fs/fat/misc.c int fat_update_time(struct inode *inode, struct timespec64 *now, int flags) now 330 fs/fat/misc.c fat_truncate_time(inode, now, flags); now 711 fs/gfs2/glock.c unsigned long holdtime, now = jiffies; now 714 fs/gfs2/glock.c if (time_before(now, holdtime)) now 715 fs/gfs2/glock.c delay = holdtime - now; now 1436 fs/gfs2/glock.c unsigned long now = jiffies; now 1442 fs/gfs2/glock.c if (time_before(now, holdtime)) now 1443 fs/gfs2/glock.c delay = holdtime - now; now 1628 fs/inode.c struct timespec64 now) now 1648 fs/inode.c if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) now 1706 fs/inode.c struct timespec64 now; now 1727 fs/inode.c now = current_time(inode); now 1729 fs/inode.c if (!relatime_need_update(mnt, inode, now)) now 1732 fs/inode.c if (timespec64_equal(&inode->i_atime, &now)) now 1742 fs/inode.c struct timespec64 now; now 1761 fs/inode.c now = current_time(inode); now 1762 fs/inode.c update_time(inode, &now, S_ATIME); now 1881 fs/inode.c struct timespec64 now; now 1889 fs/inode.c now = current_time(inode); now 1890 fs/inode.c if (!timespec64_equal(&inode->i_mtime, &now)) now 1893 fs/inode.c if (!timespec64_equal(&inode->i_ctime, &now)) now 1906 fs/inode.c ret = update_time(inode, &now, sync_it); now 2223 fs/inode.c struct timespec64 now; now 2225 fs/inode.c ktime_get_coarse_real_ts64(&now); now 2229 fs/inode.c return now; now 2232 fs/inode.c return timestamp_truncate(now, inode); now 124 fs/jbd2/commit.c struct timespec64 now; now 137 fs/jbd2/commit.c ktime_get_coarse_real_ts64(&now); now 138 fs/jbd2/commit.c tmp->h_commit_sec = cpu_to_be64(now.tv_sec); now 139 fs/jbd2/commit.c tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); now 230 fs/jffs2/dir.c uint32_t now = JFFS2_NOW(); now 233 fs/jffs2/dir.c dentry->d_name.len, dead_f, now); now 237 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(now); now 250 fs/jffs2/dir.c uint32_t now; now 263 fs/jffs2/dir.c now = JFFS2_NOW(); now 264 fs/jffs2/dir.c ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now); now 271 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(now); now 591 fs/jffs2/dir.c uint32_t now = JFFS2_NOW(); now 599 fs/jffs2/dir.c dentry->d_name.len, f, now); now 601 fs/jffs2/dir.c dir_i->i_mtime = dir_i->i_ctime = ITIME(now); now 763 fs/jffs2/dir.c uint32_t now; now 800 fs/jffs2/dir.c now = JFFS2_NOW(); now 803 fs/jffs2/dir.c new_dentry->d_name.name, new_dentry->d_name.len, now); now 833 fs/jffs2/dir.c old_dentry->d_name.name, old_dentry->d_name.len, NULL, now); now 856 fs/jffs2/dir.c new_dir_i->i_mtime = new_dir_i->i_ctime = ITIME(now); now 863 fs/jffs2/dir.c new_dir_i->i_mtime = new_dir_i->i_ctime = old_dir_i->i_mtime = old_dir_i->i_ctime = ITIME(now); now 115 fs/lockd/host.c unsigned long now = jiffies; now 157 fs/lockd/host.c host->h_nextrebind = now + NLM_HOST_REBIND; now 158 fs/lockd/host.c host->h_expires = now + NLM_HOST_EXPIRE; now 524 fs/namei.c struct nameidata *now = current->nameidata, *old = now->saved; now 528 fs/namei.c old->total_link_count = now->total_link_count; now 529 fs/namei.c if (now->stack != now->internal) now 530 fs/namei.c kfree(now->stack); now 606 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) now 610 fs/nfs/flexfilelayout/flexfilelayout.c timer->start_time = now; now 615 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) now 623 fs/nfs/flexfilelayout/flexfilelayout.c timer->start_time = now; now 624 fs/nfs/flexfilelayout/flexfilelayout.c return ktime_sub(now, start); now 630 fs/nfs/flexfilelayout/flexfilelayout.c ktime_t now) now 635 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_ff_start_busy_timer(&layoutstat->busy_timer, now); now 637 fs/nfs/flexfilelayout/flexfilelayout.c mirror->start_time = now; now 642 fs/nfs/flexfilelayout/flexfilelayout.c if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= now 644 fs/nfs/flexfilelayout/flexfilelayout.c ffl->last_report_time = now; now 687 fs/nfs/flexfilelayout/flexfilelayout.c __u64 requested, ktime_t now) now 692 fs/nfs/flexfilelayout/flexfilelayout.c report = nfs4_ff_layoutstat_start_io(mirror, &mirror->read_stat, now); now 718 fs/nfs/flexfilelayout/flexfilelayout.c __u64 requested, ktime_t now) now 723 fs/nfs/flexfilelayout/flexfilelayout.c report = nfs4_ff_layoutstat_start_io(mirror , &mirror->write_stat, now); now 451 fs/nfs/inode.c unsigned long now = jiffies; now 553 fs/nfs/inode.c nfsi->attrtimeo_timestamp = now; now 1799 fs/nfs/inode.c unsigned long now = jiffies; now 2030 fs/nfs/inode.c nfsi->attrtimeo_timestamp = now; now 2035 fs/nfs/inode.c if (!time_in_range_open(now, nfsi->attrtimeo_timestamp, now 2041 fs/nfs/inode.c nfsi->attrtimeo_timestamp = now; now 5471 fs/nfs/nfs4proc.c unsigned long now = jiffies; now 5477 fs/nfs/nfs4proc.c do_renew_lease(clp, now); now 6103 fs/nfs/nfs4proc.c unsigned long now = jiffies; now 6138 fs/nfs/nfs4proc.c do_renew_lease(clp, now); now 7492 fs/nfs/nfs4proc.c unsigned long now = jiffies; now 7505 fs/nfs/nfs4proc.c renew_lease(server, now); now 7634 fs/nfs/nfs4proc.c unsigned long now = jiffies; now 7648 fs/nfs/nfs4proc.c do_renew_lease(clp, now); now 8230 fs/nfs/nfs4proc.c unsigned long now = jiffies; now 8251 fs/nfs/nfs4proc.c do_renew_lease(clp, now); now 62 fs/nfs/nfs4renewd.c unsigned long last, now; now 73 fs/nfs/nfs4renewd.c now = jiffies; now 75 fs/nfs/nfs4renewd.c if (time_after(now, last + lease/3)) now 657 fs/nfsd/nfs4layouts.c ktime_t now, cutoff; now 673 fs/nfsd/nfs4layouts.c now = ktime_get(); now 680 fs/nfsd/nfs4layouts.c if (ktime_before(now, cutoff)) { now 5189 fs/nfsd/nfs4state.c unsigned long now = get_seconds(); now 5204 fs/nfsd/nfs4state.c if (time_after(now, double_grace_period_end)) now 2784 fs/ntfs/inode.c struct timespec64 now = current_time(VFS_I(base_ni)); now 2787 fs/ntfs/inode.c if (!timespec64_equal(&VFS_I(base_ni)->i_mtime, &now) || now 2788 fs/ntfs/inode.c !timespec64_equal(&VFS_I(base_ni)->i_ctime, &now)) now 2790 fs/ntfs/inode.c VFS_I(base_ni)->i_mtime = now; now 2791 fs/ntfs/inode.c VFS_I(base_ni)->i_ctime = now; now 114 fs/ocfs2/cluster/netdebug.c ktime_t now; now 122 fs/ocfs2/cluster/netdebug.c now = ktime_get(); now 123 fs/ocfs2/cluster/netdebug.c sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); now 124 fs/ocfs2/cluster/netdebug.c send = ktime_to_us(ktime_sub(now, nst->st_send_time)); now 125 fs/ocfs2/cluster/netdebug.c status = ktime_to_us(ktime_sub(now, nst->st_status_time)); now 3113 fs/ocfs2/dlmglue.c u64 now, last; now 3123 fs/ocfs2/dlmglue.c now = ktime_to_us(ktime_get_real()); now 3135 fs/ocfs2/dlmglue.c if (div_u64(now - last, 1000000) > dlm_debug->d_filter_secs) now 211 fs/ocfs2/file.c struct timespec64 now; now 244 fs/ocfs2/file.c now = current_time(inode); now 245 fs/ocfs2/file.c if ((now.tv_sec - inode->i_atime.tv_sec <= osb->s_atime_quantum)) now 2908 fs/reiserfs/journal.c time64_t now = ktime_get_seconds(); now 2916 fs/reiserfs/journal.c (now - journal->j_trans_start_time) > journal->j_max_trans_age || now 3017 fs/reiserfs/journal.c time64_t now = ktime_get_seconds(); now 3050 fs/reiserfs/journal.c now = ktime_get_seconds(); now 3064 fs/reiserfs/journal.c && (now - journal->j_trans_start_time) > now 3552 fs/reiserfs/journal.c time64_t now; now 3556 fs/reiserfs/journal.c now = ktime_get_seconds(); now 3571 fs/reiserfs/journal.c (now - journal->j_trans_start_time) > journal->j_max_trans_age) { now 3606 fs/reiserfs/journal.c time64_t now; now 3687 fs/reiserfs/journal.c now = ktime_get_seconds(); now 3688 fs/reiserfs/journal.c if ((now - journal->j_trans_start_time) > journal->j_max_trans_age) { now 474 fs/reiserfs/xattr.c struct timespec64 now = current_time(inode); now 477 fs/reiserfs/xattr.c timespec64_equal(&inode->i_ctime, &now)) now 78 fs/select.c struct timespec64 now; now 87 fs/select.c ktime_get_ts64(&now); now 88 fs/select.c now = timespec64_sub(*tv, now); now 89 fs/select.c ret = __estimate_accuracy(&now); now 82 fs/timerfd.c ktime_t now) now 1357 fs/ubifs/file.c const struct timespec64 *now) now 1359 fs/ubifs/file.c if (!timespec64_equal(&inode->i_mtime, now) || now 1360 fs/ubifs/file.c !timespec64_equal(&inode->i_ctime, now)) now 1413 fs/ubifs/file.c struct timespec64 now = current_time(inode); now 1417 fs/ubifs/file.c if (mctime_update_needed(inode, &now)) { now 1512 fs/ubifs/file.c struct timespec64 now = current_time(inode); now 1541 fs/ubifs/file.c update_time = mctime_update_needed(inode, &now); now 596 fs/ufs/util.h time64_t now = ktime_get_real_seconds(); now 605 fs/ufs/util.h return cpu_to_fs32(sbp, lower_32_bits(now)); now 1064 fs/xfs/xfs_iops.c struct timespec64 *now, now 1078 fs/xfs/xfs_iops.c return generic_update_time(inode, now, flags); now 1090 fs/xfs/xfs_iops.c inode->i_ctime = *now; now 1092 fs/xfs/xfs_iops.c inode->i_mtime = *now; now 1094 fs/xfs/xfs_iops.c inode->i_atime = *now; now 128 fs/xfs/xfs_mru_cache.c unsigned long now) now 139 fs/xfs/xfs_mru_cache.c while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { now 195 fs/xfs/xfs_mru_cache.c unsigned long now = jiffies; now 202 fs/xfs/xfs_mru_cache.c if (!_xfs_mru_cache_migrate(mru, now)) { now 203 fs/xfs/xfs_mru_cache.c mru->time_zero = now; now 210 fs/xfs/xfs_mru_cache.c grp = (now - mru->time_zero) / mru->grp_time; now 270 fs/xfs/xfs_mru_cache.c unsigned long now, next; now 282 fs/xfs/xfs_mru_cache.c now = jiffies; now 283 fs/xfs/xfs_mru_cache.c if (next <= now) now 286 fs/xfs/xfs_mru_cache.c next -= now; now 207 include/drm/drm_vblank.h ktime_t *now); now 45 include/linux/alarmtimer.h enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); now 59 include/linux/alarmtimer.h u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval); now 815 include/linux/blk-cgroup.h void blkcg_add_delay(struct blkcg_gq *blkg, u64 now, u64 delta); now 199 include/linux/clocksource.h extern u64 clocksource_stop_suspend_timing(struct clocksource *cs, u64 now); now 422 include/linux/genhd.h void update_io_ticks(struct hd_struct *part, unsigned long now); now 333 include/linux/hrtimer.h __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) now 335 include/linux/hrtimer.h ktime_t rem = ktime_sub(timer->node.expires, now); now 484 include/linux/hrtimer.h hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval); now 735 include/linux/interrupt.h u64 irq_timings_next_event(u64 now); now 178 include/linux/rtc.h extern int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec); now 229 include/linux/rtc.h const struct timespec64 *now) now 236 include/linux/rtc.h *to_set = timespec64_add(*now, delay); now 291 include/linux/timekeeping.h extern int update_persistent_clock64(struct timespec64 now); now 60 include/net/act_api.h unsigned long now = jiffies; now 62 include/net/act_api.h if (tm->lastuse != now) now 63 include/net/act_api.h tm->lastuse = now; now 65 include/net/act_api.h tm->firstuse = now; now 57 include/net/arp.h unsigned long now = jiffies; now 60 include/net/arp.h if (READ_ONCE(n->confirmed) != now) now 61 include/net/arp.h WRITE_ONCE(n->confirmed, now); now 78 include/net/busy_poll.h unsigned long now = busy_loop_current_time(); now 80 include/net/busy_poll.h return time_after(now, end_time); now 94 include/net/busy_poll.h unsigned long now = busy_loop_current_time(); now 96 include/net/busy_poll.h return time_after(now, end_time); now 108 include/net/codel_impl.h codel_time_t now) now 119 include/net/codel_impl.h vars->ldelay = now - skb_time_func(skb); now 135 include/net/codel_impl.h vars->first_above_time = now + params->interval; now 136 include/net/codel_impl.h } else if (codel_time_after(now, vars->first_above_time)) { now 153 include/net/codel_impl.h codel_time_t now; now 160 include/net/codel_impl.h now = codel_get_time(); now 162 include/net/codel_impl.h skb_len_func, skb_time_func, backlog, now); now 167 include/net/codel_impl.h } else if (codel_time_after_eq(now, vars->drop_next)) { now 177 include/net/codel_impl.h codel_time_after_eq(now, vars->drop_next)) { now 198 include/net/codel_impl.h backlog, now)) { now 223 include/net/codel_impl.h skb_time_func, backlog, now); now 232 include/net/codel_impl.h codel_time_before(now - vars->drop_next, now 245 include/net/codel_impl.h vars->drop_next = codel_control_law(now, params->interval, now 130 include/net/ip6_route.h unsigned long now); now 414 include/net/ndisc.h unsigned long now = jiffies; now 417 include/net/ndisc.h if (READ_ONCE(n->confirmed) != now) now 418 include/net/ndisc.h WRITE_ONCE(n->confirmed, now); now 431 include/net/ndisc.h unsigned long now = jiffies; now 434 include/net/ndisc.h if (READ_ONCE(n->confirmed) != now) now 435 include/net/ndisc.h WRITE_ONCE(n->confirmed, now); now 439 include/net/neighbour.h unsigned long now = jiffies; now 441 include/net/neighbour.h if (READ_ONCE(neigh->used) != now) now 442 include/net/neighbour.h WRITE_ONCE(neigh->used, now); now 1956 include/net/sock.h unsigned long now = jiffies; now 1959 include/net/sock.h if (READ_ONCE(n->confirmed) != now) now 1960 include/net/sock.h WRITE_ONCE(n->confirmed, now); now 489 include/net/tcp.h unsigned int now = jiffies; now 497 include/net/tcp.h if (!time_between32(now, last_overflow, now 499 include/net/tcp.h WRITE_ONCE(reuse->synq_overflow_ts, now); now 505 include/net/tcp.h if (!time_between32(now, last_overflow, last_overflow + HZ)) now 506 include/net/tcp.h WRITE_ONCE(tcp_sk(sk)->rx_opt.ts_recent_stamp, now); now 513 include/net/tcp.h unsigned int now = jiffies; now 521 include/net/tcp.h return !time_between32(now, last_overflow - HZ, now 536 include/net/tcp.h return !time_between32(now, last_overflow - HZ, now 47 include/trace/events/alarmtimer.h TP_PROTO(struct alarm *alarm, ktime_t now), now 49 include/trace/events/alarmtimer.h TP_ARGS(alarm, now), now 55 include/trace/events/alarmtimer.h __field(s64, now) now 62 include/trace/events/alarmtimer.h __entry->now = now; now 69 include/trace/events/alarmtimer.h __entry->now now 75 include/trace/events/alarmtimer.h TP_PROTO(struct alarm *alarm, ktime_t now), now 77 include/trace/events/alarmtimer.h TP_ARGS(alarm, now) now 82 include/trace/events/alarmtimer.h TP_PROTO(struct alarm *alarm, ktime_t now), now 84 include/trace/events/alarmtimer.h TP_ARGS(alarm, now) now 89 include/trace/events/alarmtimer.h TP_PROTO(struct alarm *alarm, ktime_t now), now 91 include/trace/events/alarmtimer.h TP_ARGS(alarm, now) now 16 include/trace/events/iocost.h TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, now 19 include/trace/events/iocost.h TP_ARGS(iocg, path, now, last_period, cur_period, vtime), now 24 include/trace/events/iocost.h __field(u64, now) now 40 include/trace/events/iocost.h __entry->now = now->now; now 41 include/trace/events/iocost.h __entry->vnow = now->vnow; now 42 include/trace/events/iocost.h __entry->vrate = now->vrate; now 57 include/trace/events/iocost.h __entry->now, __entry->vnow, __entry->vrate, now 67 include/trace/events/iocost.h TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, now 71 include/trace/events/iocost.h TP_ARGS(iocg, path, now, old_inuse, new_inuse, now 77 include/trace/events/iocost.h __field(u64, now) now 87 include/trace/events/iocost.h __entry->now = now->now; now 95 include/trace/events/iocost.h __get_str(devname), __get_str(cgroup), __entry->now, now 103 include/trace/events/iocost.h TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, now 107 include/trace/events/iocost.h TP_ARGS(iocg, path, now, old_inuse, new_inuse, now 113 include/trace/events/iocost.h TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, now 117 include/trace/events/iocost.h TP_ARGS(iocg, path, now, old_inuse, new_inuse, now 123 include/trace/events/iocost.h TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, now 127 include/trace/events/iocost.h TP_ARGS(iocg, path, now, old_inuse, new_inuse, now 290 include/trace/events/rpcgss.h unsigned long now, now 296 include/trace/events/rpcgss.h TP_ARGS(expiry, now, timeout, len, data), now 300 include/trace/events/rpcgss.h __field(unsigned long, now) now 308 include/trace/events/rpcgss.h __entry->now = now; now 315 include/trace/events/rpcgss.h __entry->expiry, __entry->now, __entry->timeout, now 1148 include/trace/events/rxrpc.h unsigned long now), now 1150 include/trace/events/rxrpc.h TP_ARGS(call, why, now), now 1155 include/trace/events/rxrpc.h __field(long, now ) now 1169 include/trace/events/rxrpc.h __entry->now = now; now 1182 include/trace/events/rxrpc.h __entry->ack_at - __entry->now, now 1183 include/trace/events/rxrpc.h __entry->ack_lost_at - __entry->now, now 1184 include/trace/events/rxrpc.h __entry->resend_at - __entry->now, now 1185 include/trace/events/rxrpc.h __entry->expect_rx_by - __entry->now, now 1186 include/trace/events/rxrpc.h __entry->expect_req_by - __entry->now, now 1187 include/trace/events/rxrpc.h __entry->expect_term_by - __entry->now, now 1188 include/trace/events/rxrpc.h __entry->timer - __entry->now) now 64 include/trace/events/timer.h __field( unsigned long, now ) now 72 include/trace/events/timer.h __entry->now = jiffies; now 78 include/trace/events/timer.h (long)__entry->expires - __entry->now, now 98 include/trace/events/timer.h __field( unsigned long, now ) now 105 include/trace/events/timer.h __entry->now = jiffies; now 111 include/trace/events/timer.h __entry->timer, __entry->function, __entry->now, now 234 include/trace/events/timer.h TP_PROTO(struct hrtimer *hrtimer, ktime_t *now), now 236 include/trace/events/timer.h TP_ARGS(hrtimer, now), now 240 include/trace/events/timer.h __field( s64, now ) now 246 include/trace/events/timer.h __entry->now = *now; now 252 include/trace/events/timer.h (unsigned long long) __entry->now) now 343 include/trace/events/timer.h TP_PROTO(int which, struct pid *pid, unsigned long long now), now 345 include/trace/events/timer.h TP_ARGS(which, pid, now), now 350 include/trace/events/timer.h __field( unsigned long long, now ) now 355 include/trace/events/timer.h __entry->now = now; now 360 include/trace/events/timer.h (int) __entry->pid, __entry->now) now 323 include/xen/interface/platform.h uint64_t now; now 317 kernel/audit.c unsigned long now; now 327 kernel/audit.c now = jiffies; now 328 kernel/audit.c elapsed = now - last_check; now 330 kernel/audit.c last_check = now; now 353 kernel/audit.c unsigned long now; now 362 kernel/audit.c now = jiffies; now 363 kernel/audit.c if (now - last_msg > HZ) { now 365 kernel/audit.c last_msg = now; now 2063 kernel/cgroup/cpuset.c time64_t now; now 2066 kernel/cgroup/cpuset.c now = ktime_get_seconds(); now 2067 kernel/cgroup/cpuset.c ticks = now - fmp->time; now 2075 kernel/cgroup/cpuset.c fmp->time = now; now 2512 kernel/debug/kdb/kdb_main.c time64_t now; now 2526 kernel/debug/kdb/kdb_main.c now = __ktime_get_real_seconds(); now 2527 kernel/debug/kdb/kdb_main.c time64_to_tm(now, 0, &tm); now 625 kernel/events/core.c __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running) now 628 kernel/events/core.c u64 delta = now - event->tstamp; now 641 kernel/events/core.c u64 now = perf_event_time(event); now 643 kernel/events/core.c __perf_update_times(event, now, &event->total_time_enabled, now 645 kernel/events/core.c event->tstamp = now; now 721 kernel/events/core.c u64 now; now 723 kernel/events/core.c now = perf_clock(); now 727 kernel/events/core.c info->time += now - info->timestamp; now 728 kernel/events/core.c info->timestamp = now; now 936 kernel/events/core.c perf_cgroup_set_shadow_time(struct perf_event *event, u64 now) now 940 kernel/events/core.c event->shadow_ctx_time = now - t->timestamp; now 1045 kernel/events/core.c perf_cgroup_set_shadow_time(struct perf_event *event, u64 now) now 1456 kernel/events/core.c u64 now = perf_clock(); now 1458 kernel/events/core.c ctx->time += now - ctx->timestamp; now 1459 kernel/events/core.c ctx->timestamp = now; now 3472 kernel/events/core.c u64 now; now 3491 kernel/events/core.c now = perf_clock(); now 3492 kernel/events/core.c ctx->timestamp = now; now 3709 kernel/events/core.c u64 now, period = TICK_NSEC; now 3748 kernel/events/core.c now = local64_read(&event->count); now 3749 kernel/events/core.c delta = now - hwc->freq_count_stamp; now 3750 kernel/events/core.c hwc->freq_count_stamp = now; now 4076 kernel/events/core.c u64 now = event->shadow_ctx_time + perf_clock(); now 4079 kernel/events/core.c __perf_update_times(event, now, &__enabled, &__running); now 5337 kernel/events/core.c u64 *now, now 5343 kernel/events/core.c *now = perf_clock(); now 5344 kernel/events/core.c ctx_time = event->shadow_ctx_time + *now; now 5371 kernel/events/core.c struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now) now 5384 kernel/events/core.c u64 enabled, running, now; now 5400 kernel/events/core.c calc_timer_values(event, &now, &enabled, &running); now 5421 kernel/events/core.c arch_perf_update_userpage(event, userpg, now); now 6338 kernel/events/core.c u64 enabled = 0, running = 0, now; now 6351 kernel/events/core.c calc_timer_values(event, &now, &enabled, &running); now 8161 kernel/events/core.c u64 now = perf_clock(); now 8162 kernel/events/core.c s64 delta = now - hwc->freq_time_stamp; now 8164 kernel/events/core.c hwc->freq_time_stamp = now; now 9672 kernel/events/core.c u64 now; now 9674 kernel/events/core.c now = local_clock(); now 9675 kernel/events/core.c prev = local64_xchg(&event->hw.prev_count, now); now 9676 kernel/events/core.c local64_add(now - prev, &event->count); now 9746 kernel/events/core.c static void task_clock_event_update(struct perf_event *event, u64 now) now 9751 kernel/events/core.c prev = local64_xchg(&event->hw.prev_count, now); now 9752 kernel/events/core.c delta = now - prev; now 9784 kernel/events/core.c u64 now = perf_clock(); now 9785 kernel/events/core.c u64 delta = now - event->ctx->timestamp; now 382 kernel/irq/timings.c static u64 __irq_timings_next_event(struct irqt_stat *irqs, int irq, u64 now) now 386 kernel/irq/timings.c if ((now - irqs->last_ts) >= NSEC_PER_SEC) { now 531 kernel/irq/timings.c u64 irq_timings_next_event(u64 now) now 578 kernel/irq/timings.c ts = __irq_timings_next_event(irqs, i, now); now 579 kernel/irq/timings.c if (ts <= now) now 580 kernel/irq/timings.c return now; now 4667 kernel/locking/lockdep.c u64 now, waittime = 0; now 4689 kernel/locking/lockdep.c now = lockstat_clock(); now 4690 kernel/locking/lockdep.c waittime = now - hlock->waittime_stamp; now 4691 kernel/locking/lockdep.c hlock->holdtime_stamp = now; now 73 kernel/power/suspend_test.c unsigned long now; now 84 kernel/power/suspend_test.c rtc_tm_to_time(&alm.time, &now); now 87 kernel/power/suspend_test.c rtc_time_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time); now 106 kernel/power/wakelock.c ktime_t now; now 110 kernel/power/wakelock.c now = ktime_get(); now 116 kernel/power/wakelock.c idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); now 267 kernel/sched/clock.c u64 now, clock, old_clock, min_clock, max_clock, gtod; now 271 kernel/sched/clock.c now = sched_clock(); now 272 kernel/sched/clock.c delta = now - scd->tick_raw; now 925 kernel/sched/deadline.c ktime_t now, act; now 936 kernel/sched/deadline.c now = hrtimer_cb_get_time(timer); now 937 kernel/sched/deadline.c delta = ktime_to_ns(now) - rq_clock(rq); now 945 kernel/sched/deadline.c if (ktime_us_delta(act, now) < 0) now 1185 kernel/sched/deadline.c u64 now; now 1198 kernel/sched/deadline.c now = rq_clock_task(rq); now 1199 kernel/sched/deadline.c delta_exec = now - curr->se.exec_start; now 1212 kernel/sched/deadline.c curr->se.exec_start = now; now 836 kernel/sched/fair.c u64 now = rq_clock_task(rq_of(cfs_rq)); now 842 kernel/sched/fair.c delta_exec = now - curr->exec_start; now 846 kernel/sched/fair.c curr->exec_start = now; now 2012 kernel/sched/fair.c u64 runtime, delta, now; now 2014 kernel/sched/fair.c now = p->se.exec_start; now 2019 kernel/sched/fair.c *period = now - p->last_task_numa_placement; now 2030 kernel/sched/fair.c p->last_task_numa_placement = now; now 2486 kernel/sched/fair.c unsigned long migrate, next_scan, now = jiffies; now 2510 kernel/sched/fair.c mm->numa_next_scan = now + now 2518 kernel/sched/fair.c if (time_before(now, migrate)) now 2526 kernel/sched/fair.c next_scan = now + msecs_to_jiffies(p->numa_scan_period); now 2676 kernel/sched/fair.c u64 period, now; now 2690 kernel/sched/fair.c now = curr->se.sum_exec_runtime; now 2693 kernel/sched/fair.c if (now > curr->node_stamp + period) { now 3470 kernel/sched/fair.c update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) now 3500 kernel/sched/fair.c decayed |= __update_load_avg_cfs_rq(now, cfs_rq); now 3591 kernel/sched/fair.c u64 now = cfs_rq_clock_pelt(cfs_rq); now 3599 kernel/sched/fair.c __update_load_avg_se(now, cfs_rq, se); now 3601 kernel/sched/fair.c decayed = update_cfs_rq_load_avg(now, cfs_rq); now 7549 kernel/sched/fair.c u64 now = rq_clock_pelt(rq); now 7558 kernel/sched/fair.c decayed = update_rt_rq_load_avg(now, rq, curr_class == &rt_sched_class) | now 7559 kernel/sched/fair.c update_dl_rq_load_avg(now, rq, curr_class == &dl_sched_class) | now 7636 kernel/sched/fair.c unsigned long now = jiffies; now 7639 kernel/sched/fair.c if (cfs_rq->last_h_load_update == now) now 7646 kernel/sched/fair.c if (cfs_rq->last_h_load_update == now) now 7652 kernel/sched/fair.c cfs_rq->last_h_load_update = now; now 7661 kernel/sched/fair.c cfs_rq->last_h_load_update = now; now 9402 kernel/sched/fair.c unsigned long now = jiffies; now 9425 kernel/sched/fair.c time_after(now, READ_ONCE(nohz.next_blocked))) now 9428 kernel/sched/fair.c if (time_before(now, nohz.next_balance)) now 9628 kernel/sched/fair.c unsigned long now = jiffies; now 9629 kernel/sched/fair.c unsigned long next_balance = now + 60*HZ; now 9704 kernel/sched/fair.c now + msecs_to_jiffies(LOAD_AVG_PERIOD)); now 176 kernel/sched/pelt.c ___update_load_sum(u64 now, struct sched_avg *sa, now 181 kernel/sched/pelt.c delta = now - sa->last_update_time; now 187 kernel/sched/pelt.c sa->last_update_time = now; now 266 kernel/sched/pelt.c int __update_load_avg_blocked_se(u64 now, struct sched_entity *se) now 268 kernel/sched/pelt.c if (___update_load_sum(now, &se->avg, 0, 0, 0)) { now 277 kernel/sched/pelt.c int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) now 279 kernel/sched/pelt.c if (___update_load_sum(now, &se->avg, !!se->on_rq, !!se->on_rq, now 291 kernel/sched/pelt.c int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq) now 293 kernel/sched/pelt.c if (___update_load_sum(now, &cfs_rq->avg, now 317 kernel/sched/pelt.c int update_rt_rq_load_avg(u64 now, struct rq *rq, int running) now 319 kernel/sched/pelt.c if (___update_load_sum(now, &rq->avg_rt, now 341 kernel/sched/pelt.c int update_dl_rq_load_avg(u64 now, struct rq *rq, int running) now 343 kernel/sched/pelt.c if (___update_load_sum(now, &rq->avg_dl, now 4 kernel/sched/pelt.h int __update_load_avg_blocked_se(u64 now, struct sched_entity *se); now 5 kernel/sched/pelt.h int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se); now 6 kernel/sched/pelt.h int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq); now 7 kernel/sched/pelt.h int update_rt_rq_load_avg(u64 now, struct rq *rq, int running); now 8 kernel/sched/pelt.h int update_dl_rq_load_avg(u64 now, struct rq *rq, int running); now 144 kernel/sched/pelt.h update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) now 150 kernel/sched/pelt.h update_rt_rq_load_avg(u64 now, struct rq *rq, int running) now 156 kernel/sched/pelt.h update_dl_rq_load_avg(u64 now, struct rq *rq, int running) now 242 kernel/sched/psi.c u64 now, state_start; now 252 kernel/sched/psi.c now = cpu_clock(cpu); now 271 kernel/sched/psi.c times[s] += now - state_start; now 357 kernel/sched/psi.c static u64 update_averages(struct psi_group *group, u64 now) now 366 kernel/sched/psi.c if (now - expires >= psi_period) now 367 kernel/sched/psi.c missed_periods = div_u64(now - expires, psi_period); now 377 kernel/sched/psi.c period = now - (group->avg_last_update + (missed_periods * psi_period)); now 378 kernel/sched/psi.c group->avg_last_update = now; now 416 kernel/sched/psi.c u64 now; now 423 kernel/sched/psi.c now = sched_clock(); now 434 kernel/sched/psi.c if (now >= group->avg_next_update) now 435 kernel/sched/psi.c group->avg_next_update = update_averages(group, now); now 439 kernel/sched/psi.c group->avg_next_update - now) + 1); now 446 kernel/sched/psi.c static void window_reset(struct psi_window *win, u64 now, u64 value, now 449 kernel/sched/psi.c win->start_time = now; now 465 kernel/sched/psi.c static u64 window_update(struct psi_window *win, u64 now, u64 value) now 470 kernel/sched/psi.c elapsed = now - win->start_time; now 480 kernel/sched/psi.c window_reset(win, now, value, growth); now 491 kernel/sched/psi.c static void init_triggers(struct psi_group *group, u64 now) now 496 kernel/sched/psi.c window_reset(&t->win, now, now 500 kernel/sched/psi.c group->polling_next_update = now + group->poll_min_period; now 503 kernel/sched/psi.c static u64 update_triggers(struct psi_group *group, u64 now) now 529 kernel/sched/psi.c growth = window_update(&t->win, now, total[t->state]); now 534 kernel/sched/psi.c if (now < t->last_event_time + t->win.size) now 540 kernel/sched/psi.c t->last_event_time = now; now 547 kernel/sched/psi.c return now + group->poll_min_period; now 584 kernel/sched/psi.c u64 now; now 593 kernel/sched/psi.c now = sched_clock(); now 599 kernel/sched/psi.c if (now > group->polling_until) now 600 kernel/sched/psi.c init_triggers(group, now); now 607 kernel/sched/psi.c group->polling_until = now + now 611 kernel/sched/psi.c if (now > group->polling_until) { now 616 kernel/sched/psi.c if (now >= group->polling_next_update) now 617 kernel/sched/psi.c group->polling_next_update = update_triggers(group, now); now 620 kernel/sched/psi.c nsecs_to_jiffies(group->polling_next_update - now) + 1); now 630 kernel/sched/psi.c u64 now; now 632 kernel/sched/psi.c now = cpu_clock(cpu); now 633 kernel/sched/psi.c delta = now - groupc->state_start; now 634 kernel/sched/psi.c groupc->state_start = now; now 943 kernel/sched/psi.c u64 now; now 950 kernel/sched/psi.c now = sched_clock(); now 952 kernel/sched/psi.c if (now >= group->avg_next_update) now 953 kernel/sched/psi.c group->avg_next_update = update_averages(group, now); now 960 kernel/sched/rt.c u64 now; now 965 kernel/sched/rt.c now = rq_clock_task(rq); now 966 kernel/sched/rt.c delta_exec = now - curr->se.exec_start; now 976 kernel/sched/rt.c curr->se.exec_start = now; now 158 kernel/sched/stats.h unsigned long long now = rq_clock(rq), delta = 0; now 162 kernel/sched/stats.h delta = now - t->sched_info.last_queued; now 177 kernel/sched/stats.h unsigned long long now = rq_clock(rq), delta = 0; now 180 kernel/sched/stats.h delta = now - t->sched_info.last_queued; now 183 kernel/sched/stats.h t->sched_info.last_arrival = now; now 218 kernel/sched/wait_bit.c unsigned long now = READ_ONCE(jiffies); now 220 kernel/sched/wait_bit.c if (time_after_eq(now, word->timeout)) now 222 kernel/sched/wait_bit.c schedule_timeout(word->timeout - now); now 232 kernel/sched/wait_bit.c unsigned long now = READ_ONCE(jiffies); now 234 kernel/sched/wait_bit.c if (time_after_eq(now, word->timeout)) now 236 kernel/sched/wait_bit.c io_schedule_timeout(word->timeout - now); now 253 kernel/time/alarmtimer.c ktime_t min, now, expires; now 302 kernel/time/alarmtimer.c now = rtc_tm_to_ktime(tm); now 303 kernel/time/alarmtimer.c now = ktime_add(now, min); now 306 kernel/time/alarmtimer.c ret = rtc_timer_start(rtc, &rtctimer, now, 0); now 450 kernel/time/alarmtimer.c u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) now 455 kernel/time/alarmtimer.c delta = ktime_sub(now, alarm->node.expires); now 468 kernel/time/alarmtimer.c if (alarm->node.expires > now) now 543 kernel/time/alarmtimer.c ktime_t now) now 589 kernel/time/alarmtimer.c static s64 alarm_timer_forward(struct k_itimer *timr, ktime_t now) now 593 kernel/time/alarmtimer.c return alarm_forward(alarm, timr->it_interval, now); now 601 kernel/time/alarmtimer.c static ktime_t alarm_timer_remaining(struct k_itimer *timr, ktime_t now) now 605 kernel/time/alarmtimer.c return ktime_sub(alarm->node.expires, now); now 714 kernel/time/alarmtimer.c ktime_t now) now 828 kernel/time/alarmtimer.c ktime_t now = alarm_bases[type].gettime(); now 830 kernel/time/alarmtimer.c exp = ktime_add_safe(now, exp); now 565 kernel/time/clocksource.c u64 now, delta, nsec = 0; now 576 kernel/time/clocksource.c now = cycle_now; now 578 kernel/time/clocksource.c now = suspend_clocksource->read(suspend_clocksource); now 580 kernel/time/clocksource.c if (now > suspend_start) { now 581 kernel/time/clocksource.c delta = clocksource_delta(now, suspend_start, now 598 kernel/time/hrtimer.c ktime_t now = ktime_get_update_offsets_now(&base->clock_was_set_seq, now 605 kernel/time/hrtimer.c return now; now 918 kernel/time/hrtimer.c u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) now 923 kernel/time/hrtimer.c delta = ktime_sub(now, hrtimer_get_expires(timer)); now 939 kernel/time/hrtimer.c if (hrtimer_get_expires_tv64(timer) > now) now 1479 kernel/time/hrtimer.c struct hrtimer *timer, ktime_t *now, now 1516 kernel/time/hrtimer.c trace_hrtimer_expire_entry(timer, now); now 1547 kernel/time/hrtimer.c static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now, now 1557 kernel/time/hrtimer.c basenow = ktime_add(now, base->offset); now 1590 kernel/time/hrtimer.c ktime_t now; now 1595 kernel/time/hrtimer.c now = hrtimer_update_base(cpu_base); now 1596 kernel/time/hrtimer.c __hrtimer_run_queues(cpu_base, now, flags, HRTIMER_ACTIVE_SOFT); now 1614 kernel/time/hrtimer.c ktime_t expires_next, now, entry_time, delta; now 1623 kernel/time/hrtimer.c entry_time = now = hrtimer_update_base(cpu_base); now 1635 kernel/time/hrtimer.c if (!ktime_before(now, cpu_base->softirq_expires_next)) { now 1641 kernel/time/hrtimer.c __hrtimer_run_queues(cpu_base, now, flags, HRTIMER_ACTIVE_HARD); now 1673 kernel/time/hrtimer.c now = hrtimer_update_base(cpu_base); now 1687 kernel/time/hrtimer.c delta = ktime_sub(now, entry_time); now 1695 kernel/time/hrtimer.c expires_next = ktime_add_ns(now, 100 * NSEC_PER_MSEC); now 1697 kernel/time/hrtimer.c expires_next = ktime_add(now, delta); now 1728 kernel/time/hrtimer.c ktime_t now; now 1746 kernel/time/hrtimer.c now = hrtimer_update_base(cpu_base); now 1748 kernel/time/hrtimer.c if (!ktime_before(now, cpu_base->softirq_expires_next)) { now 1754 kernel/time/hrtimer.c __hrtimer_run_queues(cpu_base, now, flags, HRTIMER_ACTIVE_HARD); now 500 kernel/time/ntp.c static void sched_sync_hw_clock(struct timespec64 now, now 535 kernel/time/ntp.c struct timespec64 adjust, now; now 541 kernel/time/ntp.c ktime_get_real_ts64(&now); now 543 kernel/time/ntp.c adjust = now; now 555 kernel/time/ntp.c sched_sync_hw_clock(now, target_nsec, rc); now 568 kernel/time/ntp.c struct timespec64 now; now 587 kernel/time/ntp.c ktime_get_real_ts64(&now); now 588 kernel/time/ntp.c if (rtc_tv_nsec_ok(-1 * target_nsec, &adjust, &now)) { now 602 kernel/time/ntp.c sched_sync_hw_clock(now, target_nsec, rc); now 125 kernel/time/posix-cpu-timers.c static u64 bump_cpu_timer(struct k_itimer *timer, u64 now) now 133 kernel/time/posix-cpu-timers.c if (now < expires) now 137 kernel/time/posix-cpu-timers.c delta = now + incr - expires; now 706 kernel/time/posix-cpu-timers.c u64 now, expires = cpu_timer_getexpires(ctmr); now 724 kernel/time/posix-cpu-timers.c now = cpu_clock_sample(clkid, p); now 744 kernel/time/posix-cpu-timers.c now = cpu_clock_sample_group(clkid, p, false); now 749 kernel/time/posix-cpu-timers.c if (now < expires) { now 750 kernel/time/posix-cpu-timers.c itp->it_value = ns_to_timespec64(expires - now); now 764 kernel/time/posix-cpu-timers.c struct list_head *firing, u64 now) now 776 kernel/time/posix-cpu-timers.c if (++i == MAX_COLLECTED || now < expires) now 983 kernel/time/posix-cpu-timers.c u64 now; now 992 kernel/time/posix-cpu-timers.c now = cpu_clock_sample(clkid, p); now 993 kernel/time/posix-cpu-timers.c bump_cpu_timer(timer, now); now 1018 kernel/time/posix-cpu-timers.c now = cpu_clock_sample_group(clkid, p, true); now 1019 kernel/time/posix-cpu-timers.c bump_cpu_timer(timer, now); now 1181 kernel/time/posix-cpu-timers.c u64 now, *nextevt; now 1187 kernel/time/posix-cpu-timers.c now = cpu_clock_sample_group(clkid, tsk, true); now 1196 kernel/time/posix-cpu-timers.c if (*oldval <= now) { now 1200 kernel/time/posix-cpu-timers.c *oldval -= now; now 1206 kernel/time/posix-cpu-timers.c *newval += now; now 361 kernel/time/posix-timers.c ktime_t now = hrtimer_cb_get_time(timer); now 390 kernel/time/posix-timers.c now = ktime_add(now, kj); now 393 kernel/time/posix-timers.c timr->it_overrun += hrtimer_forward(timer, now, now 614 kernel/time/posix-timers.c static ktime_t common_hrtimer_remaining(struct k_itimer *timr, ktime_t now) now 618 kernel/time/posix-timers.c return __hrtimer_expires_remaining_adjusted(timer, now); now 621 kernel/time/posix-timers.c static s64 common_hrtimer_forward(struct k_itimer *timr, ktime_t now) now 625 kernel/time/posix-timers.c return hrtimer_forward(timer, now, timr->it_interval); now 647 kernel/time/posix-timers.c ktime_t now, remaining, iv; now 671 kernel/time/posix-timers.c now = timespec64_to_ktime(ts64); now 678 kernel/time/posix-timers.c timr->it_overrun += kc->timer_forward(timr, now); now 680 kernel/time/posix-timers.c remaining = kc->timer_remaining(timr, now); now 22 kernel/time/posix-timers.h s64 (*timer_forward)(struct k_itimer *timr, ktime_t now); now 23 kernel/time/posix-timers.h ktime_t (*timer_remaining)(struct k_itimer *timr, ktime_t now); now 607 kernel/time/tick-broadcast.c ktime_t now, next_event; now 615 kernel/time/tick-broadcast.c now = ktime_get(); now 627 kernel/time/tick-broadcast.c if (td->evtdev->next_event <= now) { now 714 kernel/time/tick-broadcast.c ktime_t now; now 839 kernel/time/tick-broadcast.c now = ktime_get(); now 840 kernel/time/tick-broadcast.c if (dev->next_event <= now) { now 54 kernel/time/tick-sched.c static void tick_do_update_jiffies64(ktime_t now) now 63 kernel/time/tick-sched.c delta = ktime_sub(now, READ_ONCE(last_jiffies_update)); now 70 kernel/time/tick-sched.c delta = ktime_sub(now, last_jiffies_update); now 117 kernel/time/tick-sched.c static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) now 142 kernel/time/tick-sched.c tick_do_update_jiffies64(now); now 502 kernel/time/tick-sched.c static void tick_nohz_update_jiffies(ktime_t now) now 506 kernel/time/tick-sched.c __this_cpu_write(tick_cpu_sched.idle_waketime, now); now 509 kernel/time/tick-sched.c tick_do_update_jiffies64(now); now 519 kernel/time/tick-sched.c update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) now 524 kernel/time/tick-sched.c delta = ktime_sub(now, ts->idle_entrytime); now 529 kernel/time/tick-sched.c ts->idle_entrytime = now; now 533 kernel/time/tick-sched.c *last_update_time = ktime_to_us(now); now 537 kernel/time/tick-sched.c static void tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) now 539 kernel/time/tick-sched.c update_ts_time_stats(smp_processor_id(), ts, now, NULL); now 569 kernel/time/tick-sched.c ktime_t now, idle; now 574 kernel/time/tick-sched.c now = ktime_get(); now 576 kernel/time/tick-sched.c update_ts_time_stats(cpu, ts, now, last_update_time); now 580 kernel/time/tick-sched.c ktime_t delta = ktime_sub(now, ts->idle_entrytime); now 610 kernel/time/tick-sched.c ktime_t now, iowait; now 615 kernel/time/tick-sched.c now = ktime_get(); now 617 kernel/time/tick-sched.c update_ts_time_stats(cpu, ts, now, last_update_time); now 621 kernel/time/tick-sched.c ktime_t delta = ktime_sub(now, ts->idle_entrytime); now 633 kernel/time/tick-sched.c static void tick_nohz_restart(struct tick_sched *ts, ktime_t now) now 639 kernel/time/tick-sched.c hrtimer_forward(&ts->sched_timer, now, tick_period); now 834 kernel/time/tick-sched.c static void tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) now 837 kernel/time/tick-sched.c tick_do_update_jiffies64(now); now 851 kernel/time/tick-sched.c ts->idle_exittime = now; now 853 kernel/time/tick-sched.c tick_nohz_restart(ts, now); now 1072 kernel/time/tick-sched.c ktime_t now = ts->idle_entrytime; now 1077 kernel/time/tick-sched.c *delta_next = ktime_sub(dev->next_event, now); now 1093 kernel/time/tick-sched.c return ktime_sub(next_event, now); now 1142 kernel/time/tick-sched.c static void __tick_nohz_idle_restart_tick(struct tick_sched *ts, ktime_t now) now 1144 kernel/time/tick-sched.c tick_nohz_restart_sched_tick(ts, now); now 1167 kernel/time/tick-sched.c ktime_t now; now 1179 kernel/time/tick-sched.c now = ktime_get(); now 1182 kernel/time/tick-sched.c tick_nohz_stop_idle(ts, now); now 1185 kernel/time/tick-sched.c __tick_nohz_idle_restart_tick(ts, now); now 1197 kernel/time/tick-sched.c ktime_t now = ktime_get(); now 1201 kernel/time/tick-sched.c tick_sched_do_timer(ts, now); now 1208 kernel/time/tick-sched.c hrtimer_forward(&ts->sched_timer, now, tick_period); now 1253 kernel/time/tick-sched.c ktime_t now; now 1257 kernel/time/tick-sched.c now = ktime_get(); now 1259 kernel/time/tick-sched.c tick_nohz_stop_idle(ts, now); now 1261 kernel/time/tick-sched.c tick_nohz_update_jiffies(now); now 1294 kernel/time/tick-sched.c ktime_t now = ktime_get(); now 1296 kernel/time/tick-sched.c tick_sched_do_timer(ts, now); now 1311 kernel/time/tick-sched.c hrtimer_forward(timer, now, tick_period); now 1332 kernel/time/tick-sched.c ktime_t now = ktime_get(); now 1351 kernel/time/tick-sched.c hrtimer_forward(&ts->sched_timer, now, tick_period); now 221 kernel/time/timekeeping.c u64 now, last, mask, max, delta; now 233 kernel/time/timekeeping.c now = tk_clock_read(tkr); now 239 kernel/time/timekeeping.c delta = clocksource_delta(now, last, mask); now 455 kernel/time/timekeeping.c u64 now; now 460 kernel/time/timekeeping.c now = ktime_to_ns(tkr->base); now 462 kernel/time/timekeeping.c now += timekeeping_delta_to_ns(tkr, now 469 kernel/time/timekeeping.c return now; now 521 kernel/time/timekeeping.c u64 now; now 526 kernel/time/timekeeping.c now = ktime_to_ns(tkr->base_real); now 528 kernel/time/timekeeping.c now += timekeeping_delta_to_ns(tkr, now 535 kernel/time/timekeeping.c return now; now 975 kernel/time/timekeeping.c u64 now; now 981 kernel/time/timekeeping.c now = tk_clock_read(&tk->tkr_mono); now 987 kernel/time/timekeeping.c nsec_real = timekeeping_cycles_to_ns(&tk->tkr_mono, now); now 988 kernel/time/timekeeping.c nsec_raw = timekeeping_cycles_to_ns(&tk->tkr_raw, now); now 991 kernel/time/timekeeping.c systime_snapshot->cycles = now; now 1127 kernel/time/timekeeping.c u64 cycles, now, interval_start; now 1159 kernel/time/timekeeping.c now = tk_clock_read(&tk->tkr_mono); now 1161 kernel/time/timekeeping.c if (!cycle_between(interval_start, cycles, now)) { now 2176 kernel/time/timekeeping.c struct timespec64 now, mono; now 2182 kernel/time/timekeeping.c now = tk_xtime(tk); now 2186 kernel/time/timekeeping.c set_normalized_timespec64(ts, now.tv_sec + mono.tv_sec, now 2187 kernel/time/timekeeping.c now.tv_nsec + mono.tv_nsec); now 17 kernel/time/timekeeping_internal.h static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) now 19 kernel/time/timekeeping_internal.h u64 ret = (now - last) & mask; now 28 kernel/time/timekeeping_internal.h static inline u64 clocksource_delta(u64 now, u64 last, u64 mask) now 30 kernel/time/timekeeping_internal.h return (now - last) & mask; now 1681 kernel/time/timer.c unsigned long now = READ_ONCE(jiffies); now 1688 kernel/time/timer.c if ((long)(now - base->clk) > 2) { now 1695 kernel/time/timer.c if (time_after(next, now)) { now 1700 kernel/time/timer.c base->clk = now; now 23 kernel/time/timer_list.c u64 now; now 57 kernel/time/timer_list.c int idx, u64 now) now 68 kernel/time/timer_list.c (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), now 69 kernel/time/timer_list.c (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); now 74 kernel/time/timer_list.c u64 now) now 104 kernel/time/timer_list.c print_timer(m, timer, &tmp, i, now); now 112 kernel/time/timer_list.c print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) now 127 kernel/time/timer_list.c print_active_timers(m, base, now + ktime_to_ns(base->offset)); now 130 kernel/time/timer_list.c static void print_cpu(struct seq_file *m, int cpu, u64 now) now 138 kernel/time/timer_list.c print_base(m, cpu_base->clock_base + i, now); now 277 kernel/time/timer_list.c static inline void timer_list_header(struct seq_file *m, u64 now) now 281 kernel/time/timer_list.c SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now); now 287 kernel/time/timer_list.c u64 now = ktime_to_ns(ktime_get()); now 290 kernel/time/timer_list.c timer_list_header(NULL, now); now 293 kernel/time/timer_list.c print_cpu(NULL, cpu, now); now 309 kernel/time/timer_list.c timer_list_header(m, iter->now); now 311 kernel/time/timer_list.c print_cpu(m, iter->cpu, iter->now); now 345 kernel/time/timer_list.c iter->now = ktime_to_ns(ktime_get()); now 132 kernel/trace/blktrace.c struct timespec64 now; now 137 kernel/trace/blktrace.c ktime_get_real_ts64(&now); now 138 kernel/trace/blktrace.c words[0] = (u32)now.tv_sec; now 139 kernel/trace/blktrace.c words[1] = now.tv_nsec; now 98 kernel/trace/trace_clock.c u64 now; now 103 kernel/trace/trace_clock.c now = sched_clock_cpu(this_cpu); now 118 kernel/trace/trace_clock.c if ((s64)(now - trace_clock_struct.prev_time) < 0) now 119 kernel/trace/trace_clock.c now = trace_clock_struct.prev_time + 1; now 121 kernel/trace/trace_clock.c trace_clock_struct.prev_time = now; now 128 kernel/trace/trace_clock.c return now; now 315 kernel/watchdog.c unsigned long now = get_timestamp(); now 319 kernel/watchdog.c if (time_after(now, touch_ts + get_softlockup_thresh())) now 320 kernel/watchdog.c return now - touch_ts; now 78 kernel/watchdog_hld.c ktime_t delta, now = ktime_get_mono_fast_ns(); now 80 kernel/watchdog_hld.c delta = now - __this_cpu_read(last_timestamp); now 91 kernel/watchdog_hld.c __this_cpu_write(last_timestamp, now); now 4511 mm/memcontrol.c u64 now = get_jiffies_64(); now 4512 mm/memcontrol.c u64 oldest_at = now; now 4547 mm/memcontrol.c if (time_before64(frn->at, now - update_intv)) now 4548 mm/memcontrol.c frn->at = now; now 4554 mm/memcontrol.c frn->at = now; now 4563 mm/memcontrol.c u64 now = jiffies_64; now 4575 mm/memcontrol.c if (time_after64(frn->at, now - intv) && now 1163 mm/page-writeback.c unsigned long now) now 1170 mm/page-writeback.c if (time_before(now, dom->dirty_limit_tstamp + BANDWIDTH_INTERVAL)) now 1174 mm/page-writeback.c if (time_after_eq(now, dom->dirty_limit_tstamp + BANDWIDTH_INTERVAL)) { now 1176 mm/page-writeback.c dom->dirty_limit_tstamp = now; now 1351 mm/page-writeback.c unsigned long now = jiffies; now 1352 mm/page-writeback.c unsigned long elapsed = now - wb->bw_time_stamp; now 1375 mm/page-writeback.c domain_update_bandwidth(gdtc, now); now 1383 mm/page-writeback.c domain_update_bandwidth(mdtc, now); now 1392 mm/page-writeback.c wb->bw_time_stamp = now; now 1584 mm/page-writeback.c unsigned long now = jiffies; now 1659 mm/page-writeback.c current->dirty_paused_when = now; now 1730 mm/page-writeback.c pause -= now - current->dirty_paused_when; now 1752 mm/page-writeback.c current->dirty_paused_when = now; now 1763 mm/page-writeback.c now += min(pause - max_pause, max_pause); now 1781 mm/page-writeback.c wb->dirty_sleep = now; now 1784 mm/page-writeback.c current->dirty_paused_when = now + pause; now 1005 net/appletalk/aarp.c unsigned long now = jiffies; now 1018 net/appletalk/aarp.c dt2str((long)entry->expires_at - (long)now)); now 1021 net/appletalk/aarp.c dt2str(now - entry->last_sent), now 1610 net/atm/lec.c unsigned long now, now 1621 net/atm/lec.c now, entry->last_used, time_to_check); now 1622 net/atm/lec.c if (time_after(now, entry->last_used + time_to_check) && now 1633 net/atm/lec.c time_after_eq(now, entry->timestamp + now 1644 net/atm/lec.c time_after_eq(now, entry->timestamp + now 1676 net/atm/lec.c unsigned long now; now 1680 net/atm/lec.c now = jiffies; now 1686 net/atm/lec.c if (__lec_arp_check_expire(entry, now, priv)) { now 229 net/atm/mpoa_caches.c time64_t now; now 231 net/atm/mpoa_caches.c now = ktime_get_seconds(); now 238 net/atm/mpoa_caches.c if ((now - entry->time) > entry->ctrl_info.holding_time) { now 254 net/atm/mpoa_caches.c time64_t now; now 257 net/atm/mpoa_caches.c now = ktime_get_seconds(); now 264 net/atm/mpoa_caches.c if ((now - entry->hold_down) now 269 net/atm/mpoa_caches.c if ((now - entry->reply_wait) > entry->retry_time) { now 301 net/atm/mpoa_caches.c time64_t now; now 305 net/atm/mpoa_caches.c now = ktime_get_seconds(); now 312 net/atm/mpoa_caches.c if ((now - entry->reply_wait) > now 503 net/atm/mpoa_caches.c time64_t now; now 506 net/atm/mpoa_caches.c now = ktime_get_seconds(); now 512 net/atm/mpoa_caches.c if ((now - entry->time) > entry->ctrl_info.holding_time) { now 140 net/atm/mpoa_proc.c time64_t now; now 150 net/atm/mpoa_proc.c now = ktime_get_seconds(); now 153 net/atm/mpoa_proc.c unsigned long seconds_delta = now - in_entry->time; now 173 net/atm/mpoa_proc.c unsigned long seconds_delta = now - eg_entry->time; now 1213 net/batman-adv/bridge_loop_avoidance.c static void batadv_bla_purge_backbone_gw(struct batadv_priv *bat_priv, int now) now 1233 net/batman-adv/bridge_loop_avoidance.c if (now) now 1268 net/batman-adv/bridge_loop_avoidance.c int now) now 1286 net/batman-adv/bridge_loop_avoidance.c if (now) now 2452 net/bluetooth/hci_request.c unsigned long timeout, duration, scan_start, now; now 2477 net/bluetooth/hci_request.c now = jiffies; now 2478 net/bluetooth/hci_request.c if (now - scan_start <= duration) { now 2481 net/bluetooth/hci_request.c if (now >= scan_start) now 2482 net/bluetooth/hci_request.c elapsed = now - scan_start; now 2484 net/bluetooth/hci_request.c elapsed = ULONG_MAX - scan_start + now; now 339 net/bridge/br_fdb.c unsigned long now = jiffies; now 352 net/bridge/br_fdb.c if (time_after(this_timer, now)) { now 353 net/bridge/br_fdb.c work_delay = min(work_delay, this_timer - now); now 580 net/bridge/br_fdb.c unsigned long now = jiffies; now 590 net/bridge/br_fdb.c if (now != fdb->updated) now 591 net/bridge/br_fdb.c fdb->updated = now; now 633 net/bridge/br_fdb.c unsigned long now = jiffies; now 662 net/bridge/br_fdb.c ci.ndm_used = jiffies_to_clock_t(now - fdb->used); now 664 net/bridge/br_fdb.c ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); now 152 net/bridge/br_input.c unsigned long now = jiffies; now 157 net/bridge/br_input.c if (now != dst->used) now 158 net/bridge/br_input.c dst->used = now; now 608 net/bridge/br_mdb.c unsigned long now = jiffies; now 646 net/bridge/br_mdb.c mod_timer(&p->timer, now + br->multicast_membership_interval); now 543 net/bridge/br_multicast.c unsigned long now = jiffies; now 577 net/bridge/br_multicast.c mod_timer(&p->timer, now + br->multicast_membership_interval); now 1180 net/bridge/br_multicast.c unsigned long now = jiffies; now 1187 net/bridge/br_multicast.c now + br->multicast_querier_interval); now 1199 net/bridge/br_multicast.c now + br->multicast_querier_interval); now 1229 net/bridge/br_multicast.c unsigned long now = jiffies; now 1274 net/bridge/br_multicast.c time_after(mp->timer.expires, now + max_delay) : now 1276 net/bridge/br_multicast.c mod_timer(&mp->timer, now + max_delay); now 1282 net/bridge/br_multicast.c time_after(p->timer.expires, now + max_delay) : now 1284 net/bridge/br_multicast.c mod_timer(&p->timer, now + max_delay); now 1305 net/bridge/br_multicast.c unsigned long now = jiffies; now 1357 net/bridge/br_multicast.c time_after(mp->timer.expires, now + max_delay) : now 1359 net/bridge/br_multicast.c mod_timer(&mp->timer, now + max_delay); now 1365 net/bridge/br_multicast.c time_after(p->timer.expires, now + max_delay) : now 1367 net/bridge/br_multicast.c mod_timer(&p->timer, now + max_delay); now 1386 net/bridge/br_multicast.c unsigned long now; now 1452 net/bridge/br_multicast.c now = jiffies; now 1453 net/bridge/br_multicast.c time = now + br->multicast_last_member_count * now 1985 net/bridge/br_multicast.c unsigned long now = jiffies; now 1993 net/bridge/br_multicast.c now + br->multicast_querier_interval); now 39 net/bridge/netfilter/ebt_limit.c unsigned long now = jiffies; now 42 net/bridge/netfilter/ebt_limit.c info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; now 1395 net/ceph/messenger.c struct timespec64 now; now 1397 net/ceph/messenger.c ktime_get_real_ts64(&now); now 1399 net/ceph/messenger.c ceph_encode_timespec64(&con->out_temp_keepalive2, &now); now 3235 net/ceph/messenger.c struct timespec64 now; now 3237 net/ceph/messenger.c ktime_get_real_ts64(&now); now 3240 net/ceph/messenger.c return timespec64_compare(&now, &ts) >= 0; now 1000 net/ceph/mon_client.c unsigned long now = jiffies; now 1003 net/ceph/mon_client.c __func__, now, monc->sub_renew_after); now 1004 net/ceph/mon_client.c if (time_after_eq(now, monc->sub_renew_after)) now 6620 net/core/dev.c struct net_device *udev, *next, *now, *dev_stack[MAX_NEST_DEV + 1]; now 6625 net/core/dev.c now = dev; now 6629 net/core/dev.c if (now != dev) { now 6630 net/core/dev.c ret = fn(now, data); now 6637 net/core/dev.c udev = __netdev_next_upper_dev(now, &iter, &ignore); now 6645 net/core/dev.c dev_stack[cur] = now; now 6657 net/core/dev.c now = next; now 6669 net/core/dev.c struct net_device *udev, *next, *now, *dev_stack[MAX_NEST_DEV + 1]; now 6673 net/core/dev.c now = dev; now 6677 net/core/dev.c if (now != dev) { now 6678 net/core/dev.c ret = fn(now, data); now 6685 net/core/dev.c udev = netdev_next_upper_dev_rcu(now, &iter); now 6691 net/core/dev.c dev_stack[cur] = now; now 6703 net/core/dev.c now = next; now 6838 net/core/dev.c struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1]; now 6842 net/core/dev.c now = dev; now 6846 net/core/dev.c if (now != dev) { now 6847 net/core/dev.c ret = fn(now, data); now 6854 net/core/dev.c ldev = netdev_next_lower_dev(now, &iter); now 6860 net/core/dev.c dev_stack[cur] = now; now 6872 net/core/dev.c now = next; now 6885 net/core/dev.c struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1]; now 6890 net/core/dev.c now = dev; now 6894 net/core/dev.c if (now != dev) { now 6895 net/core/dev.c ret = fn(now, data); now 6902 net/core/dev.c ldev = __netdev_next_lower_dev(now, &iter, &ignore); now 6910 net/core/dev.c dev_stack[cur] = now; now 6922 net/core/dev.c now = next; now 7001 net/core/dev.c struct net_device *ldev, *next, *now, *dev_stack[MAX_NEST_DEV + 1]; now 7005 net/core/dev.c now = dev; now 7009 net/core/dev.c if (now != dev) { now 7010 net/core/dev.c ret = fn(now, data); now 7017 net/core/dev.c ldev = netdev_next_lower_dev_rcu(now, &iter); now 7023 net/core/dev.c dev_stack[cur] = now; now 7035 net/core/dev.c now = next; now 379 net/core/neighbour.c unsigned long now = jiffies; now 388 net/core/neighbour.c time_after(now, tbl->last_flush + 5 * HZ))) { now 406 net/core/neighbour.c n->updated = n->used = now; now 1018 net/core/neighbour.c unsigned long now, next; now 1026 net/core/neighbour.c now = jiffies; now 1027 net/core/neighbour.c next = now + HZ; now 1033 net/core/neighbour.c if (time_before_eq(now, now 1037 net/core/neighbour.c } else if (time_before_eq(now, now 1044 net/core/neighbour.c next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); now 1053 net/core/neighbour.c if (time_before_eq(now, now 1068 net/core/neighbour.c next = now + NEIGH_VAR(neigh->parms, RETRANS_TIME); now 1072 net/core/neighbour.c next = now + NEIGH_VAR(neigh->parms, RETRANS_TIME); now 1120 net/core/neighbour.c unsigned long next, now = jiffies; now 1126 net/core/neighbour.c neigh->updated = now; now 1127 net/core/neighbour.c next = now + max(NEIGH_VAR(neigh->parms, RETRANS_TIME), now 1535 net/core/neighbour.c unsigned long now = jiffies; now 1541 net/core/neighbour.c long tdif = NEIGH_CB(skb)->sched_next - now; now 1568 net/core/neighbour.c unsigned long now = jiffies; now 1570 net/core/neighbour.c unsigned long sched_next = now + (prandom_u32() % now 1675 net/core/neighbour.c unsigned long now = jiffies; now 1718 net/core/neighbour.c tbl->last_flush = now; now 1719 net/core/neighbour.c tbl->last_rand = now + tbl->parms.reachable_time * 20; now 2051 net/core/neighbour.c unsigned long now = jiffies; now 2052 net/core/neighbour.c long flush_delta = now - tbl->last_flush; now 2053 net/core/neighbour.c long rand_delta = now - tbl->last_rand; now 2425 net/core/neighbour.c unsigned long now = jiffies; now 2457 net/core/neighbour.c ci.ndm_used = jiffies_to_clock_t(now - neigh->used); now 2458 net/core/neighbour.c ci.ndm_confirmed = jiffies_to_clock_t(now - neigh->confirmed); now 2459 net/core/neighbour.c ci.ndm_updated = jiffies_to_clock_t(now - neigh->updated); now 195 net/dccp/ccids/ccid2.c static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) now 208 net/dccp/ccids/ccid2.c hc->tx_cwnd_stamp = now; now 214 net/dccp/ccids/ccid2.c static void ccid2_cwnd_restart(struct sock *sk, const u32 now) now 219 net/dccp/ccids/ccid2.c s32 delta = now - hc->tx_lsndtime; now 229 net/dccp/ccids/ccid2.c hc->tx_cwnd_stamp = now; now 239 net/dccp/ccids/ccid2.c const u32 now = ccid2_jiffies32; now 244 net/dccp/ccids/ccid2.c (s32)(now - hc->tx_lsndtime) >= hc->tx_rto) now 245 net/dccp/ccids/ccid2.c ccid2_cwnd_restart(sk, now); now 247 net/dccp/ccids/ccid2.c hc->tx_lsndtime = now; now 254 net/dccp/ccids/ccid2.c hc->tx_cwnd_stamp = now; now 261 net/dccp/ccids/ccid2.c if (ccid2_do_cwv && (s32)(now - hc->tx_cwnd_stamp) >= hc->tx_rto) now 262 net/dccp/ccids/ccid2.c ccid2_cwnd_application_limited(sk, now); now 267 net/dccp/ccids/ccid2.c hc->tx_seqh->ccid2s_sent = now; now 93 net/dccp/ccids/ccid3.c static u32 ccid3_hc_tx_idle_rtt(struct ccid3_hc_tx_sock *hc, ktime_t now) now 95 net/dccp/ccids/ccid3.c u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count); now 116 net/dccp/ccids/ccid3.c ktime_t now = stamp ? *stamp : ktime_get_real(); now 124 net/dccp/ccids/ccid3.c if (ccid3_hc_tx_idle_rtt(hc, now) >= 2) { now 134 net/dccp/ccids/ccid3.c } else if (ktime_us_delta(now, hc->tx_t_ld) - (s64)hc->tx_rtt >= 0) { now 139 net/dccp/ccids/ccid3.c hc->tx_t_ld = now; now 173 net/dccp/ccids/ccid3.c ktime_t now) now 175 net/dccp/ccids/ccid3.c u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count), now 179 net/dccp/ccids/ccid3.c hc->tx_t_last_win_count = now; now 271 net/dccp/ccids/ccid3.c ktime_t now = ktime_get_real(); now 286 net/dccp/ccids/ccid3.c hc->tx_t_last_win_count = now; now 289 net/dccp/ccids/ccid3.c hc->tx_t_nom = now; now 302 net/dccp/ccids/ccid3.c hc->tx_t_ld = now; now 319 net/dccp/ccids/ccid3.c delay = ktime_us_delta(hc->tx_t_nom, now); now 332 net/dccp/ccids/ccid3.c ccid3_hc_tx_update_win_count(hc, now); now 358 net/dccp/ccids/ccid3.c ktime_t now; now 381 net/dccp/ccids/ccid3.c now = ktime_get_real(); now 382 net/dccp/ccids/ccid3.c r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); now 396 net/dccp/ccids/ccid3.c hc->tx_t_ld = now; now 412 net/dccp/ccids/ccid3.c ccid3_hc_tx_update_x(sk, &now); now 590 net/dccp/ccids/ccid3.c ktime_t now = ktime_get(); now 613 net/dccp/ccids/ccid3.c delta = ktime_us_delta(now, hc->rx_tstamp_last_feedback); now 625 net/dccp/ccids/ccid3.c hc->rx_tstamp_last_feedback = now; now 244 net/dccp/input.c unsigned long now = jiffies; now 257 net/dccp/input.c if (time_before(now, (dp->dccps_rate_last + now 272 net/dccp/input.c dp->dccps_rate_last = now; now 344 net/dccp/options.c __be32 now = htonl(dccp_timestamp()); now 348 net/dccp/options.c return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now)); now 184 net/decnet/dn_route.c unsigned long now = jiffies; now 194 net/decnet/dn_route.c (now - rt->dst.lastuse) < expire) { now 205 net/decnet/dn_route.c if ((jiffies - now) > 0) now 209 net/decnet/dn_route.c mod_timer(&dn_route_timer, now + decnet_dst_gc_interval * HZ); now 217 net/decnet/dn_route.c unsigned long now = jiffies; now 228 net/decnet/dn_route.c (now - rt->dst.lastuse) < expire) { now 321 net/decnet/dn_route.c unsigned long now = jiffies; now 335 net/decnet/dn_route.c dst_hold_and_use(&rth->dst, now); now 348 net/decnet/dn_route.c dst_hold_and_use(&rt->dst, now); now 381 net/decnet/dn_route.c unsigned long now = jiffies; now 390 net/decnet/dn_route.c long tmo = (long)(dn_rt_deadline - now); now 406 net/decnet/dn_route.c dn_rt_deadline = now + dn_rt_max_delay; now 408 net/decnet/dn_route.c dn_rt_flush_timer.expires = now + delay; now 140 net/hsr/hsr_framereg.c unsigned long now; now 152 net/hsr/hsr_framereg.c now = jiffies; now 154 net/hsr/hsr_framereg.c new_node->time_in[i] = now; now 699 net/ipv4/devinet.c unsigned long now, next, next_sec, next_sched; now 704 net/ipv4/devinet.c now = jiffies; now 705 net/ipv4/devinet.c next = round_jiffies_up(now + ADDR_CHECK_FREQUENCY); now 718 net/ipv4/devinet.c age = (now - ifa->ifa_tstamp + now 753 net/ipv4/devinet.c age = (now - ifa->ifa_tstamp + now 790 net/ipv4/devinet.c now = jiffies; now 792 net/ipv4/devinet.c if (time_before(next_sched, now + ADDRCONF_TIMER_FUZZ_MAX)) now 793 net/ipv4/devinet.c next_sched = now + ADDRCONF_TIMER_FUZZ_MAX; now 796 net/ipv4/devinet.c next_sched - now); now 248 net/ipv4/icmp.c u32 credit, delta, incr = 0, now = (u32)jiffies; now 256 net/ipv4/icmp.c delta = min_t(u32, now - READ_ONCE(icmp_global.stamp), HZ); now 262 net/ipv4/icmp.c delta = min_t(u32, now - icmp_global.stamp, HZ); now 266 net/ipv4/icmp.c WRITE_ONCE(icmp_global.stamp, now); now 275 net/ipv4/inetpeer.c unsigned long now, token; now 282 net/ipv4/inetpeer.c now = jiffies; now 283 net/ipv4/inetpeer.c token += now - peer->rate_last; now 284 net/ipv4/inetpeer.c peer->rate_last = now; now 775 net/ipv4/ipmr.c unsigned long now; now 785 net/ipv4/ipmr.c now = jiffies; now 789 net/ipv4/ipmr.c if (time_after(c->mfc_un.unres.expires, now)) { now 790 net/ipv4/ipmr.c unsigned long interval = c->mfc_un.unres.expires - now; now 492 net/ipv4/route.c u32 now = (u32)jiffies; now 495 net/ipv4/route.c if (old != now && cmpxchg(p_tstamp, old, now) == old) now 496 net/ipv4/route.c delta = prandom_u32_max(now - old); now 942 net/ipv4/route.c unsigned long now; now 994 net/ipv4/route.c now = jiffies; now 995 net/ipv4/route.c peer->rate_tokens += now - peer->rate_last; now 998 net/ipv4/route.c peer->rate_last = now; now 2809 net/ipv4/route.c unsigned long now = jiffies; now 2811 net/ipv4/route.c if (time_before(now, expires)) now 2812 net/ipv4/route.c expires -= now; now 3216 net/ipv4/tcp.c u32 now; now 3283 net/ipv4/tcp.c now = tcp_jiffies32; now 3284 net/ipv4/tcp.c info->tcpi_last_data_sent = jiffies_to_msecs(now - tp->lsndtime); now 3285 net/ipv4/tcp.c info->tcpi_last_data_recv = jiffies_to_msecs(now - icsk->icsk_ack.lrcvtime); now 3286 net/ipv4/tcp.c info->tcpi_last_ack_recv = jiffies_to_msecs(now - tp->rcv_tstamp); now 157 net/ipv4/tcp_cubic.c u32 now = tcp_jiffies32; now 160 net/ipv4/tcp_cubic.c delta = now - tcp_sk(sk)->lsndtime; now 167 net/ipv4/tcp_cubic.c if (after(ca->epoch_start, now)) now 168 net/ipv4/tcp_cubic.c ca->epoch_start = now; now 388 net/ipv4/tcp_cubic.c u32 now = bictcp_clock(); now 391 net/ipv4/tcp_cubic.c if ((s32)(now - ca->last_ack) <= hystart_ack_delta) { now 392 net/ipv4/tcp_cubic.c ca->last_ack = now; now 393 net/ipv4/tcp_cubic.c if ((s32)(now - ca->round_start) > ca->delay_min >> 4) { now 107 net/ipv4/tcp_htcp.c u32 now = tcp_jiffies32; now 121 net/ipv4/tcp_htcp.c ca->lasttime = now; now 128 net/ipv4/tcp_htcp.c now - ca->lasttime >= ca->minRTT && now 130 net/ipv4/tcp_htcp.c __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime); now 143 net/ipv4/tcp_htcp.c ca->lasttime = now; now 680 net/ipv4/tcp_input.c u32 now; now 688 net/ipv4/tcp_input.c now = tcp_jiffies32; now 697 net/ipv4/tcp_input.c int m = now - icsk->icsk_ack.lrcvtime; now 714 net/ipv4/tcp_input.c icsk->icsk_ack.lrcvtime = now; now 3461 net/ipv4/tcp_input.c u32 count, now; now 3470 net/ipv4/tcp_input.c now = jiffies / HZ; now 3471 net/ipv4/tcp_input.c if (now != challenge_timestamp) { now 3475 net/ipv4/tcp_input.c challenge_timestamp = now; now 268 net/ipv4/tcp_lp.c u32 now = tcp_time_stamp(tp); now 275 net/ipv4/tcp_lp.c delta = now - tp->rx_opt.rcv_tsecr; now 280 net/ipv4/tcp_lp.c if (lp->last_drop && (now - lp->last_drop < lp->inference)) now 317 net/ipv4/tcp_lp.c lp->last_drop = now; now 245 net/ipv4/tcp_nv.c unsigned long now = jiffies; now 323 net/ipv4/tcp_nv.c if (time_after_eq(now, ca->nv_min_rtt_reset_jiffies)) { now 330 net/ipv4/tcp_nv.c now + ((nv_reset_period * (384 + rand) * HZ) >> 9); now 163 net/ipv4/tcp_output.c const u32 now = tcp_jiffies32; now 174 net/ipv4/tcp_output.c (u32)(now - icsk->icsk_ack.lrcvtime) < icsk->icsk_ack.ato) now 177 net/ipv4/tcp_output.c tp->lsndtime = now; now 2311 net/ipv4/tcp_output.c const u32 now = tcp_jiffies32; now 2315 net/ipv4/tcp_output.c tp->chrono_stat[old - 1] += now - tp->chrono_start; now 2316 net/ipv4/tcp_output.c tp->chrono_start = now; now 3279 net/ipv4/tcp_output.c u64 now; now 3311 net/ipv4/tcp_output.c now = tcp_clock_ns(); now 3318 net/ipv4/tcp_output.c skb->skb_mstamp_ns = now; now 3361 net/ipv4/tcp_output.c skb->skb_mstamp_ns = now; now 1317 net/ipv6/addrconf.c unsigned long now = jiffies; now 1354 net/ipv6/addrconf.c age = (now - ifp->tstamp) / HZ; now 1397 net/ipv6/addrconf.c age = (now - tmp_tstamp + ADDRCONF_TIMER_FUZZ_MINUS) / HZ; now 1425 net/ipv6/addrconf.c ift->cstamp = now; now 2487 net/ipv6/addrconf.c bool create, unsigned long now) now 2508 net/ipv6/addrconf.c age = (now - ift->cstamp) / HZ; now 2528 net/ipv6/addrconf.c ift->tstamp = now; now 2606 net/ipv6/addrconf.c unsigned long now; now 2611 net/ipv6/addrconf.c now = jiffies; now 2612 net/ipv6/addrconf.c if (ifp->valid_lft > (now - ifp->tstamp) / HZ) now 2613 net/ipv6/addrconf.c stored_lft = ifp->valid_lft - (now - ifp->tstamp) / HZ; now 2637 net/ipv6/addrconf.c ifp->tstamp = now; now 2648 net/ipv6/addrconf.c create, now); now 4413 net/ipv6/addrconf.c unsigned long now, next, next_sec, next_sched; now 4420 net/ipv6/addrconf.c now = jiffies; now 4421 net/ipv6/addrconf.c next = round_jiffies_up(now + ADDR_CHECK_FREQUENCY); now 4440 net/ipv6/addrconf.c age = (now - ifp->tstamp + ADDRCONF_TIMER_FUZZ_MINUS) / HZ; now 4523 net/ipv6/addrconf.c now, next, next_sec, next_sched); now 4524 net/ipv6/addrconf.c mod_delayed_work(addrconf_wq, &addr_chk_work, next_sched - now); now 2182 net/ipv6/ip6_fib.c unsigned long now = jiffies; now 2190 net/ipv6/ip6_fib.c if (time_after(now, rt->expires)) { now 2201 net/ipv6/ip6_fib.c rt6_age_exceptions(rt, gc_args, now); now 2209 net/ipv6/ip6_fib.c unsigned long now; now 2222 net/ipv6/ip6_fib.c now = jiffies; now 2223 net/ipv6/ip6_fib.c net->ipv6.ip6_rt_last_gc = now; now 2227 net/ipv6/ip6_fib.c round_jiffies(now now 151 net/ipv6/ip6_flowlabel.c unsigned long now = jiffies; now 168 net/ipv6/ip6_flowlabel.c if (time_after_eq(now, ttd)) { now 181 net/ipv6/ip6_flowlabel.c sched = now + FL_MAX_LINGER; now 794 net/ipv6/ip6mr.c unsigned long now = jiffies; now 799 net/ipv6/ip6mr.c if (time_after(c->mfc_un.unres.expires, now)) { now 801 net/ipv6/ip6mr.c unsigned long interval = c->mfc_un.unres.expires - now; now 2079 net/ipv6/route.c unsigned long now) now 2090 net/ipv6/route.c if (time_after_eq(now, rt->dst.lastuse + gc_args->timeout)) { now 2122 net/ipv6/route.c unsigned long now) now 2140 net/ipv6/route.c gc_args, now); now 2151 net/ipv6/route.c unsigned long now; now 2158 net/ipv6/route.c fib6_nh_age_exceptions(nh, arg->gc_args, arg->now); now 2164 net/ipv6/route.c unsigned long now) now 2169 net/ipv6/route.c .now = now now 2175 net/ipv6/route.c fib6_nh_age_exceptions(f6i->fib6_nh, gc_args, now); now 1846 net/mac80211/mlme.c unsigned long now = jiffies; now 1850 net/mac80211/mlme.c time_after(now, tx_tspec->time_slice_start + HZ)) { now 1852 net/mac80211/mlme.c tx_tspec->time_slice_start = now; now 1871 net/mac80211/mlme.c if (time_after(now, tx_tspec->time_slice_start + HZ)) { now 1899 net/mac80211/mlme.c tx_tspec->time_slice_start + HZ - now + 1); now 2428 net/mac80211/mlme.c unsigned long now = jiffies; now 2433 net/mac80211/mlme.c if (time_after(now, tx_tspec->time_slice_start + HZ)) { now 2435 net/mac80211/mlme.c tx_tspec->time_slice_start = now; now 213 net/mac80211/offchannel.c unsigned long now) now 228 net/mac80211/offchannel.c now; now 244 net/mac80211/offchannel.c unsigned long now) now 246 net/mac80211/offchannel.c long dur = ieee80211_end_finished_rocs(local, now); now 512 net/mac80211/offchannel.c unsigned long now = jiffies; now 526 net/mac80211/offchannel.c now; now 541 net/mac80211/offchannel.c ieee80211_handle_roc_started(new_roc, now); now 651 net/mac80211/offchannel.c unsigned long now = jiffies; now 652 net/mac80211/offchannel.c u32 elapsed = jiffies_to_msecs(now - tmp->start_time); now 664 net/mac80211/offchannel.c ieee80211_handle_roc_started(roc, now); now 665 net/mac80211/offchannel.c ieee80211_recalc_sw_work(local, now); now 1237 net/netfilter/ipvs/ip_vs_ctl.c unsigned long now = jiffies; now 1244 net/netfilter/ipvs/ip_vs_ctl.c if (time_before(now, dest->idle_start + now 1248 net/netfilter/ipvs/ip_vs_ctl.c dest->idle_start = max(1UL, now); now 261 net/netfilter/ipvs/ip_vs_lblc.c unsigned long now = jiffies; now 269 net/netfilter/ipvs/ip_vs_lblc.c if (time_before(now, now 298 net/netfilter/ipvs/ip_vs_lblc.c unsigned long now = jiffies; now 325 net/netfilter/ipvs/ip_vs_lblc.c if (time_before(now, en->lastuse + ENTRY_TIMEOUT)) now 424 net/netfilter/ipvs/ip_vs_lblcr.c unsigned long now = jiffies; now 435 net/netfilter/ipvs/ip_vs_lblcr.c sysctl_lblcr_expiration(svc), now)) now 462 net/netfilter/ipvs/ip_vs_lblcr.c unsigned long now = jiffies; now 489 net/netfilter/ipvs/ip_vs_lblcr.c if (time_before(now, en->lastuse+ENTRY_TIMEOUT)) now 467 net/netfilter/ipvs/ip_vs_sync.c unsigned long now = jiffies; now 468 net/netfilter/ipvs/ip_vs_sync.c unsigned long n = (now + cp->timeout) & ~3UL; now 518 net/netfilter/ipvs/ip_vs_sync.c if (time_before(now, orig - cp->timeout + now 4049 net/netfilter/nf_tables_api.c u64 expires, now = get_jiffies_64(); now 4052 net/netfilter/nf_tables_api.c if (time_before64(now, expires)) now 4053 net/netfilter/nf_tables_api.c expires -= now; now 466 net/netfilter/nfnetlink_acct.c u64 now; now 475 net/netfilter/nfnetlink_acct.c now = (nfacct->flags & NFACCT_F_QUOTA_PKTS) ? now 478 net/netfilter/nfnetlink_acct.c ret = now > *quota; now 480 net/netfilter/nfnetlink_acct.c if (now >= *quota && now 30 net/netfilter/nft_limit.c u64 now, tokens; now 34 net/netfilter/nft_limit.c now = ktime_get_ns(); now 35 net/netfilter/nft_limit.c tokens = limit->tokens + now - limit->last; now 39 net/netfilter/nft_limit.c limit->last = now; now 529 net/netfilter/xt_hashlimit.c static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, now 532 net/netfilter/xt_hashlimit.c unsigned long delta = now - dh->rateinfo.prev; now 544 net/netfilter/xt_hashlimit.c dh->rateinfo.prev = now; now 553 net/netfilter/xt_hashlimit.c dh->rateinfo.prev = now; now 729 net/netfilter/xt_hashlimit.c unsigned long now = jiffies; now 747 net/netfilter/xt_hashlimit.c dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire); now 748 net/netfilter/xt_hashlimit.c rateinfo_recalc(dh, now, hinfo->cfg.mode, revision); now 755 net/netfilter/xt_hashlimit.c dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire); now 756 net/netfilter/xt_hashlimit.c rateinfo_recalc(dh, now, hinfo->cfg.mode, revision); now 69 net/netfilter/xt_limit.c unsigned long now = jiffies; now 72 net/netfilter/xt_limit.c priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; now 431 net/rxrpc/af_rxrpc.c unsigned long now; now 435 net/rxrpc/af_rxrpc.c now = jiffies; now 436 net/rxrpc/af_rxrpc.c hard_timeout += now; now 438 net/rxrpc/af_rxrpc.c rxrpc_reduce_call_timer(call, hard_timeout, now, rxrpc_timer_set_for_hard); now 768 net/rxrpc/ar-internal.h unsigned long now, now 771 net/rxrpc/ar-internal.h trace_rxrpc_timer(call, why, now); now 249 net/rxrpc/call_accept.c ktime_t now = skb->tstamp; now 252 net/rxrpc/call_accept.c ktime_before(ktime_add_ms(call->peer->rtt_last_req, 1000), now)) now 31 net/rxrpc/call_event.c unsigned long now = jiffies; now 32 net/rxrpc/call_event.c unsigned long ping_at = now + rxrpc_idle_ack_delay; now 36 net/rxrpc/call_event.c rxrpc_reduce_call_timer(call, ping_at, now, now 112 net/rxrpc/call_event.c unsigned long now = jiffies, ack_at; now 120 net/rxrpc/call_event.c ack_at += now; now 123 net/rxrpc/call_event.c rxrpc_reduce_call_timer(call, ack_at, now, now 162 net/rxrpc/call_event.c ktime_t now, max_age, oldest, ack_ts; now 170 net/rxrpc/call_event.c now = ktime_get_real(); now 171 net/rxrpc/call_event.c max_age = ktime_sub(now, jiffies_to_usecs(rto_j)); now 186 net/rxrpc/call_event.c oldest = now; now 215 net/rxrpc/call_event.c resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); now 230 net/rxrpc/call_event.c ack_ts = ktime_sub(now, call->acks_latest_ts); now 301 net/rxrpc/call_event.c unsigned long now, next, t; now 328 net/rxrpc/call_event.c now = jiffies; now 330 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 331 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_normal, now); now 337 net/rxrpc/call_event.c time_after_eq(now, t)) { now 338 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_idle, now); now 343 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 344 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_hard, now); now 349 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 350 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_ack, now); now 351 net/rxrpc/call_event.c cmpxchg(&call->ack_at, t, now + MAX_JIFFY_OFFSET); now 356 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 357 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_lost_ack, now); now 358 net/rxrpc/call_event.c cmpxchg(&call->ack_lost_at, t, now + MAX_JIFFY_OFFSET); now 363 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 364 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_keepalive, now); now 365 net/rxrpc/call_event.c cmpxchg(&call->keepalive_at, t, now + MAX_JIFFY_OFFSET); now 372 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 373 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_ping, now); now 374 net/rxrpc/call_event.c cmpxchg(&call->ping_at, t, now + MAX_JIFFY_OFFSET); now 379 net/rxrpc/call_event.c if (time_after_eq(now, t)) { now 380 net/rxrpc/call_event.c trace_rxrpc_timer(call, rxrpc_timer_exp_resend, now); now 381 net/rxrpc/call_event.c cmpxchg(&call->resend_at, t, now + MAX_JIFFY_OFFSET); now 420 net/rxrpc/call_event.c rxrpc_resend(call, now); now 437 net/rxrpc/call_event.c now = jiffies; now 438 net/rxrpc/call_event.c if (time_after_eq(now, next)) now 441 net/rxrpc/call_event.c rxrpc_reduce_call_timer(call, next, now, rxrpc_timer_restart); now 175 net/rxrpc/call_object.c ktime_t now; now 185 net/rxrpc/call_object.c now = ktime_get_real(); now 186 net/rxrpc/call_object.c call->acks_latest_ts = now; now 187 net/rxrpc/call_object.c call->cong_tstamp = now; now 198 net/rxrpc/call_object.c unsigned long now = jiffies; now 199 net/rxrpc/call_object.c unsigned long j = now + MAX_JIFFY_OFFSET; now 208 net/rxrpc/call_object.c call->timer.expires = now; now 776 net/rxrpc/conn_client.c unsigned long now = jiffies; now 777 net/rxrpc/conn_client.c unsigned long reap_at = now + rxrpc_conn_idle_client_expiry; now 1072 net/rxrpc/conn_client.c unsigned long expiry, conn_expires_at, now; now 1117 net/rxrpc/conn_client.c now = READ_ONCE(jiffies); now 1118 net/rxrpc/conn_client.c if (time_after(conn_expires_at, now)) now 384 net/rxrpc/conn_object.c unsigned long expire_at, earliest, idle_timestamp, now; now 390 net/rxrpc/conn_object.c now = jiffies; now 391 net/rxrpc/conn_object.c earliest = now + MAX_JIFFY_OFFSET; now 409 net/rxrpc/conn_object.c (long)expire_at - (long)now); now 411 net/rxrpc/conn_object.c if (time_before(now, expire_at)) { now 434 net/rxrpc/conn_object.c if (earliest != now + MAX_JIFFY_OFFSET) { now 435 net/rxrpc/conn_object.c _debug("reschedule reaper %ld", (long)earliest - (long)now); now 436 net/rxrpc/conn_object.c ASSERT(time_after(earliest, now)); now 307 net/rxrpc/input.c unsigned long now, timo; now 314 net/rxrpc/input.c now = jiffies; now 315 net/rxrpc/input.c timo = now + MAX_JIFFY_OFFSET; now 318 net/rxrpc/input.c trace_rxrpc_timer(call, rxrpc_timer_init_for_reply, now); now 436 net/rxrpc/input.c unsigned long now, expect_req_by; now 439 net/rxrpc/input.c now = jiffies; now 440 net/rxrpc/input.c expect_req_by = now + timo; now 442 net/rxrpc/input.c rxrpc_reduce_call_timer(call, expect_req_by, now, now 1034 net/rxrpc/input.c unsigned long now = jiffies, expect_rx_by; now 1036 net/rxrpc/input.c expect_rx_by = now + timo; now 1038 net/rxrpc/input.c rxrpc_reduce_call_timer(call, expect_rx_by, now, now 58 net/rxrpc/output.c unsigned long now = jiffies, keepalive_at = call->next_rx_timo / 6; now 60 net/rxrpc/output.c keepalive_at += now; now 62 net/rxrpc/output.c rxrpc_reduce_call_timer(call, keepalive_at, now, now 360 net/rxrpc/peer_event.c time64_t base, now, delay; now 364 net/rxrpc/peer_event.c now = ktime_get_seconds(); now 367 net/rxrpc/peer_event.c _enter("%lld,%u", base - now, cursor); now 383 net/rxrpc/peer_event.c while (base <= now && (s8)(cursor - stop) < 0) { now 390 net/rxrpc/peer_event.c base = now; now 407 net/rxrpc/peer_event.c now = ktime_get_seconds(); now 408 net/rxrpc/peer_event.c delay = base - now; now 218 net/rxrpc/proc.c time64_t now; now 236 net/rxrpc/proc.c now = ktime_get_seconds(); now 245 net/rxrpc/proc.c now - peer->last_tx_at, now 908 net/rxrpc/rxkad.c time64_t issue, now; now 1011 net/rxrpc/rxkad.c now = ktime_get_real_seconds(); now 1012 net/rxrpc/rxkad.c _debug("KIV ISSUE: %llx [%llx]", issue, now); now 1015 net/rxrpc/rxkad.c if (issue > now) { now 1021 net/rxrpc/rxkad.c if (issue < now - life) { now 199 net/rxrpc/sendmsg.c unsigned long now; now 237 net/rxrpc/sendmsg.c now = jiffies; now 238 net/rxrpc/sendmsg.c WRITE_ONCE(call->ack_at, now + MAX_JIFFY_OFFSET); now 241 net/rxrpc/sendmsg.c trace_rxrpc_timer(call, rxrpc_timer_init_for_send_reply, now); now 273 net/rxrpc/sendmsg.c unsigned long now = jiffies; now 274 net/rxrpc/sendmsg.c unsigned long resend_at = now + call->peer->rto_j; now 277 net/rxrpc/sendmsg.c rxrpc_reduce_call_timer(call, resend_at, now, now 644 net/rxrpc/sendmsg.c unsigned long now, j; now 733 net/rxrpc/sendmsg.c now = jiffies; now 734 net/rxrpc/sendmsg.c j += now; now 736 net/rxrpc/sendmsg.c rxrpc_reduce_call_timer(call, j, now, now 223 net/sched/act_police.c s64 now, toks, ptoks = 0; now 246 net/sched/act_police.c now = ktime_get_ns(); now 248 net/sched/act_police.c toks = min_t(s64, now - police->tcfp_t_c, p->tcfp_burst); now 261 net/sched/act_police.c police->tcfp_t_c = now; now 295 net/sched/sch_cake.c ktime_t now) now 297 net/sched/sch_cake.c get_cobalt_cb(skb)->enqueue_time = now; now 451 net/sched/sch_cake.c ktime_t now) now 455 net/sched/sch_cake.c if (ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { now 460 net/sched/sch_cake.c vars->blue_timer = now; now 463 net/sched/sch_cake.c vars->drop_next = now; now 475 net/sched/sch_cake.c ktime_t now) now 480 net/sched/sch_cake.c ktime_to_ns(ktime_sub(now, vars->blue_timer)) > p->target) { now 485 net/sched/sch_cake.c vars->blue_timer = now; now 490 net/sched/sch_cake.c if (vars->count && ktime_to_ns(ktime_sub(now, vars->drop_next)) >= 0) { now 506 net/sched/sch_cake.c ktime_t now, now 529 net/sched/sch_cake.c sojourn = ktime_to_ns(ktime_sub(now, cobalt_get_enqueue_time(skb))); now 530 net/sched/sch_cake.c schedule = ktime_sub(now, vars->drop_next); now 541 net/sched/sch_cake.c vars->drop_next = cobalt_control(now, now 562 net/sched/sch_cake.c schedule = ktime_sub(now, vars->drop_next); now 570 net/sched/sch_cake.c schedule = ktime_sub(now, vars->drop_next); now 581 net/sched/sch_cake.c vars->drop_next = ktime_add_ns(now, p->interval); now 583 net/sched/sch_cake.c vars->drop_next = now; now 1431 net/sched/sch_cake.c ktime_t now, bool drop) now 1443 net/sched/sch_cake.c if (ktime_before(b->time_next_packet, now)) now 1448 net/sched/sch_cake.c ktime_add_ns(now, tin_dur))) now 1449 net/sched/sch_cake.c b->time_next_packet = ktime_add_ns(now, tin_dur); now 1464 net/sched/sch_cake.c ktime_t now = ktime_get(); now 1493 net/sched/sch_cake.c if (cobalt_queue_full(&flow->cvars, &b->cparams, now)) now 1508 net/sched/sch_cake.c cake_advance_shaper(q, b, skb, now, true); now 1637 net/sched/sch_cake.c ktime_t now = ktime_get(); now 1655 net/sched/sch_cake.c if (ktime_before(b->time_next_packet, now)) now 1656 net/sched/sch_cake.c b->time_next_packet = now; now 1659 net/sched/sch_cake.c if (ktime_before(q->time_next_packet, now)) { now 1660 net/sched/sch_cake.c q->failsafe_next_packet = now; now 1661 net/sched/sch_cake.c q->time_next_packet = now; now 1662 net/sched/sch_cake.c } else if (ktime_after(q->time_next_packet, now) && now 1663 net/sched/sch_cake.c ktime_after(q->failsafe_next_packet, now)) { now 1690 net/sched/sch_cake.c cobalt_set_enqueue_time(segs, now); now 1714 net/sched/sch_cake.c cobalt_set_enqueue_time(skb, now); now 1728 net/sched/sch_cake.c cake_advance_shaper(q, b, ack, now, true); now 1752 net/sched/sch_cake.c ktime_to_ns(ktime_sub(now, q->last_packet_time)); now 1764 net/sched/sch_cake.c q->last_packet_time = now; now 1768 net/sched/sch_cake.c ktime_to_ns(ktime_sub(now, now 1777 net/sched/sch_cake.c q->avg_window_begin = now; now 1779 net/sched/sch_cake.c if (ktime_after(now, now 1788 net/sched/sch_cake.c q->last_packet_time = now; now 1888 net/sched/sch_cake.c ktime_t now = ktime_get(); now 1902 net/sched/sch_cake.c if (ktime_after(q->time_next_packet, now) && now 1903 net/sched/sch_cake.c ktime_after(q->failsafe_next_packet, now)) { now 1956 net/sched/sch_cake.c ktime_sub(b->time_next_packet, now); now 2048 net/sched/sch_cake.c if (cobalt_queue_empty(&flow->cvars, &b->cparams, now)) now 2052 net/sched/sch_cake.c ktime_before(now, flow->cvars.drop_next)) { now 2098 net/sched/sch_cake.c if (!cobalt_should_drop(&flow->cvars, &b->cparams, now, skb, now 2108 net/sched/sch_cake.c now, true); now 2125 net/sched/sch_cake.c delay = ktime_to_ns(ktime_sub(now, cobalt_get_enqueue_time(skb))); now 2132 net/sched/sch_cake.c len = cake_advance_shaper(q, b, skb, now, false); now 2136 net/sched/sch_cake.c if (ktime_after(q->time_next_packet, now) && sch->q.qlen) { now 2147 net/sched/sch_cake.c ktime_add_ns(now, now 2976 net/sched/sch_cake.c ktime_t now = ktime_get(); now 2998 net/sched/sch_cake.c ktime_sub(now, now 3004 net/sched/sch_cake.c ktime_sub(now, now 149 net/sched/sch_cbq.c psched_time_t now; /* Cached timestamp */ now 347 net/sched/sch_cbq.c psched_time_t now = psched_get_time(); now 350 net/sched/sch_cbq.c if (cl->undertime < now) { now 397 net/sched/sch_cbq.c psched_tdiff_t delay = cl->undertime - q->now; now 415 net/sched/sch_cbq.c cl->undertime = q->now + delay; now 432 net/sched/sch_cbq.c delay = b->undertime - q->now; now 445 net/sched/sch_cbq.c psched_time_t now) now 449 net/sched/sch_cbq.c psched_time_t sched = now; now 456 net/sched/sch_cbq.c if (now - cl->penalized > 0) { now 476 net/sched/sch_cbq.c return sched - now; now 484 net/sched/sch_cbq.c psched_time_t now; now 488 net/sched/sch_cbq.c now = psched_get_time(); now 499 net/sched/sch_cbq.c tmp = cbq_undelay_prio(q, prio, now); now 511 net/sched/sch_cbq.c time = ktime_add_ns(time, PSCHED_TICKS2NS(now + delay)); now 556 net/sched/sch_cbq.c psched_time_t now; now 562 net/sched/sch_cbq.c now = q->now + L2T(&q->link, len); now 578 net/sched/sch_cbq.c idle = now - cl->last; now 622 net/sched/sch_cbq.c cl->undertime = now + idle; now 632 net/sched/sch_cbq.c if ((s64)(now - cl->last) > 0) now 633 net/sched/sch_cbq.c cl->last = now; now 648 net/sched/sch_cbq.c if (cl->undertime == PSCHED_PASTPERFECT || q->now >= cl->undertime) { now 672 net/sched/sch_cbq.c } while (cl->undertime != PSCHED_PASTPERFECT && q->now < cl->undertime); now 804 net/sched/sch_cbq.c psched_time_t now; now 806 net/sched/sch_cbq.c now = psched_get_time(); now 811 net/sched/sch_cbq.c q->now = now; now 857 net/sched/sch_cbq.c now + q->wd_expires); now 1040 net/sched/sch_cbq.c q->now = psched_get_time(); now 1214 net/sched/sch_cbq.c q->now = psched_get_time(); now 1385 net/sched/sch_cbq.c cl->xstats.undertime = cl->undertime - q->now; now 179 net/sched/sch_cbs.c s64 now = ktime_get_ns(); now 185 net/sched/sch_cbs.c if (now < q->last) { now 190 net/sched/sch_cbs.c credits = timediff_to_credits(now - q->last, q->idleslope); now 199 net/sched/sch_cbs.c qdisc_watchdog_schedule_ns(&q->watchdog, now + delay); now 201 net/sched/sch_cbs.c q->last = now; now 222 net/sched/sch_cbs.c q->last = now; now 224 net/sched/sch_cbs.c q->last = now + div64_s64(len * NSEC_PER_SEC, now 80 net/sched/sch_etf.c ktime_t now; now 101 net/sched/sch_etf.c now = q->get_time(); now 102 net/sched/sch_etf.c if (ktime_before(txtime, now) || ktime_before(txtime, q->last)) now 201 net/sched/sch_etf.c ktime_t now) now 208 net/sched/sch_etf.c if (ktime_after(skb->tstamp, now)) now 257 net/sched/sch_etf.c ktime_t now, next; now 263 net/sched/sch_etf.c now = q->get_time(); now 266 net/sched/sch_etf.c if (ktime_before(skb->tstamp, now)) { now 267 net/sched/sch_etf.c timesortedlist_drop(sch, skb, now); now 277 net/sched/sch_etf.c skb->tstamp = now; now 284 net/sched/sch_etf.c if (ktime_after(now, next)) now 455 net/sched/sch_fq.c static void fq_check_throttled(struct fq_sched_data *q, u64 now) now 460 net/sched/sch_fq.c if (q->time_next_delayed_flow > now) now 466 net/sched/sch_fq.c sample = (unsigned long)(now - q->time_next_delayed_flow); now 474 net/sched/sch_fq.c if (f->time_next_packet > now) { now 490 net/sched/sch_fq.c u64 now; now 499 net/sched/sch_fq.c now = ktime_get_ns(); now 500 net/sched/sch_fq.c fq_check_throttled(q, now); now 526 net/sched/sch_fq.c if (now < time_next_packet) { now 533 net/sched/sch_fq.c (s64)(now - time_next_packet - q->ce_threshold) > 0) { now 594 net/sched/sch_fq.c len -= min(len/2, now - f->time_next_packet); now 595 net/sched/sch_fq.c f->time_next_packet = now + len; now 185 net/sched/sch_hhf.c u32 now = hhf_time_stamp(); now 193 net/sched/sch_hhf.c if (hhf_time_before(prev, now)) { now 216 net/sched/sch_hhf.c u32 now = hhf_time_stamp(); now 223 net/sched/sch_hhf.c if (hhf_time_before(prev, now)) now 256 net/sched/sch_hhf.c u32 now = hhf_time_stamp(); now 260 net/sched/sch_hhf.c if (hhf_time_before(prev, now)) { now 263 net/sched/sch_hhf.c q->hhf_arrays_reset_timestamp = now; now 273 net/sched/sch_hhf.c flow->hit_timestamp = now; now 311 net/sched/sch_hhf.c flow->hit_timestamp = now; now 169 net/sched/sch_htb.c s64 now; /* cached dequeue time */ now 305 net/sched/sch_htb.c cl->pq_key = q->now + delay; now 306 net/sched/sch_htb.c if (cl->pq_key == q->now) now 663 net/sched/sch_htb.c diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); now 673 net/sched/sch_htb.c cl->t_c = q->now; now 719 net/sched/sch_htb.c if (cl->pq_key > q->now) now 723 net/sched/sch_htb.c diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); now 735 net/sched/sch_htb.c return q->now; now 909 net/sched/sch_htb.c q->now = ktime_get_ns(); now 912 net/sched/sch_htb.c next_event = q->now + 5LLU * NSEC_PER_SEC; now 919 net/sched/sch_htb.c if (q->now >= event) { now 922 net/sched/sch_htb.c event = q->now + NSEC_PER_SEC; now 939 net/sched/sch_htb.c if (likely(next_event > q->now)) now 533 net/sched/sch_netem.c u64 now; now 539 net/sched/sch_netem.c now = ktime_get_ns(); now 571 net/sched/sch_netem.c delay -= last->time_to_send - now; now 573 net/sched/sch_netem.c now = last->time_to_send; now 579 net/sched/sch_netem.c cb->time_to_send = now + delay; now 629 net/sched/sch_netem.c static void get_slot_next(struct netem_sched_data *q, u64 now) now 643 net/sched/sch_netem.c q->slot.slot_next = now + next_delay; now 692 net/sched/sch_netem.c u64 now = ktime_get_ns(); now 697 net/sched/sch_netem.c get_slot_next(q, now); now 699 net/sched/sch_netem.c if (time_to_send <= now && q->slot.slot_next <= now) { now 715 net/sched/sch_netem.c get_slot_next(q, now); now 292 net/sched/sch_pie.c psched_time_t now = psched_get_time(); now 293 net/sched/sch_pie.c u32 dtime = now - q->vars.dq_tstamp; now 347 net/sched/sch_taprio.c ktime_t minimum_time, now, txtime; now 352 net/sched/sch_taprio.c now = taprio_get_time(q); now 353 net/sched/sch_taprio.c minimum_time = ktime_add_ns(now, q->txtime_delay); now 974 net/sched/sch_taprio.c ktime_t now, base, cycle; now 978 net/sched/sch_taprio.c now = taprio_get_time(q); now 980 net/sched/sch_taprio.c if (ktime_after(base, now)) { now 998 net/sched/sch_taprio.c n = div64_s64(ktime_sub_ns(now, base), cycle); now 217 net/sched/sch_tbf.c s64 now; now 222 net/sched/sch_tbf.c now = ktime_get_ns(); now 223 net/sched/sch_tbf.c toks = min_t(s64, now - q->t_c, q->buffer); now 241 net/sched/sch_tbf.c q->t_c = now; now 251 net/sched/sch_tbf.c now + max_t(long, -toks, -ptoks)); now 193 net/sunrpc/auth_gss/auth_gss.c unsigned long now = jiffies; now 206 net/sunrpc/auth_gss/auth_gss.c ctx->gc_expiry = now + ((unsigned long)timeout * HZ); now 257 net/sunrpc/auth_gss/auth_gss.c trace_rpcgss_context(ctx->gc_expiry, now, timeout, now 1624 net/sunrpc/auth_gss/auth_gss.c unsigned long now = jiffies; now 1632 net/sunrpc/auth_gss/auth_gss.c if (time_in_range_open(now, begin, expire)) now 134 net/sunrpc/auth_gss/gss_krb5_seal.c s32 now; now 141 net/sunrpc/auth_gss/gss_krb5_seal.c now = get_seconds(); now 162 net/sunrpc/auth_gss/gss_krb5_seal.c return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; now 173 net/sunrpc/auth_gss/gss_krb5_seal.c s32 now; now 201 net/sunrpc/auth_gss/gss_krb5_seal.c now = get_seconds(); now 203 net/sunrpc/auth_gss/gss_krb5_seal.c return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; now 82 net/sunrpc/auth_gss/gss_krb5_unseal.c s32 now; now 127 net/sunrpc/auth_gss/gss_krb5_unseal.c now = get_seconds(); now 129 net/sunrpc/auth_gss/gss_krb5_unseal.c if (now > ctx->endtime) now 152 net/sunrpc/auth_gss/gss_krb5_unseal.c s32 now; now 197 net/sunrpc/auth_gss/gss_krb5_unseal.c now = get_seconds(); now 198 net/sunrpc/auth_gss/gss_krb5_unseal.c if (now > ctx->endtime) now 166 net/sunrpc/auth_gss/gss_krb5_wrap.c s32 now; now 175 net/sunrpc/auth_gss/gss_krb5_wrap.c now = get_seconds(); now 260 net/sunrpc/auth_gss/gss_krb5_wrap.c return (kctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; now 273 net/sunrpc/auth_gss/gss_krb5_wrap.c s32 now; now 366 net/sunrpc/auth_gss/gss_krb5_wrap.c now = get_seconds(); now 368 net/sunrpc/auth_gss/gss_krb5_wrap.c if (now > kctx->endtime) now 450 net/sunrpc/auth_gss/gss_krb5_wrap.c s32 now; now 492 net/sunrpc/auth_gss/gss_krb5_wrap.c now = get_seconds(); now 493 net/sunrpc/auth_gss/gss_krb5_wrap.c return (kctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; now 501 net/sunrpc/auth_gss/gss_krb5_wrap.c s32 now; now 570 net/sunrpc/auth_gss/gss_krb5_wrap.c now = get_seconds(); now 571 net/sunrpc/auth_gss/gss_krb5_wrap.c if (now > kctx->endtime) now 45 net/sunrpc/cache.c time_t now = seconds_since_boot(); now 49 net/sunrpc/cache.c h->expiry_time = now + CACHE_NEW_EXPIRY; now 50 net/sunrpc/cache.c if (now <= detail->flush_time) now 52 net/sunrpc/cache.c now = detail->flush_time + 1; now 53 net/sunrpc/cache.c h->last_refresh = now; now 145 net/sunrpc/cache.c time_t now = seconds_since_boot(); now 146 net/sunrpc/cache.c if (now <= detail->flush_time) now 148 net/sunrpc/cache.c now = detail->flush_time + 1; now 150 net/sunrpc/cache.c head->last_refresh = now; now 1491 net/sunrpc/cache.c time_t now; now 1506 net/sunrpc/cache.c now = seconds_since_boot(); now 1514 net/sunrpc/cache.c if (cd->flush_time >= now) now 1515 net/sunrpc/cache.c now = cd->flush_time + 1; now 1517 net/sunrpc/cache.c cd->flush_time = now; now 1518 net/sunrpc/cache.c cd->nextcheck = now; now 70 net/sunrpc/sched.c unsigned long now = jiffies; now 71 net/sunrpc/sched.c if (time_before(now, timeout)) now 72 net/sunrpc/sched.c return timeout - now; now 98 net/sunrpc/sched.c unsigned long now = jiffies; now 100 net/sunrpc/sched.c if (time_before_eq(expires, now)) now 103 net/sunrpc/sched.c expires -= now; now 759 net/sunrpc/sched.c unsigned long expires, now, timeo; now 762 net/sunrpc/sched.c expires = now = jiffies; now 765 net/sunrpc/sched.c if (time_after_eq(now, timeo)) { now 771 net/sunrpc/sched.c if (expires == now || time_after(expires, timeo)) now 154 net/sunrpc/stats.c ktime_t backlog, execute, now; now 159 net/sunrpc/stats.c now = ktime_get(); now 178 net/sunrpc/stats.c execute = ktime_sub(now, task->tk_start); now 863 net/sunrpc/xprt.c unsigned long start, now = jiffies; now 866 net/sunrpc/xprt.c if (time_after(start, now)) now 867 net/sunrpc/xprt.c return start - now; now 922 net/wireless/scan.c unsigned long now = jiffies; now 944 net/wireless/scan.c if (time_after(now, bss->ts + IEEE80211_SCAN_RESULT_EXPIRE) && now 313 net/xfrm/xfrm_policy.c time64_t now = ktime_get_real_seconds(); now 327 net/xfrm/xfrm_policy.c xp->curlft.add_time - now; now 335 net/xfrm/xfrm_policy.c (xp->curlft.use_time ? : xp->curlft.add_time) - now; now 343 net/xfrm/xfrm_policy.c xp->curlft.add_time - now; now 353 net/xfrm/xfrm_policy.c (xp->curlft.use_time ? : xp->curlft.add_time) - now; now 2539 net/xfrm/xfrm_policy.c unsigned long now = jiffies; now 2611 net/xfrm/xfrm_policy.c dst1->lastuse = now; now 525 net/xfrm/xfrm_state.c time64_t now = ktime_get_real_seconds(); now 537 net/xfrm/xfrm_state.c x->curlft.add_time - now; now 544 net/xfrm/xfrm_state.c x->curlft.add_time = now - x->saved_tmo - 1; now 554 net/xfrm/xfrm_state.c (x->curlft.use_time ? : now) - now; now 564 net/xfrm/xfrm_state.c x->curlft.add_time - now; now 576 net/xfrm/xfrm_state.c (x->curlft.use_time ? : now) - now; now 31 samples/bpf/tcp_dumpstats_kern.c __u64 now; now 52 samples/bpf/tcp_dumpstats_kern.c now = bpf_ktime_get_ns(); now 53 samples/bpf/tcp_dumpstats_kern.c if (now < *next_dump) now 60 samples/bpf/tcp_dumpstats_kern.c *next_dump = now + INTERVAL; now 140 samples/bpf/xdpsock_user.c unsigned long now = get_nsecs(); now 141 samples/bpf/xdpsock_user.c long dt = now - prev_time; now 144 samples/bpf/xdpsock_user.c prev_time = now; now 62 samples/kprobes/kretprobe_example.c ktime_t now; now 64 samples/kprobes/kretprobe_example.c now = ktime_get(); now 65 samples/kprobes/kretprobe_example.c delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); now 516 scripts/kconfig/conf.c struct timeval now; now 524 scripts/kconfig/conf.c gettimeofday(&now, NULL); now 525 scripts/kconfig/conf.c seed = (unsigned int)((now.tv_sec + 1) * (now.tv_usec + 1)); now 54 security/keys/gc.c time64_t now = ktime_get_real_seconds(); now 56 security/keys/gc.c kenter("%lld", gc_at - now); now 58 security/keys/gc.c if (gc_at <= now || test_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) { now 64 security/keys/gc.c expires = jiffies + (gc_at - now) * HZ; now 136 security/keys/internal.h time64_t now; now 600 security/keys/keyring.c if (expiry && ctx->now >= expiry) { now 856 security/keys/keyring.c key->last_used_at = ctx->now; now 857 security/keys/keyring.c keyring->last_used_at = ctx->now; now 859 security/keys/keyring.c stack[--sp].keyring->last_used_at = ctx->now; now 921 security/keys/keyring.c ctx->now = ktime_get_real_seconds(); now 159 security/keys/proc.c time64_t now, expiry; now 195 security/keys/proc.c now = ktime_get_real_seconds(); now 203 security/keys/proc.c } else if (now >= expiry) { now 206 security/keys/proc.c timo = expiry - now; now 87 sound/firewire/lib.c u64 now, delay; now 89 sound/firewire/lib.c now = get_jiffies_64(); now 93 sound/firewire/lib.c if (time_after64(delay, now)) now 94 sound/firewire/lib.c delay -= now; now 354 sound/soc/meson/axg-spdifout.c enum snd_soc_bias_level now = now 360 sound/soc/meson/axg-spdifout.c if (now == SND_SOC_BIAS_STANDBY) now 365 sound/soc/meson/axg-spdifout.c if (now == SND_SOC_BIAS_PREPARE) now 439 sound/soc/meson/axg-tdm-interface.c enum snd_soc_bias_level now = now 445 sound/soc/meson/axg-tdm-interface.c if (now == SND_SOC_BIAS_STANDBY) now 450 sound/soc/meson/axg-tdm-interface.c if (now == SND_SOC_BIAS_PREPARE) now 681 sound/usb/usx2y/usb_stream.c int now; now 685 sound/usb/usx2y/usb_stream.c now = usb_get_current_frame_number(dev); now 687 sound/usb/usx2y/usb_stream.c } while (now > -1 && now == frame); now 832 tools/firewire/nosy-dump.c struct timeval now; now 846 tools/firewire/nosy-dump.c gettimeofday(&now, NULL); now 847 tools/firewire/nosy-dump.c if (now.tv_sec <= last_update.tv_sec && now 848 tools/firewire/nosy-dump.c now.tv_usec < last_update.tv_usec + 500000) now 851 tools/firewire/nosy-dump.c last_update = now; now 133 tools/perf/arch/x86/tests/rdpmc.c u64 stamp, now, delta; now 140 tools/perf/arch/x86/tests/rdpmc.c now = mmap_read_self(addr); now 143 tools/perf/arch/x86/tests/rdpmc.c delta = now - stamp; now 23 tools/perf/tests/switch-tracking.c struct timeval start, now, diff, maxtime; now 39 tools/perf/tests/switch-tracking.c err = gettimeofday(&now, NULL); now 43 tools/perf/tests/switch-tracking.c timersub(&now, &start, &diff); now 35 tools/power/cpupower/bench/benchmark.c long long now, then; now 44 tools/power/cpupower/bench/benchmark.c now = get_time(); now 48 tools/power/cpupower/bench/benchmark.c timed = (unsigned int)(then - now); now 55 tools/power/cpupower/bench/benchmark.c now = get_time(); now 59 tools/power/cpupower/bench/benchmark.c timed = (unsigned int)(then - now); now 81 tools/power/cpupower/bench/benchmark.c long long now, then; now 126 tools/power/cpupower/bench/benchmark.c now = get_time(); now 130 tools/power/cpupower/bench/benchmark.c performance_time += then - now - sleep_time; now 135 tools/power/cpupower/bench/benchmark.c (long)(then - now), sleep_time, now 152 tools/power/cpupower/bench/benchmark.c now = get_time(); now 156 tools/power/cpupower/bench/benchmark.c powersave_time += then - now - sleep_time; now 161 tools/power/cpupower/bench/benchmark.c (long)(then - now), sleep_time, now 29 tools/power/cpupower/bench/system.c struct timeval now; now 31 tools/power/cpupower/bench/system.c gettimeofday(&now, NULL); now 33 tools/power/cpupower/bench/system.c return (long long int)(now.tv_sec * 1000000LL + now.tv_usec); now 56 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c u32 now, then, diff; now 88 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c now = read_pmtmr(); now 90 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c diff = (now - then) & 0xFFFFFF; now 92 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_tsc); now 93 tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c then = now; now 29 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c time_t now, load_time; now 45 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c now = time(NULL); now 117 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c load_time < now - 60 || load_time > now + 60 || now 132 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c load_time, now, now 33 tools/testing/selftests/bpf/progs/test_tc_edt.c uint64_t now = bpf_ktime_get_ns(); now 40 tools/testing/selftests/bpf/progs/test_tc_edt.c if (tstamp < now) now 41 tools/testing/selftests/bpf/progs/test_tc_edt.c tstamp = now; now 51 tools/testing/selftests/bpf/progs/test_tc_edt.c if (next_tstamp - now >= TIME_HORIZON_NS) now 55 tools/testing/selftests/bpf/progs/test_tc_edt.c if (next_tstamp - now >= ECN_HORIZON_NS) now 106 tools/testing/selftests/net/nettest.c time_t now; now 108 tools/testing/selftests/net/nettest.c now = time(NULL); now 109 tools/testing/selftests/net/nettest.c if (strftime(timebuf, buflen, "%T", localtime(&now)) == 0) { now 120 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval now; now 125 tools/testing/selftests/networking/timestamping/timestamping.c gettimeofday(&now, 0); now 130 tools/testing/selftests/networking/timestamping/timestamping.c (long)now.tv_sec, (long)now.tv_usec, now 143 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval now; now 145 tools/testing/selftests/networking/timestamping/timestamping.c gettimeofday(&now, 0); now 148 tools/testing/selftests/networking/timestamping/timestamping.c (long)now.tv_sec, (long)now.tv_usec, now 459 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval now; now 465 tools/testing/selftests/networking/timestamping/timestamping.c gettimeofday(&now, 0); now 466 tools/testing/selftests/networking/timestamping/timestamping.c delta_us = (long)(next.tv_sec - now.tv_sec) * 1000000 + now 467 tools/testing/selftests/networking/timestamping/timestamping.c (long)(next.tv_usec - now.tv_usec); now 478 tools/testing/selftests/networking/timestamping/timestamping.c (long)now.tv_sec, (long)now.tv_usec, now 481 tools/testing/selftests/networking/timestamping/timestamping.c gettimeofday(&now, 0); now 483 tools/testing/selftests/networking/timestamping/timestamping.c (long)now.tv_sec, (long)now.tv_usec, now 49 tools/testing/selftests/powerpc/mm/tlbie_test.c time_t now; now 50 tools/testing/selftests/powerpc/mm/tlbie_test.c time(&now); now 53 tools/testing/selftests/powerpc/mm/tlbie_test.c printf(" %s", ctime(&now)); now 617 tools/testing/selftests/powerpc/mm/tlbie_test.c time_t now; now 681 tools/testing/selftests/powerpc/mm/tlbie_test.c time(&now); now 684 tools/testing/selftests/powerpc/mm/tlbie_test.c printf(" %s", ctime(&now)); now 725 tools/testing/selftests/powerpc/mm/tlbie_test.c time(&now); now 728 tools/testing/selftests/powerpc/mm/tlbie_test.c printf(" %s", ctime(&now)); now 67 tools/testing/selftests/powerpc/tm/tm-syscall.c struct timeval end, now; now 76 tools/testing/selftests/powerpc/tm/tm-syscall.c now.tv_sec = TEST_DURATION; now 77 tools/testing/selftests/powerpc/tm/tm-syscall.c now.tv_usec = 0; now 78 tools/testing/selftests/powerpc/tm/tm-syscall.c timeradd(&end, &now, &end); now 80 tools/testing/selftests/powerpc/tm/tm-syscall.c for (count = 0; timercmp(&now, &end, <); count++) { now 94 tools/testing/selftests/powerpc/tm/tm-syscall.c gettimeofday(&now, 0); now 98 tools/testing/selftests/timers/inconsistency-check.c long now, then; now 103 tools/testing/selftests/timers/inconsistency-check.c now = then = list[0].tv_sec; now 109 tools/testing/selftests/timers/inconsistency-check.c while (seconds == -1 || now - then < seconds) { now 146 tools/testing/selftests/timers/inconsistency-check.c now = list[0].tv_sec; now 162 tools/testing/selftests/timers/leap-a-day.c struct timespec now, target; now 164 tools/testing/selftests/timers/leap-a-day.c clock_gettime(CLOCK_REALTIME, &now); now 165 tools/testing/selftests/timers/leap-a-day.c target = timespec_add(now, NSEC_PER_SEC/2); now 167 tools/testing/selftests/timers/leap-a-day.c clock_gettime(CLOCK_REALTIME, &now); now 169 tools/testing/selftests/timers/leap-a-day.c if (!in_order(target, now)) { now 240 tools/testing/selftests/timers/leap-a-day.c time_t now; now 328 tools/testing/selftests/timers/leap-a-day.c now = tx.time.tv_sec; now 329 tools/testing/selftests/timers/leap-a-day.c while (now < next_leap + 2) { now 353 tools/testing/selftests/timers/leap-a-day.c now = tx.time.tv_sec; now 63 tools/testing/selftests/timers/mqueue-lat.c struct timespec start, end, now, target; now 80 tools/testing/selftests/timers/mqueue-lat.c clock_gettime(CLOCK_REALTIME, &now); now 81 tools/testing/selftests/timers/mqueue-lat.c target = now; now 82 tools/testing/selftests/timers/mqueue-lat.c target = timespec_add(now, TARGET_TIMEOUT); /* 100ms */ now 103 tools/testing/selftests/timers/nanosleep.c struct timespec now, target, rel; now 106 tools/testing/selftests/timers/nanosleep.c if (clock_gettime(clockid, &now)) now 108 tools/testing/selftests/timers/nanosleep.c target = timespec_add(now, ns); now 112 tools/testing/selftests/timers/nanosleep.c clock_gettime(clockid, &now); now 114 tools/testing/selftests/timers/nanosleep.c if (!in_order(target, now)) now 118 tools/testing/selftests/timers/nanosleep.c clock_gettime(clockid, &now); now 122 tools/testing/selftests/timers/nanosleep.c target = timespec_add(now, ns); now 124 tools/testing/selftests/timers/nanosleep.c clock_gettime(clockid, &now); now 126 tools/testing/selftests/timers/nanosleep.c if (!in_order(target, now)) now 50 tools/testing/selftests/timers/set-2038.c struct timeval now; now 53 tools/testing/selftests/timers/set-2038.c now.tv_sec = (time_t)time; now 54 tools/testing/selftests/timers/set-2038.c now.tv_usec = 0; now 56 tools/testing/selftests/timers/set-2038.c ret = settimeofday(&now, NULL); now 123 tools/testing/selftests/timers/threadtest.c time_t start, now, runtime; now 172 tools/testing/selftests/timers/threadtest.c while (time(&now) < start + runtime) { now 176 tools/testing/selftests/timers/threadtest.c strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&now)); now 937 tools/vm/page-types.c long now = time(NULL); now 947 tools/vm/page-types.c mtime, now - st->st_mtime, now 948 tools/vm/page-types.c atime, now - st->st_atime); now 125 virt/kvm/arm/arch_timer.c u64 cval, now; now 128 virt/kvm/arm/arch_timer.c now = kvm_phys_timer_read() - timer_ctx->cntvoff; now 130 virt/kvm/arm/arch_timer.c if (now < cval) { now 134 virt/kvm/arm/arch_timer.c cval - now, now 228 virt/kvm/arm/arch_timer.c u64 cval, now; now 260 virt/kvm/arm/arch_timer.c now = kvm_phys_timer_read() - timer_ctx->cntvoff; now 262 virt/kvm/arm/arch_timer.c return cval <= now; now 223 virt/kvm/arm/trace.h TP_PROTO(unsigned long vcpu_pc, bool was, bool now), now 224 virt/kvm/arm/trace.h TP_ARGS(vcpu_pc, was, now), now 229 virt/kvm/arm/trace.h __field( bool, now ) now 235 virt/kvm/arm/trace.h __entry->now = now; now 240 virt/kvm/arm/trace.h __entry->now ? "on" : "off")