/kernel/time/ |
D | time_test.c | 67 time64_t secs; in time64_to_tm_test_date_range() local 70 for (secs = -total_secs; secs <= total_secs; secs += 86400) { in time64_to_tm_test_date_range() 72 time64_to_tm(secs, 0, &result); in time64_to_tm_test_date_range() 74 days = div_s64(secs, 86400); in time64_to_tm_test_date_range()
|
D | ntp.c | 281 static inline s64 ntp_update_offset_fll(s64 offset64, long secs) in ntp_update_offset_fll() argument 285 if (secs < MINSEC) in ntp_update_offset_fll() 288 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll() 293 return div64_long(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); in ntp_update_offset_fll() 300 long secs; in ntp_update_offset() local 321 secs = (long)(__ktime_get_real_seconds() - time_reftime); in ntp_update_offset() 323 secs = 0; in ntp_update_offset() 328 freq_adj = ntp_update_offset_fll(offset64, secs); in ntp_update_offset() 335 if (unlikely(secs > 1 << (SHIFT_PLL + 1 + time_constant))) in ntp_update_offset() 336 secs = 1 << (SHIFT_PLL + 1 + time_constant); in ntp_update_offset() [all …]
|
D | ntp_internal.h | 10 extern int second_overflow(time64_t secs);
|
/kernel/trace/ |
D | trace_mmiotrace.c | 173 unsigned secs = (unsigned long)t; in mmio_print_rw() local 182 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw() 189 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw() 197 secs, usec_rem, rw->map_id, in mmio_print_rw() 218 unsigned secs = (unsigned long)t; in mmio_print_map() local 227 secs, usec_rem, m->map_id, in mmio_print_map() 234 secs, usec_rem, m->map_id, 0UL, 0); in mmio_print_map() 252 unsigned secs = (unsigned long)t; in mmio_print_mark() local 255 trace_seq_printf(s, "MARK %u.%06lu %s", secs, usec_rem, msg); in mmio_print_mark()
|
D | trace_output.c | 593 unsigned long secs, usec_rem; in trace_print_time() local 599 secs = (unsigned long)t; in trace_print_time() 600 trace_seq_printf(s, " %5lu.%06lu", secs, usec_rem); in trace_print_time()
|
D | blktrace.c | 1254 unsigned secs = (unsigned long)ts; in blk_log_action_classic() local 1262 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
|
/kernel/rcu/ |
D | rcu.h | 496 unsigned long secs, 510 unsigned long secs, 514 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
|
D | update.c | 586 unsigned long secs, in do_trace_rcu_torture_read() argument 589 trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c); in do_trace_rcu_torture_read() 593 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
|
/kernel/bpf/ |
D | btf.c | 4823 struct btf_sec_info secs[ARRAY_SIZE(btf_sec_info_offset)]; in btf_check_sec_info() local 4833 secs[i] = *(struct btf_sec_info *)((void *)hdr + in btf_check_sec_info() 4836 sort(secs, ARRAY_SIZE(btf_sec_info_offset), in btf_check_sec_info() 4843 if (expected_total < secs[i].off) { in btf_check_sec_info() 4847 if (total < secs[i].off) { in btf_check_sec_info() 4852 if (total > secs[i].off) { in btf_check_sec_info() 4856 if (expected_total - total < secs[i].len) { in btf_check_sec_info() 4861 total += secs[i].len; in btf_check_sec_info()
|