Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 155) sorted by relevance

1234567

/linux-4.19.296/include/trace/events/
Dalarmtimer.h47 TP_PROTO(struct alarm *alarm, ktime_t now),
49 TP_ARGS(alarm, now),
55 __field(s64, now)
62 __entry->now = now;
69 __entry->now
75 TP_PROTO(struct alarm *alarm, ktime_t now),
77 TP_ARGS(alarm, now)
82 TP_PROTO(struct alarm *alarm, ktime_t now),
84 TP_ARGS(alarm, now)
89 TP_PROTO(struct alarm *alarm, ktime_t now),
[all …]
Dtimer.h64 __field( unsigned long, now )
72 __entry->now = jiffies;
78 (long)__entry->expires - __entry->now,
98 __field( unsigned long, now )
104 __entry->now = jiffies;
108 TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now)
230 TP_PROTO(struct hrtimer *hrtimer, ktime_t *now),
232 TP_ARGS(hrtimer, now),
236 __field( s64, now )
242 __entry->now = *now;
[all …]
/linux-4.19.296/include/net/
Dcodel_impl.h108 codel_time_t now) in codel_should_drop() argument
119 vars->ldelay = now - skb_time_func(skb); in codel_should_drop()
135 vars->first_above_time = now + params->interval; in codel_should_drop()
136 } else if (codel_time_after(now, vars->first_above_time)) { in codel_should_drop()
153 codel_time_t now; in codel_dequeue() local
160 now = codel_get_time(); in codel_dequeue()
162 skb_len_func, skb_time_func, backlog, now); in codel_dequeue()
167 } else if (codel_time_after_eq(now, vars->drop_next)) { in codel_dequeue()
177 codel_time_after_eq(now, vars->drop_next)) { in codel_dequeue()
198 backlog, now)) { in codel_dequeue()
[all …]
Dbusy_poll.h90 unsigned long now = busy_loop_current_time(); in busy_loop_timeout() local
92 return time_after(now, end_time); in busy_loop_timeout()
106 unsigned long now = busy_loop_current_time(); in sk_busy_loop_timeout() local
108 return time_after(now, end_time); in sk_busy_loop_timeout()
Darp.h57 unsigned long now = jiffies; in __ipv4_confirm_neigh() local
60 if (n->confirmed != now) in __ipv4_confirm_neigh()
61 n->confirmed = now; in __ipv4_confirm_neigh()
/linux-4.19.296/drivers/rtc/
Dinterface.c223 struct rtc_time before, now; in __rtc_read_alarm() local
276 memcpy(&before, &now, sizeof(struct rtc_time)); in __rtc_read_alarm()
291 err = rtc_read_time(rtc, &now); in __rtc_read_alarm()
296 } while ( before.tm_min != now.tm_min in __rtc_read_alarm()
297 || before.tm_hour != now.tm_hour in __rtc_read_alarm()
298 || before.tm_mon != now.tm_mon in __rtc_read_alarm()
299 || before.tm_year != now.tm_year); in __rtc_read_alarm()
305 alarm->time.tm_sec = now.tm_sec; in __rtc_read_alarm()
307 alarm->time.tm_min = now.tm_min; in __rtc_read_alarm()
309 alarm->time.tm_hour = now.tm_hour; in __rtc_read_alarm()
[all …]
Drtc-ps3.c49 unsigned long now; in ps3_set_time() local
51 rtc_tm_to_time(tm, &now); in ps3_set_time()
52 ps3_os_area_set_rtc_diff(now - read_rtc()); in ps3_set_time()
Drtc-digicolor.c98 unsigned long now; in dc_rtc_read_time() local
101 ret = dc_rtc_read(rtc, &now); in dc_rtc_read_time()
104 rtc_time64_to_tm(now, tm); in dc_rtc_read_time()
120 unsigned long now; in dc_rtc_read_alarm() local
127 ret = dc_rtc_read(rtc, &now); in dc_rtc_read_alarm()
131 alarm->pending = alarm_reg + reference > now; in dc_rtc_read_alarm()
Dsystohc.c26 int rtc_set_ntp_time(struct timespec64 now, unsigned long *target_nsec) in rtc_set_ntp_time() argument
53 ok = rtc_tv_nsec_ok(rtc->set_offset_nsec, &to_set, &now); in rtc_set_ntp_time()
/linux-4.19.296/include/linux/
Dtimekeeping32.h11 struct timespec64 now; in do_gettimeofday() local
13 ktime_get_real_ts64(&now); in do_gettimeofday()
14 tv->tv_sec = now.tv_sec; in do_gettimeofday()
15 tv->tv_usec = now.tv_nsec/1000; in do_gettimeofday()
109 extern int update_persistent_clock(struct timespec now);
Dalarmtimer.h44 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now);
58 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
/linux-4.19.296/block/
Dblk-iolatency.c450 struct bio_issue *issue, u64 now, in iolatency_record_time() argument
461 now = __bio_issue_time(now); in iolatency_record_time()
463 if (now <= start) in iolatency_record_time()
466 req_time = now - start; in iolatency_record_time()
475 blkcg_add_delay(lat_to_blkg(iolat), now, sub - req_time); in iolatency_record_time()
487 static void iolatency_check_latencies(struct iolatency_grp *iolat, u64 now) in iolatency_check_latencies() argument
535 if ((lat_info->last_scale_event >= now || in iolatency_check_latencies()
536 now - lat_info->last_scale_event < BLKIOLATENCY_MIN_ADJUST_TIME) && in iolatency_check_latencies()
543 lat_info->last_scale_event = now; in iolatency_check_latencies()
547 lat_info->last_scale_event = now; in iolatency_check_latencies()
[all …]
Dbfq-cgroup.c58 u64 now; in BFQG_FLAG_FNS() local
63 now = ktime_get_ns(); in BFQG_FLAG_FNS()
64 if (now > stats->start_group_wait_time) in BFQG_FLAG_FNS()
66 now - stats->start_group_wait_time); in BFQG_FLAG_FNS()
87 u64 now; in bfqg_stats_end_empty_time() local
92 now = ktime_get_ns(); in bfqg_stats_end_empty_time()
93 if (now > stats->start_empty_time) in bfqg_stats_end_empty_time()
95 now - stats->start_empty_time); in bfqg_stats_end_empty_time()
128 u64 now = ktime_get_ns(); in bfqg_stats_update_idle_time() local
130 if (now > stats->start_idle_time) in bfqg_stats_update_idle_time()
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_mru_cache.c128 unsigned long now) in _xfs_mru_cache_migrate() argument
139 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()
195 unsigned long now = jiffies; in _xfs_mru_cache_list_insert() local
202 if (!_xfs_mru_cache_migrate(mru, now)) { in _xfs_mru_cache_list_insert()
203 mru->time_zero = now; in _xfs_mru_cache_list_insert()
210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
270 unsigned long now, next; in _xfs_mru_cache_reap() local
282 now = jiffies; in _xfs_mru_cache_reap()
283 if (next <= now) in _xfs_mru_cache_reap()
286 next -= now; in _xfs_mru_cache_reap()
/linux-4.19.296/drivers/clk/rockchip/
Dclk-half-divider.c12 static bool _is_best_half_div(unsigned long rate, unsigned long now, in _is_best_half_div() argument
16 return abs(rate - now) < abs(rate - best); in _is_best_half_div()
18 return now <= rate && now > best; in _is_best_half_div()
39 unsigned long parent_rate, best = 0, now, maxdiv; in clk_half_divider_bestdiv() local
76 now = DIV_ROUND_UP_ULL(((u64)parent_rate * 2), in clk_half_divider_bestdiv()
79 if (_is_best_half_div(rate, now, best, flags)) { in clk_half_divider_bestdiv()
81 best = now; in clk_half_divider_bestdiv()
/linux-4.19.296/drivers/base/power/
Dwakeup.c615 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time() argument
617 ktime_t delta = ktime_sub(now, ws->start_prevent_time); in update_prevent_sleep_time()
622 ktime_t now) {} in update_prevent_sleep_time() argument
637 ktime_t now; in wakeup_source_deactivate() local
656 now = ktime_get(); in wakeup_source_deactivate()
657 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate()
662 ws->last_time = now; in wakeup_source_deactivate()
667 update_prevent_sleep_time(ws, now); in wakeup_source_deactivate()
966 ktime_t now = ktime_get(); in pm_wakep_autosleep_enabled() local
976 ws->start_prevent_time = now; in pm_wakep_autosleep_enabled()
[all …]
/linux-4.19.296/fs/afs/
Dcell.c373 time64_t now, expiry; in afs_update_cell() local
414 now = ktime_get_real_seconds(); in afs_update_cell()
415 afs_set_cell_timer(cell->net, cell->dns_expiry - now); in afs_update_cell()
477 time64_t now, expire_delay; in afs_put_cell() local
484 now = ktime_get_real_seconds(); in afs_put_cell()
485 cell->last_inactive = now; in afs_put_cell()
639 time64_t now = ktime_get_real_seconds(); in afs_manage_cell() local
640 if (cell->dns_expiry <= now && net->live) in afs_manage_cell()
706 time64_t now = ktime_get_real_seconds(), next_manage = TIME64_MAX; in afs_manage_cells() local
740 if (purging || expire_at <= now) in afs_manage_cells()
[all …]
/linux-4.19.296/virt/kvm/arm/
Dtrace.h222 TP_PROTO(unsigned long vcpu_pc, bool was, bool now),
223 TP_ARGS(vcpu_pc, was, now),
228 __field( bool, now )
234 __entry->now = now;
239 __entry->now ? "on" : "off")
/linux-4.19.296/fs/affs/
DChanges103 - The partition checker now also ignores the
114 It also marks the inode dirty now (which is not
207 they appear now as normal Unix links. They are
208 now resolved only once in lookup(). The backside
237 - Owner/Group defaults now to the fs user (i.e.
242 name buffer. It is now silently truncated to
253 - fsuser is now checked last.
262 - Extension block caches are now allocated on
272 - Hash chains are now sorted by block numbers.
280 - Errors and warnings are now reported via a
[all …]
/linux-4.19.296/fs/jffs2/
Ddir.c230 uint32_t now = JFFS2_NOW(); in jffs2_unlink() local
233 dentry->d_name.len, dead_f, now); in jffs2_unlink()
237 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink()
250 uint32_t now; in jffs2_link() local
263 now = JFFS2_NOW(); in jffs2_link()
264 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now in jffs2_link()
271 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link()
591 uint32_t now = JFFS2_NOW(); in jffs2_rmdir() local
603 dentry->d_name.len, f, now); in jffs2_rmdir()
605 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/linux-4.19.296/fs/nfs/
Dnfs4renewd.c62 unsigned long last, now; in nfs4_renew_state() local
74 now = jiffies; in nfs4_renew_state()
76 if (time_after(now, last + lease/3)) in nfs4_renew_state()
/linux-4.19.296/drivers/misc/ibmasm/
Dibmasm.h57 struct timespec64 now; in get_timestamp() local
59 ktime_get_real_ts64(&now); in get_timestamp()
60 sprintf(buf, "%llu.%.08lu", (long long)now.tv_sec, in get_timestamp()
61 now.tv_nsec / NSEC_PER_USEC); in get_timestamp()
/linux-4.19.296/fs/
Dattr.c233 struct timespec64 now; in notify_change() local
281 now = current_time(inode); in notify_change()
283 attr->ia_ctime = now; in notify_change()
285 attr->ia_atime = now; in notify_change()
287 attr->ia_mtime = now; in notify_change()
/linux-4.19.296/crypto/
Dxor.c71 unsigned long now, j; in do_xor_speed() local
88 while ((now = jiffies) == j) in do_xor_speed()
90 while (time_before(jiffies, now + 1)) { in do_xor_speed()
/linux-4.19.296/drivers/clk/meson/
Dsclk-div.c51 unsigned long maxdiv, now, parent_now; in sclk_div_bestdiv() local
78 now = DIV_ROUND_UP_ULL((u64)parent_now, i); in sclk_div_bestdiv()
80 if (abs(rate - now) < abs(rate - best)) { in sclk_div_bestdiv()
82 best = now; in sclk_div_bestdiv()

1234567