Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 7 of 7) sorted by relevance

/kernel/time/
Dntp.c273 static inline s64 ntp_update_offset_fll(s64 offset64, long secs) in ntp_update_offset_fll() argument
277 if (secs < MINSEC) in ntp_update_offset_fll()
280 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll()
285 return div64_long(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); in ntp_update_offset_fll()
292 long secs; in ntp_update_offset() local
311 secs = get_seconds() - time_reftime; in ntp_update_offset()
313 secs = 0; in ntp_update_offset()
318 freq_adj = ntp_update_offset_fll(offset64, secs); in ntp_update_offset()
325 if (unlikely(secs > 1 << (SHIFT_PLL + 1 + time_constant))) in ntp_update_offset()
326 secs = 1 << (SHIFT_PLL + 1 + time_constant); in ntp_update_offset()
[all …]
Dntp_internal.h8 extern int second_overflow(unsigned long secs);
Dtimekeeping.c336 s64 secs, nsecs; in ktime_get() local
342 secs = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in ktime_get()
350 return ktime_add_ns(ktime_set(secs, 0), nsecs); in ktime_get()
1606 u64 secs, nsecs; in ktime_get_update_offsets() local
1611 secs = tk->xtime_sec; in ktime_get_update_offsets()
1619 now = ktime_add_ns(ktime_set(secs, 0), nsecs); in ktime_get_update_offsets()
/kernel/trace/
Dtrace_mmiotrace.c181 unsigned secs = (unsigned long)t; in mmio_print_rw() local
191 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw()
198 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw()
206 secs, usec_rem, rw->map_id, in mmio_print_rw()
228 unsigned secs = (unsigned long)t; in mmio_print_map() local
238 secs, usec_rem, m->map_id, in mmio_print_map()
245 secs, usec_rem, m->map_id, 0UL, 0); in mmio_print_map()
264 unsigned secs = (unsigned long)t; in mmio_print_mark() local
268 ret = trace_seq_printf(s, "MARK %u.%06lu %s", secs, usec_rem, msg); in mmio_print_mark()
Dtrace_output.c702 unsigned long secs, usec_rem; local
736 secs = (unsigned long)t;
737 return trace_seq_printf(s, " %5lu.%06lu: ", secs, usec_rem);
Dblktrace.c1132 unsigned secs = (unsigned long)ts; in blk_log_action_classic() local
1140 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
/kernel/
Drcupdate.c408 unsigned long secs, in do_trace_rcu_torture_read() argument
411 trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c); in do_trace_rcu_torture_read()
415 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument