Searched refs:now (Results 226 - 250 of 658) sorted by relevance

1234567891011>>

/linux-master/net/sched/
H A Dsch_netem.c447 /* We don't fill cb now as skb_unshare() may invalidate it */
501 * do it now in software before we mangle it.
542 u64 now; local
548 now = ktime_get_ns();
576 * Last packet in queue is reference point (now),
580 delay -= last->time_to_send - now;
582 now = last->time_to_send;
588 cb->time_to_send = now + delay;
638 static void get_slot_next(struct netem_sched_data *q, u64 now) argument
652 q->slot.slot_next = now
701 u64 now = ktime_get_ns(); local
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_utils.h308 u64 now = local_clock(); \
317 if (now - base >= timeout) { \
325 timeout -= now - base; \
362 * CI results are now unreliable as the HW is very suspect.
/linux-master/arch/arc/kernel/
H A Dentry-arcv2.S175 ; IRQ shd definitely not happen between now and rtie
183 # But irq tracer needs to be told now...
204 ; task now returning to U mode (riding the Intr)
/linux-master/arch/sparc/lib/
H A DM7memset.S134 or %o1, %o3, %o1 ! now o1 has 2 bytes of c
138 or %o1, %o3, %o1 ! now o1 has 4 bytes of c
141 or %o1, %o3, %o1 ! now o1 has 8 bytes of c
162 bz,pt %xcc, .blkwr ! now block aligned
/linux-master/arch/arm/mach-omap2/
H A Dsleep24xx.S70 bic r4, r4, #0x40 @ now clear self refresh bit.
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dpriv.h67 int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent);
/linux-master/drivers/rtc/
H A Drtc-mcp795.c263 time64_t now; local
273 now = rtc_tm_to_time64(&now_tm);
275 if (later <= now)
278 if ((later - now) >=
H A Ddev.c294 time64_t now, then; local
299 now = rtc_tm_to_time64(&tm);
310 if (then < now) {
311 rtc_time64_to_tm(now + 24 * 60 * 60, &tm);
/linux-master/drivers/ptp/
H A Dptp_pch.c354 s64 now; local
360 now = pch_systime_read(regs);
361 now += delta;
362 pch_systime_write(regs, now);
/linux-master/drivers/md/
H A Ddm-ps-historical-service-time.c476 u64 now = ktime_get_ns(); local
485 pi->last_finish = now;
486 if (time_before64(now, start_time))
489 return now - start_time;
/linux-master/include/drm/
H A Ddrm_vblank.h240 ktime_t *now);
/linux-master/net/netfilter/ipvs/
H A Dip_vs_lblc.c261 unsigned long now = jiffies; local
269 if (time_before(now,
292 * The full expiration check is for this purpose now.
298 unsigned long now = jiffies; local
325 if (time_before(now, en->lastuse + ENTRY_TIMEOUT))
H A Dip_vs_est.c175 unsigned long now; local
202 now = jiffies;
203 gap = kd->est_timer - now;
206 kd->est_timer = now - IPVS_EST_TICK;
213 kd->est_timer = now;
246 unsigned long now; local
254 now = jiffies;
255 gap = kd->est_timer - now;
258 kd->est_timer = now;
534 /* On return, estimator can be freed, dequeue it now */
[all...]
/linux-master/net/netfilter/
H A Dnft_limit.c34 u64 now, tokens; local
38 now = ktime_get_ns();
39 tokens = priv->limit->tokens + now - priv->limit->last;
43 priv->limit->last = now;
/linux-master/tools/testing/selftests/net/
H A Dso_txtime.c251 uint64_t now; local
257 now = gettime_ns(CLOCK_REALTIME);
258 if (cfg_start_time_ns < now)
261 err = usleep((cfg_start_time_ns - now) / 1000);
/linux-master/drivers/thermal/
H A Dcpufreq_cooling.c174 u64 now, now_idle, delta_time, delta_idle; local
177 now_idle = get_cpu_idle_time(cpu, &now, 0);
179 delta_time = now - idle_time->timestamp;
187 idle_time->timestamp = now;
/linux-master/drivers/s390/scsi/
H A Dzfcp_qdio.c56 unsigned long long now, span; local
59 now = get_tod_clock_monotonic();
60 span = (now - qdio->req_q_time) >> 12;
63 qdio->req_q_time = now;
87 /* cleanup all SBALs being program-owned now */
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c202 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, argument
209 ts_reconstructed = (now & ~partial_tstamp_mask) | ts_partial;
215 if ((now & partial_tstamp_mask) <= ts_partial)
540 u64 now = 0; local
545 rc = __sja1105_ptp_gettimex(priv->ds, &now, ptp_sts);
546 *ts = ns_to_timespec64(now);
752 u64 now; local
771 rc = __sja1105_ptp_gettimex(priv->ds, &now, NULL);
776 now + 1ull * NSEC_PER_SEC);
/linux-master/drivers/media/rc/
H A Dati_remote.c456 unsigned long now = jiffies, reset_time; local
461 if (time_after(now, ati_remote->old_jiffies + reset_time)) {
462 ati_remote->acc_jiffies = now;
468 if (time_before(now, ati_remote->acc_jiffies + timeout))
565 unsigned long now = jiffies; local
569 time_before(now, ati_remote->old_jiffies +
574 ati_remote->first_jiffies = now;
577 ati_remote->old_jiffies = now;
585 time_before(now, ati_remote->first_jiffies +
/linux-master/drivers/comedi/drivers/
H A Dcomedi_test.c205 u64 now; local
209 now = ktime_to_us(ktime_get());
212 while (nsamples && devpriv->ai_convert_time < now) {
237 if (devpriv->ai_convert_time > now)
238 time_increment = devpriv->ai_convert_time - now;
452 u64 now; local
457 now = ktime_to_us(ktime_get());
458 scans_since = now - devpriv->ao_last_scan_time;
508 devpriv->ao_scan_period - now;
/linux-master/net/sunrpc/
H A Dcache.c47 time64_t now = seconds_since_boot(); local
51 h->expiry_time = now + CACHE_NEW_EXPIRY;
52 if (now <= detail->flush_time)
54 now = detail->flush_time + 1;
55 h->last_refresh = now;
164 time64_t now = seconds_since_boot(); local
165 if (now <= detail->flush_time)
167 now = detail->flush_time + 1;
169 head->last_refresh = now;
307 /* now se
1515 time64_t now; local
[all...]
/linux-master/drivers/input/joystick/
H A Danalog.c170 ktime_t time[4], start, loop, now; local
181 now = ktime_get();
184 start = now;
189 loop = now;
194 now = ktime_get();
197 if ((last ^ this) && (ktime_sub(now, loop) < loopout)) {
199 time[i] = now;
203 } while (this && (i < 4) && (ktime_sub(now, start) < timeout));
/linux-master/drivers/watchdog/
H A Dwatchdog_dev.c147 ktime_t earliest_keepalive, now; local
152 now = ktime_get();
154 if (ktime_after(earliest_keepalive, now)) {
156 ktime_sub(earliest_keepalive, now),
161 wd_data->last_hw_keepalive = now;
1091 /* Record time of most recent heartbeat as 'just before now'. */
1203 ktime_t now; local
1210 now = ktime_get();
1212 wd_data->last_hw_keepalive = ktime_sub(now, ms_to_ktime(last_ping_ms));
/linux-master/io_uring/
H A Dnapi.c110 unsigned long now = busy_loop_current_time(); local
112 return time_after(now, end_time);
/linux-master/kernel/
H A Dasync.c85 ktime_t now = ktime_get(); local
86 return ktime_to_ns(ktime_sub(now, start)) >> 10;

Completed in 347 milliseconds

1234567891011>>