Searched refs:now (Results 101 - 125 of 658) sorted by relevance

1234567891011>>

/linux-master/net/atm/
H A Dmpoa_caches.c229 time64_t now; local
231 now = ktime_get_seconds();
238 if ((now - entry->time) > entry->ctrl_info.holding_time) {
254 time64_t now; local
257 now = ktime_get_seconds();
264 if ((now - entry->hold_down)
269 if ((now - entry->reply_wait) > entry->retry_time) {
301 time64_t now; local
305 now = ktime_get_seconds();
312 if ((now
503 time64_t now; local
[all...]
/linux-master/net/dccp/ccids/
H A Dccid2.c165 /* if we were blocked before, we may now send cwnd=1 packet */
198 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) argument
211 hc->tx_cwnd_stamp = now;
217 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) argument
222 s32 delta = now - hc->tx_lsndtime;
232 hc->tx_cwnd_stamp = now;
242 const u32 now = ccid2_jiffies32; local
247 (s32)(now - hc->tx_lsndtime) >= hc->tx_rto)
248 ccid2_cwnd_restart(sk, now);
250 hc->tx_lsndtime = now;
[all...]
/linux-master/drivers/clk/meson/
H A Dclk-pll.c122 unsigned long now,
127 if (abs(now - rate) < abs(best - rate))
131 if (now <= rate && best < now)
220 unsigned long best = 0, now = 0; local
230 now = __pll_params_to_rate(parent_rate, m, n, 0, pll);
231 if (meson_clk_pll_is_better(rate, best, now, pll)) {
232 best = now;
236 if (now == rate)
282 /* Is the clock locked now
120 meson_clk_pll_is_better(unsigned long rate, unsigned long best, unsigned long now, struct meson_clk_pll_data *pll) argument
[all...]
/linux-master/net/ipv4/
H A Dtcp_cubic.c146 u32 now = tcp_jiffies32; local
149 delta = now - tcp_sk(sk)->lsndtime;
156 if (after(ca->epoch_start, now))
157 ca->epoch_start = now;
396 u32 now = bictcp_clock_us(sk); local
399 if ((s32)(now - ca->last_ack) <= hystart_ack_delta_us) {
400 ca->last_ack = now;
412 if ((s32)(now - ca->round_start) > threshold) {
415 now - ca->round_start, threshold,
/linux-master/drivers/gpu/drm/lima/
H A Dlima_devfreq.c21 ktime_t now, last; local
23 now = ktime_get();
27 devfreq->busy_time += ktime_sub(now, last);
29 devfreq->idle_time += ktime_sub(now, last);
31 devfreq->time_last_update = now;
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_devfreq.c16 ktime_t now, last; local
18 now = ktime_get();
22 pfdevfreq->busy_time += ktime_sub(now, last);
24 pfdevfreq->idle_time += ktime_sub(now, last);
26 pfdevfreq->time_last_update = now;
/linux-master/drivers/s390/scsi/
H A Dzfcp_diag.c203 const unsigned long now = jiffies; variable
209 if (!time_after_eq(now, hdr->timestamp))
212 if (jiffies_to_msecs(now - hdr->timestamp) >= diag->max_age)
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.h29 * future_base_time = base_time + N x cycle_time >= now, or
31 * now - base_time
39 static inline s64 future_base_time(s64 base_time, s64 cycle_time, s64 now) argument
43 if (base_time >= now)
46 a = now - base_time;
/linux-master/drivers/clocksource/
H A Dtimer-imx-tpm.c86 unsigned long next, now; local
91 now = tpm_read_counter();
99 return (int)(next - now) <= 0 ? -ETIME : 0;
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py110 g_plot('set title "{} : cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now()))
131 g_plot('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now()))
148 g_plot('set title "{} : durations : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now()))
164 g_plot('set title "{} : loads : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now()))
181 g_plot('set title "{} : cpu pstate vs. sample : {:%F %H:%M}"'.format(testname, datetime.now()))
194 g_plot('set title "{} : cpu pstates : {:%F %H:%M}"'.format(testname, datetime.now()))
211 g_plot('set title "{} : cpu loads : {:%F %H:%M}"'.format(testname, datetime.now()))
225 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(testname, datetime.now()))
239 g_plot('set title "{} : cpu durations : {:%F %H:%M}"'.format(testname, datetime.now()))
253 g_plot('set title "{} : cpu scaled busy : {:%F %H:%M}"'.format(testname, datetime.now()))
[all...]
/linux-master/kernel/power/
H A Dsuspend_test.c73 time64_t now; local
84 now = rtc_tm_to_time64(&alm.time);
87 rtc_time64_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time);
188 /* PM is initialized by now; is that state testable? */
203 /* RTCs have initialized by now too ... can we use one? */
/linux-master/drivers/clk/sunxi-ng/
H A Dccu_mp.c49 unsigned long parent_rate, now; local
82 now = parent_rate / div;
84 if (now <= rate && now > best_rate) {
85 best_rate = now;
88 if (now == rate)
/linux-master/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py75 g_plot('set title "{} : frequency : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
91 g_plot('set title "{} : cpu des perf : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
107 g_plot('set title "{} : cpu load : CPU {:0>3} : {:%F %H:%M}"'.format(test_name, cpu_index, datetime.now()))
119 g_plot('set title "{} : cpu frequencies : {:%F %H:%M}"'.format(test_name, datetime.now()))
133 g_plot('set title "{} : cpu des perf : {:%F %H:%M}"'.format(test_name, datetime.now()))
148 g_plot('set title "{} : cpu load : {:%F %H:%M}"'.format(test_name, datetime.now()))
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dxapic_ipi_test.c258 time_t start_time, last_update, now; local
333 now = time(NULL);
334 if (((now - start_time) % interval_secs == 0) &&
335 (now != last_update)) {
336 last_update = now;
340 now - start_time, data->migrations_attempted,
/linux-master/kernel/time/
H A Dhrtimer.c634 ktime_t now = ktime_get_update_offsets_now(&base->clock_was_set_seq, local
641 return now;
672 * T1 expires 50ms from now
673 * T2 expires 5s from now
676 * the hardware to 5s from now. Any hrtimer_start after that
1027 * @now: forward past this time
1043 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) argument
1048 delta = ktime_sub(now, hrtimer_get_expires(timer));
1064 if (hrtimer_get_expires_tv64(timer) > now)
1651 struct hrtimer *timer, ktime_t *now,
1724 __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now, unsigned long flags, unsigned int active_mask) argument
1767 ktime_t now; local
1791 ktime_t expires_next, now, entry_time, delta; local
1905 ktime_t now; local
[all...]
/linux-master/arch/mips/dec/
H A Dtime.c68 int update_persistent_clock64(struct timespec64 now) argument
70 time64_t nowtime = now.tv_sec;
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c48 time_t now; local
49 time(&now);
52 printf(" %s", ctime(&now));
616 time_t now; local
680 time(&now);
683 printf(" %s", ctime(&now));
724 time(&now);
727 printf(" %s", ctime(&now));
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c193 __u32 now = tcp_jiffies32; local
196 delta = now - tcp_sk(sk)->lsndtime;
203 if (after(ca->epoch_start, now))
204 ca->epoch_start = now;
454 __u32 now = bictcp_clock_us(sk); local
457 if ((__s32)(now - ca->last_ack) <= hystart_ack_delta_us) {
458 ca->last_ack = now;
470 if ((__s32)(now - ca->round_start) > threshold) {
/linux-master/drivers/devfreq/event/
H A Drockchip-dfi.c294 const struct dmc_count *now,
302 (u32)(now->c[i].read_access - last->c[i].read_access);
304 (u32)(now->c[i].write_access - last->c[i].write_access);
306 (u32)(now->c[i].access - last->c[i].access);
308 (u32)(now->c[i].clock_cycles - last->c[i].clock_cycles);
424 struct dmc_count total, now; local
429 rockchip_dfi_read_counters(dfi, &now);
433 rockchip_ddr_perf_counters_add(dfi, &now, &total);
483 u64 now; local
489 now
293 rockchip_ddr_perf_counters_add(struct rockchip_dfi *dfi, const struct dmc_count *now, struct dmc_count *res) argument
496 u64 now = rockchip_ddr_perf_event_get_count(event); local
539 struct dmc_count now, total; local
[all...]
/linux-master/arch/mips/sibyte/swarm/
H A Dsetup.c99 int update_persistent_clock64(struct timespec64 now) argument
101 time64_t sec = now.tv_sec;
/linux-master/drivers/rtc/
H A Drtc-brcmstb-waketimer.c78 unsigned int now; local
86 now = readl_relaxed(timer->base + BRCMSTB_WKTMR_COUNTER);
88 while ((int)(secs - now) <= 0 &&
90 secs = now + 1;
92 now = readl_relaxed(timer->base + BRCMSTB_WKTMR_COUNTER);
191 struct wktmr_time now; local
193 wktmr_read(timer, &now);
195 rtc_time64_to_tm(now.sec, tm);
/linux-master/arch/x86/include/asm/
H A Dx86_init.h337 extern int set_rtc_noop(const struct timespec64 *now);
338 extern void get_rtc_noop(struct timespec64 *now);
/linux-master/net/rxrpc/
H A Dconn_object.c385 unsigned long expire_at, earliest, idle_timestamp, now; local
392 now = jiffies;
393 earliest = now + MAX_JIFFY_OFFSET;
411 (long)expire_at - (long)now);
413 if (time_before(now, expire_at)) {
437 if (earliest != now + MAX_JIFFY_OFFSET) {
438 _debug("reschedule reaper %ld", (long)earliest - (long)now);
439 ASSERT(time_after(earliest, now));
/linux-master/net/sched/
H A Dsch_fq.c310 u64 now)
315 if (fq_skb_cb(skb)->time_to_send > now)
346 u64 now)
384 if (fq_fastpath_check(sch, skb, now)) {
525 const struct fq_sched_data *q, u64 now)
527 return unlikely((s64)skb->tstamp > (s64)(now + q->horizon));
535 u64 now; local
544 now = ktime_get_ns();
546 fq_skb_cb(skb)->time_to_send = now;
549 if (fq_packet_beyond_horizon(skb, q, now)) {
309 fq_fastpath_check(const struct Qdisc *sch, struct sk_buff *skb, u64 now) argument
345 fq_classify(struct Qdisc *sch, struct sk_buff *skb, u64 now) argument
524 fq_packet_beyond_horizon(const struct sk_buff *skb, const struct fq_sched_data *q, u64 now) argument
591 fq_check_throttled(struct fq_sched_data *q, u64 now) argument
639 u64 now; local
[all...]
/linux-master/drivers/thermal/
H A Dthermal_debugfs.c431 ktime_t now = ktime_get(); local
432 ktime_t delta = ktime_sub(now, cdev_dbg->timestamp);
434 cdev_dbg->timestamp = now;
532 ktime_t now)
542 tze->timestamp = now;
560 ktime_t now = ktime_get(); local
603 tze = thermal_debugfs_tz_event_alloc(tz, now);
626 tze->trip_stats[trip_id].timestamp = now;
644 ktime_t delta, now = ktime_get(); local
680 delta = ktime_sub(now, tz
531 thermal_debugfs_tz_event_alloc(struct thermal_zone_device *tz, ktime_t now) argument
[all...]

Completed in 564 milliseconds

1234567891011>>