| /linux-4.4.14/kernel/time/ |
| D | tick-sched.c | 52 static void tick_do_update_jiffies64(ktime_t now) in tick_do_update_jiffies64() argument 60 delta = ktime_sub(now, last_jiffies_update); in tick_do_update_jiffies64() 67 delta = ktime_sub(now, last_jiffies_update); in tick_do_update_jiffies64() 112 static void tick_sched_do_timer(ktime_t now) in tick_sched_do_timer() argument 131 tick_do_update_jiffies64(now); in tick_sched_do_timer() 423 static void tick_nohz_update_jiffies(ktime_t now) in tick_nohz_update_jiffies() argument 427 __this_cpu_write(tick_cpu_sched.idle_waketime, now); in tick_nohz_update_jiffies() 430 tick_do_update_jiffies64(now); in tick_nohz_update_jiffies() 440 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) in update_ts_time_stats() argument 445 delta = ktime_sub(now, ts->idle_entrytime); in update_ts_time_stats() [all …]
|
| D | timer_list.c | 27 u64 now; member 63 int idx, u64 now) in print_timer() argument 84 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer() 85 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer() 90 u64 now) in print_active_timers() argument 117 print_timer(m, timer, &tmp, i, now); in print_active_timers() 125 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() argument 140 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base() 143 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() argument 151 print_base(m, cpu_base->clock_base + i, now); in print_cpu() [all …]
|
| D | timekeeping_internal.h | 16 static inline cycle_t clocksource_delta(cycle_t now, cycle_t last, cycle_t mask) in clocksource_delta() argument 18 cycle_t ret = (now - last) & mask; in clocksource_delta() 23 static inline cycle_t clocksource_delta(cycle_t now, cycle_t last, cycle_t mask) in clocksource_delta() argument 25 return (now - last) & mask; in clocksource_delta()
|
| D | alarmtimer.c | 223 ktime_t min, now; in alarmtimer_suspend() local 265 now = rtc_tm_to_ktime(tm); in alarmtimer_suspend() 266 now = ktime_add(now, min); in alarmtimer_suspend() 269 ret = rtc_timer_start(rtc, &rtctimer, now, ktime_set(0, 0)); in alarmtimer_suspend() 401 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward() argument 406 delta = ktime_sub(now, alarm->node.expires); in alarm_forward() 419 if (alarm->node.expires.tv64 > now.tv64) in alarm_forward() 462 ktime_t now) in alarm_handle_timer() argument 477 ptr->it_overrun += alarm_forward(alarm, now, in alarm_handle_timer() 617 ktime_t now; in alarm_timer_set() local [all …]
|
| D | timekeeping.c | 164 cycle_t now, last, mask, max, delta; in timekeeping_get_delta() local 176 now = tkr->read(tkr->clock); in timekeeping_get_delta() 182 delta = clocksource_delta(now, last, mask); in timekeeping_get_delta() 381 u64 now; in __ktime_get_fast_ns() local 386 now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr); in __ktime_get_fast_ns() 389 return now; in __ktime_get_fast_ns() 894 struct timespec64 now; in do_gettimeofday() local 896 getnstimeofday64(&now); in do_gettimeofday() 897 tv->tv_sec = now.tv_sec; in do_gettimeofday() 898 tv->tv_usec = now.tv_nsec/1000; in do_gettimeofday() [all …]
|
| D | hrtimer.c | 833 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) in hrtimer_forward() argument 838 delta = ktime_sub(now, hrtimer_get_expires(timer)); in hrtimer_forward() 854 if (hrtimer_get_expires_tv64(timer) > now.tv64) in hrtimer_forward() 1210 struct hrtimer *timer, ktime_t *now) in __run_hrtimer() argument 1247 trace_hrtimer_expire_entry(timer, now); in __run_hrtimer() 1278 static void __hrtimer_run_queues(struct hrtimer_cpu_base *cpu_base, ktime_t now) in __hrtimer_run_queues() argument 1290 basenow = ktime_add(now, base->offset); in __hrtimer_run_queues() 1326 ktime_t expires_next, now, entry_time, delta; in hrtimer_interrupt() local 1334 entry_time = now = hrtimer_update_base(cpu_base); in hrtimer_interrupt() 1346 __hrtimer_run_queues(cpu_base, now); in hrtimer_interrupt() [all …]
|
| D | posix-cpu-timers.c | 83 unsigned long long now) in bump_cpu_timer() argument 91 if (now < timer->it.cpu.expires) in bump_cpu_timer() 95 delta = now + incr - timer->it.cpu.expires; in bump_cpu_timer() 771 unsigned long long now; in posix_cpu_timer_get() local 791 cpu_clock_sample(timer->it_clock, p, &now); in posix_cpu_timer_get() 812 cpu_timer_sample_group(timer->it_clock, p, &now); in posix_cpu_timer_get() 817 if (now < timer->it.cpu.expires) { in posix_cpu_timer_get() 819 timer->it.cpu.expires - now, in posix_cpu_timer_get() 1051 unsigned long long now; in posix_cpu_timer_schedule() local 1059 cpu_clock_sample(timer->it_clock, p, &now); in posix_cpu_timer_schedule() [all …]
|
| D | ntp.c | 490 int __weak update_persistent_clock(struct timespec now) in update_persistent_clock() argument 497 struct timespec now; in update_persistent_clock64() local 499 now = timespec64_to_timespec(now64); in update_persistent_clock64() 500 return update_persistent_clock(now); in update_persistent_clock64() 511 struct timespec64 now; in sync_cmos_clock() local 531 getnstimeofday64(&now); in sync_cmos_clock() 532 if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec * 5) { in sync_cmos_clock() 533 struct timespec64 adjust = now; in sync_cmos_clock() 548 next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2); in sync_cmos_clock()
|
| D | tick-broadcast.c | 602 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local 610 now = ktime_get(); in tick_handle_oneshot_broadcast() 614 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast() 701 ktime_t now; in __tick_broadcast_oneshot_control() local 826 now = ktime_get(); in __tick_broadcast_oneshot_control() 827 if (dev->next_event.tv64 <= now.tv64) { in __tick_broadcast_oneshot_control()
|
| D | posix-timers.c | 462 ktime_t now = hrtimer_cb_get_time(timer); in posix_timer_fn() local 491 now = ktime_add(now, kj); in posix_timer_fn() 495 hrtimer_forward(timer, now, in posix_timer_fn() 738 ktime_t now, remaining, iv; in common_timer_get() local 752 now = timer->base->get_time(); in common_timer_get() 761 timr->it_overrun += (unsigned int) hrtimer_forward(timer, now, iv); in common_timer_get() 763 remaining = __hrtimer_expires_remaining_adjusted(timer, now); in common_timer_get()
|
| /linux-4.4.14/include/trace/events/ |
| D | timer.h | 56 __field( unsigned long, now ) 64 __entry->now = jiffies; 70 (long)__entry->expires - __entry->now, __entry->flags) 87 __field( unsigned long, now ) 93 __entry->now = jiffies; 97 TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now) 202 TP_PROTO(struct hrtimer *hrtimer, ktime_t *now), 204 TP_ARGS(hrtimer, now), 208 __field( s64, now ) 214 __entry->now = now->tv64; [all …]
|
| /linux-4.4.14/tools/power/cpupower/bench/ |
| D | benchmark.c | 48 long long now, then; in calculate_timespace() local 57 now = get_time(); in calculate_timespace() 61 timed = (unsigned int)(then - now); in calculate_timespace() 68 now = get_time(); in calculate_timespace() 72 timed = (unsigned int)(then - now); in calculate_timespace() 94 long long now, then; in start_benchmark() local 139 now = get_time(); in start_benchmark() 143 performance_time += then - now - sleep_time; in start_benchmark() 148 (long)(then - now), sleep_time, in start_benchmark() 165 now = get_time(); in start_benchmark() [all …]
|
| D | system.c | 41 struct timeval now; in get_time() local 43 gettimeofday(&now, NULL); in get_time() 45 return (long long int)(now.tv_sec * 1000000LL + now.tv_usec); in get_time()
|
| /linux-4.4.14/arch/x86/kernel/ |
| D | tsc_sync.c | 47 cycles_t start, now, prev, end; in check_tsc_warp() local 55 now = start; in check_tsc_warp() 65 now = rdtsc_ordered(); in check_tsc_warp() 66 last_tsc = now; in check_tsc_warp() 76 if (now > end || i > 10000000) in check_tsc_warp() 85 if (unlikely(prev > now)) { in check_tsc_warp() 87 max_warp = max(max_warp, prev - now); in check_tsc_warp() 92 WARN(!(now-start), in check_tsc_warp() 94 now-start, end-start); in check_tsc_warp()
|
| D | pvclock.c | 124 struct timespec now; in pvclock_read_wallclock() local 130 now.tv_sec = wall_clock->sec; in pvclock_read_wallclock() 131 now.tv_nsec = wall_clock->nsec; in pvclock_read_wallclock() 136 delta += now.tv_sec * (u64)NSEC_PER_SEC + now.tv_nsec; in pvclock_read_wallclock() 138 now.tv_nsec = do_div(delta, NSEC_PER_SEC); in pvclock_read_wallclock() 139 now.tv_sec = delta; in pvclock_read_wallclock() 141 set_normalized_timespec(ts, now.tv_sec, now.tv_nsec); in pvclock_read_wallclock()
|
| D | rtc.c | 41 int mach_set_rtc_mmss(const struct timespec *now) in mach_set_rtc_mmss() argument 43 unsigned long nowtime = now->tv_sec; in mach_set_rtc_mmss() 62 void mach_get_cmos_time(struct timespec *now) in mach_get_cmos_time() argument 111 now->tv_sec = mktime(year, mon, day, hour, min, sec); in mach_get_cmos_time() 112 now->tv_nsec = 0; in mach_get_cmos_time() 138 int update_persistent_clock(struct timespec now) in update_persistent_clock() argument 140 return x86_platform.set_wallclock(&now); in update_persistent_clock()
|
| D | kvmclock.c | 53 static void kvm_get_wallclock(struct timespec *now) in kvm_get_wallclock() argument 67 pvclock_read_wallclock(&wall_clock, vcpu_time, now); in kvm_get_wallclock() 72 static int kvm_set_wallclock(const struct timespec *now) in kvm_set_wallclock() argument
|
| D | apb_timer.c | 258 u64 start, now; in apbt_clocksource_register() local 276 now = rdtsc(); in apbt_clocksource_register() 277 } while ((now - start) < 200000UL); in apbt_clocksource_register()
|
| /linux-4.4.14/tools/testing/selftests/timers/ |
| D | nanosleep.c | 114 struct timespec now, target, rel; in nanosleep_test() local 117 if (clock_gettime(clockid, &now)) in nanosleep_test() 119 target = timespec_add(now, ns); in nanosleep_test() 123 clock_gettime(clockid, &now); in nanosleep_test() 125 if (!in_order(target, now)) in nanosleep_test() 129 clock_gettime(clockid, &now); in nanosleep_test() 133 target = timespec_add(now, ns); in nanosleep_test() 135 clock_gettime(clockid, &now); in nanosleep_test() 137 if (!in_order(target, now)) in nanosleep_test()
|
| D | leap-a-day.c | 173 struct timespec now, target; in test_hrtimer_failure() local 175 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure() 176 target = timespec_add(now, NSEC_PER_SEC/2); in test_hrtimer_failure() 178 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure() 180 if (!in_order(target, now)) { in test_hrtimer_failure() 250 time_t now; in main() local 338 now = tx.time.tv_sec; in main() 339 while (now < next_leap + 2) { in main() 363 now = tx.time.tv_sec; in main()
|
| D | set-2038.c | 61 struct timeval now; in settime() local 64 now.tv_sec = (time_t)time; in settime() 65 now.tv_usec = 0; in settime() 67 ret = settimeofday(&now, NULL); in settime()
|
| D | mqueue-lat.c | 74 struct timespec start, end, now, target; in mqueue_lat_test() local 91 clock_gettime(CLOCK_REALTIME, &now); in mqueue_lat_test() 92 target = now; in mqueue_lat_test() 93 target = timespec_add(now, TARGET_TIMEOUT); /* 100ms */ in mqueue_lat_test()
|
| D | inconsistency-check.c | 109 long now, then; in consistency_test() local 114 now = then = list[0].tv_sec; in consistency_test() 120 while (seconds == -1 || now - then < seconds) { in consistency_test() 157 now = list[0].tv_sec; in consistency_test()
|
| D | threadtest.c | 135 time_t start, now, runtime; in main() local 183 while (time(&now) < start + runtime) { in main() 187 strftime(buf, 255, "%a, %d %b %Y %T %z", localtime(&now)); in main()
|
| /linux-4.4.14/drivers/md/bcache/ |
| D | util.c | 171 uint64_t now, duration, last; in bch_time_stats_update() local 175 now = local_clock(); in bch_time_stats_update() 176 duration = time_after64(now, start_time) in bch_time_stats_update() 177 ? now - start_time : 0; in bch_time_stats_update() 178 last = time_after64(now, stats->last) in bch_time_stats_update() 179 ? now - stats->last : 0; in bch_time_stats_update() 194 stats->last = now ?: 1; in bch_time_stats_update() 210 uint64_t now = local_clock(); in bch_next_delay() local 214 if (time_before64(now + NSEC_PER_SEC, d->next)) in bch_next_delay() 215 d->next = now + NSEC_PER_SEC; in bch_next_delay() [all …]
|
| /linux-4.4.14/arch/x86/kernel/cpu/ |
| D | perf_event_msr.c | 143 u64 now; in msr_read_counter() local 146 rdmsrl(event->hw.event_base, now); in msr_read_counter() 148 rdtscll(now); in msr_read_counter() 150 return now; in msr_read_counter() 154 u64 prev, now; in msr_event_update() local 160 now = msr_read_counter(event); in msr_event_update() 162 if (local64_cmpxchg(&event->hw.prev_count, prev, now) != prev) in msr_event_update() 165 delta = now - prev; in msr_event_update() 169 local64_add(now - prev, &event->count); in msr_event_update() 174 u64 now; in msr_event_start() local [all …]
|
| /linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_marker.c | 78 u64 now; in vmw_marker_pull() local 81 now = ktime_get_raw_ns(); in vmw_marker_pull() 85 queue->lag_time = now; in vmw_marker_pull() 94 queue->lag = now - marker->submitted; in vmw_marker_pull() 95 queue->lag_time = now; in vmw_marker_pull() 109 u64 now; in vmw_fifo_lag() local 112 now = ktime_get_raw_ns(); in vmw_fifo_lag() 113 queue->lag += now - queue->lag_time; in vmw_fifo_lag() 114 queue->lag_time = now; in vmw_fifo_lag()
|
| /linux-4.4.14/drivers/block/drbd/ |
| D | drbd_debugfs.c | 95 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() argument 107 seq_printf(m, "\t%d", jiffies_to_msecs(now - req->start_jif)); in seq_print_one_request() 108 seq_print_age_or_dash(m, s & RQ_IN_ACT_LOG, now - req->in_actlog_jif); in seq_print_one_request() 109 seq_print_age_or_dash(m, s & RQ_LOCAL_PENDING, now - req->pre_submit_jif); in seq_print_one_request() 112 seq_print_age_or_dash(m, s & RQ_NET_SENT, now - req->pre_send_jif); in seq_print_one_request() 113 seq_print_age_or_dash(m, (s & RQ_NET_SENT) && !(s & RQ_NET_PENDING), now - req->acked_jif); in seq_print_one_request() 114 seq_print_age_or_dash(m, s & RQ_NET_DONE, now - req->net_done_jif); in seq_print_one_request() 121 static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_minor_vnr_req() argument 124 seq_print_one_request(m, req, now); in seq_print_minor_vnr_req() 127 …int_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_meta_io() argument [all …]
|
| D | drbd_req.c | 1524 unsigned long now; in request_timer_fn() local 1542 now = jiffies; in request_timer_fn() 1543 nt = now + et; in request_timer_fn() 1567 : req_read ? req_read->pre_submit_jif : now; in request_timer_fn() 1586 time_after(now, req_peer->pre_send_jif + ent) && in request_timer_fn() 1587 !time_in_range(now, connection->last_reconnect_jif, connection->last_reconnect_jif + ent)) { in request_timer_fn() 1591 if (dt && oldest_submit_jif != now && in request_timer_fn() 1592 time_after(now, oldest_submit_jif + dt) && in request_timer_fn() 1593 !time_in_range(now, device->last_reattach_jif, device->last_reattach_jif + dt)) { in request_timer_fn() 1600 ent = (ent && req_peer && time_before(now, req_peer->pre_send_jif + ent)) in request_timer_fn() [all …]
|
| /linux-4.4.14/kernel/trace/ |
| D | trace_clock.c | 96 u64 now; in trace_clock_global() local 101 now = sched_clock_cpu(this_cpu); in trace_clock_global() 116 if ((s64)(now - trace_clock_struct.prev_time) < 0) in trace_clock_global() 117 now = trace_clock_struct.prev_time + 1; in trace_clock_global() 119 trace_clock_struct.prev_time = now; in trace_clock_global() 126 return now; in trace_clock_global()
|
| /linux-4.4.14/tools/testing/selftests/powerpc/tm/ |
| D | tm-syscall.c | 93 struct timeval end, now; in tm_syscall() local 102 now.tv_sec = TEST_DURATION; in tm_syscall() 103 now.tv_usec = 0; in tm_syscall() 104 timeradd(&end, &now, &end); in tm_syscall() 106 for (count = 0; timercmp(&now, &end, <); count++) { in tm_syscall() 120 gettimeofday(&now, 0); in tm_syscall()
|
| /linux-4.4.14/include/net/ |
| D | codel.h | 234 codel_time_t now) in codel_should_drop() argument 243 vars->ldelay = now - codel_get_enqueue_time(skb); in codel_should_drop() 260 vars->first_above_time = now + params->interval; in codel_should_drop() 261 } else if (codel_time_after(now, vars->first_above_time)) { in codel_should_drop() 277 codel_time_t now; 284 now = codel_get_time(); 285 drop = codel_should_drop(skb, sch, vars, params, stats, now); 290 } else if (codel_time_after_eq(now, vars->drop_next)) { 300 codel_time_after_eq(now, vars->drop_next)) { 318 vars, params, stats, now)) { [all …]
|
| D | act_api.h | 78 unsigned long now = jiffies; in tcf_lastuse_update() local 80 if (tm->lastuse != now) in tcf_lastuse_update() 81 tm->lastuse = now; in tcf_lastuse_update()
|
| D | busy_poll.h | 70 unsigned long now = busy_loop_us_clock(); in busy_loop_timeout() local 72 return time_after(now, end_time); in busy_loop_timeout()
|
| /linux-4.4.14/arch/parisc/kernel/ |
| D | time.c | 60 unsigned long now, now2; in timer_interrupt() local 76 now = mfctl(16); in timer_interrupt() 78 cycles_elapsed = now - next_tick; in timer_interrupt() 102 next_tick = now + cycles_remainder; in timer_interrupt() 129 if (unlikely(now2 - now > 0x3000)) /* 12K cycles */ in timer_interrupt() 133 cpu, now2 - now, cycles_elapsed, cycles_remainder, in timer_interrupt() 134 next_tick, now ); in timer_interrupt() 154 next_tick, now ); in timer_interrupt()
|
| /linux-4.4.14/Documentation/networking/timestamping/ |
| D | timestamping.c | 139 struct timeval now; in sendpacket() local 144 gettimeofday(&now, 0); in sendpacket() 149 (long)now.tv_sec, (long)now.tv_usec, in sendpacket() 162 struct timeval now; in printpacket() local 164 gettimeofday(&now, 0); in printpacket() 167 (long)now.tv_sec, (long)now.tv_usec, in printpacket() 478 struct timeval now; in main() local 484 gettimeofday(&now, 0); in main() 485 delta_us = (long)(next.tv_sec - now.tv_sec) * 1000000 + in main() 486 (long)(next.tv_usec - now.tv_usec); in main() [all …]
|
| /linux-4.4.14/drivers/rtc/ |
| D | interface.c | 118 struct rtc_time before, now; in __rtc_read_alarm() local 171 memcpy(&before, &now, sizeof(struct rtc_time)); in __rtc_read_alarm() 184 err = rtc_read_time(rtc, &now); in __rtc_read_alarm() 189 } while ( before.tm_min != now.tm_min in __rtc_read_alarm() 190 || before.tm_hour != now.tm_hour in __rtc_read_alarm() 191 || before.tm_mon != now.tm_mon in __rtc_read_alarm() 192 || before.tm_year != now.tm_year); in __rtc_read_alarm() 198 alarm->time.tm_sec = now.tm_sec; in __rtc_read_alarm() 200 alarm->time.tm_min = now.tm_min; in __rtc_read_alarm() 202 alarm->time.tm_hour = now.tm_hour; in __rtc_read_alarm() [all …]
|
| D | systohc.c | 23 int rtc_set_ntp_time(struct timespec64 now) in rtc_set_ntp_time() argument 29 if (now.tv_nsec < (NSEC_PER_SEC >> 1)) in rtc_set_ntp_time() 30 rtc_time64_to_tm(now.tv_sec, &tm); in rtc_set_ntp_time() 32 rtc_time64_to_tm(now.tv_sec + 1, &tm); in rtc_set_ntp_time()
|
| D | rtc-bfin.c | 86 static inline u32 rtc_time_to_bfin(unsigned long now) in rtc_time_to_bfin() argument 88 u32 sec = (now % 60); in rtc_time_to_bfin() 89 u32 min = (now % (60 * 60)) / 60; in rtc_time_to_bfin() 90 u32 hour = (now % (60 * 60 * 24)) / (60 * 60); in rtc_time_to_bfin() 91 u32 days = (now / (60 * 60 * 24)); in rtc_time_to_bfin() 275 unsigned long now; in bfin_rtc_set_time() local 279 ret = rtc_tm_to_time(tm, &now); in bfin_rtc_set_time() 283 bfin_write_RTC_STAT(rtc_time_to_bfin(now)); in bfin_rtc_set_time()
|
| D | rtc-ps3.c | 49 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()
|
| D | rtc-digicolor.c | 98 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()
|
| D | rtc-at32ap700x.c | 73 unsigned long now; in at32_rtc_readtime() local 75 now = rtc_readl(rtc, VAL); in at32_rtc_readtime() 76 rtc_time_to_tm(now, tm); in at32_rtc_readtime() 84 unsigned long now; in at32_rtc_settime() local 87 ret = rtc_tm_to_time(tm, &now); in at32_rtc_settime() 89 rtc_writel(rtc, VAL, now); in at32_rtc_settime()
|
| D | rtc-sysfs.c | 154 unsigned long now, alarm; in wakealarm_store() local 167 rtc_tm_to_time(&alm.time, &now); in wakealarm_store() 180 alarm += now; in wakealarm_store() 182 if (alarm > now || push) { in wakealarm_store() 205 alarm = now + 300; in wakealarm_store()
|
| D | rtc-mpc5121.c | 110 unsigned long now; in mpc5121_rtc_read_time() local 115 now = in_be32(®s->actual_time) + in_be32(®s->target_time); in mpc5121_rtc_read_time() 117 rtc_time_to_tm(now, tm); in mpc5121_rtc_read_time() 133 unsigned long now; in mpc5121_rtc_set_time() local 139 ret = rtc_tm_to_time(tm, &now); in mpc5121_rtc_set_time() 141 out_be32(®s->target_time, now - in_be32(®s->actual_time)); in mpc5121_rtc_set_time()
|
| D | rtc-88pm80x.c | 90 static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, in rtc_next_alarm_time() argument 96 next->tm_year = now->tm_year; in rtc_next_alarm_time() 97 next->tm_mon = now->tm_mon; in rtc_next_alarm_time() 98 next->tm_mday = now->tm_mday; in rtc_next_alarm_time() 103 rtc_tm_to_time(now, &now_time); in rtc_next_alarm_time()
|
| D | rtc-ds1374.c | 192 u32 now, cur_alarm; in ds1374_read_alarm() local 209 ret = ds1374_read_rtc(client, &now, DS1374_REG_TOD0, 4); in ds1374_read_alarm() 217 rtc_time_to_tm(now + cur_alarm, &alarm->time); in ds1374_read_alarm() 230 struct rtc_time now; in ds1374_set_alarm() local 238 ret = ds1374_read_time(dev, &now); in ds1374_set_alarm() 243 rtc_tm_to_time(&now, &itime); in ds1374_set_alarm()
|
| D | rtc-imxdi.c | 554 unsigned long now; in dryice_rtc_read_time() local 556 now = readl(imxdi->ioaddr + DTCMR); in dryice_rtc_read_time() 557 rtc_time_to_tm(now, tm); in dryice_rtc_read_time() 645 unsigned long now; in dryice_rtc_set_alarm() local 654 now = readl(imxdi->ioaddr + DTCMR); in dryice_rtc_set_alarm() 655 if (alarm_time < now) in dryice_rtc_set_alarm()
|
| D | rtc-88pm860x.c | 86 static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, in rtc_next_alarm_time() argument 92 next->tm_year = now->tm_year; in rtc_next_alarm_time() 93 next->tm_mon = now->tm_mon; in rtc_next_alarm_time() 94 next->tm_mday = now->tm_mday; in rtc_next_alarm_time() 99 rtc_tm_to_time(now, &now_time); in rtc_next_alarm_time()
|
| D | rtc-dev.c | 307 time64_t now, then; in rtc_dev_ioctl() local 312 now = rtc_tm_to_time64(&tm); in rtc_dev_ioctl() 323 if (then < now) { in rtc_dev_ioctl() 324 rtc_time64_to_tm(now + 24 * 60 * 60, &tm); in rtc_dev_ioctl()
|
| D | rtc-st-lpc.c | 163 struct rtc_time now; in st_rtc_set_alarm() local 168 st_rtc_read_time(dev, &now); in st_rtc_set_alarm() 169 rtc_tm_to_time(&now, &now_secs); in st_rtc_set_alarm()
|
| D | rtc-davinci.c | 430 unsigned long now, then; in davinci_rtc_set_alarm() local 433 rtc_tm_to_time(&tm, &now); in davinci_rtc_set_alarm() 440 if (then < now) { in davinci_rtc_set_alarm() 441 rtc_time_to_tm(now + 24 * 60 * 60, &tm); in davinci_rtc_set_alarm()
|
| /linux-4.4.14/arch/m68k/mac/ |
| D | misc.c | 695 unsigned long now; in mac_hwclk() local 701 now = via_read_time(); in mac_hwclk() 704 now = maciisi_read_time(); in mac_hwclk() 708 now = pmu_read_time(); in mac_hwclk() 711 now = cuda_read_time(); in mac_hwclk() 714 now = 0; in mac_hwclk() 718 unmktime(now, 0, in mac_hwclk() 733 now = mktime(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk() 739 via_write_time(now); in mac_hwclk() 742 cuda_write_time(now); in mac_hwclk() [all …]
|
| /linux-4.4.14/tools/power/cpupower/debug/kernel/ |
| D | cpufreq-test_tsc.c | 55 u32 now, then, diff; in cpufreq_test_tsc() local 87 now = read_pmtmr(); in cpufreq_test_tsc() 89 diff = (now - then) & 0xFFFFFF; in cpufreq_test_tsc() 91 …printk(KERN_DEBUG "t1: %08u t2: %08u diff_pmtmr: %08u diff_tsc: %016llu\n", then, now, diff, diff_… in cpufreq_test_tsc() 92 then = now; in cpufreq_test_tsc()
|
| /linux-4.4.14/arch/parisc/lib/ |
| D | delay.c | 33 u32 bclock, now, loops = __loops; in __cr16_delay() local 40 now = mfctl(16); in __cr16_delay() 41 if ((now - bclock) >= loops) in __cr16_delay() 60 loops -= (now - bclock); in __cr16_delay()
|
| /linux-4.4.14/net/dccp/ccids/ |
| D | ccid3.c | 106 static u32 ccid3_hc_tx_idle_rtt(struct ccid3_hc_tx_sock *hc, ktime_t now) in ccid3_hc_tx_idle_rtt() argument 108 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count); in ccid3_hc_tx_idle_rtt() 129 ktime_t now = stamp ? *stamp : ktime_get_real(); in ccid3_hc_tx_update_x() local 137 if (ccid3_hc_tx_idle_rtt(hc, now) >= 2) { in ccid3_hc_tx_update_x() 147 } else if (ktime_us_delta(now, hc->tx_t_ld) - (s64)hc->tx_rtt >= 0) { in ccid3_hc_tx_update_x() 152 hc->tx_t_ld = now; in ccid3_hc_tx_update_x() 186 ktime_t now) in ccid3_hc_tx_update_win_count() argument 188 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count), in ccid3_hc_tx_update_win_count() 192 hc->tx_t_last_win_count = now; in ccid3_hc_tx_update_win_count() 284 ktime_t now = ktime_get_real(); in ccid3_hc_tx_send_packet() local [all …]
|
| D | ccid2.c | 194 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) in ccid2_cwnd_application_limited() argument 207 hc->tx_cwnd_stamp = now; in ccid2_cwnd_application_limited() 213 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) in ccid2_cwnd_restart() argument 223 cwnd >>= (now - hc->tx_lsndtime) / hc->tx_rto; in ccid2_cwnd_restart() 226 hc->tx_cwnd_stamp = now; in ccid2_cwnd_restart() 236 const u32 now = ccid2_time_stamp; in ccid2_hc_tx_packet_sent() local 241 (s32)(now - hc->tx_lsndtime) >= hc->tx_rto) in ccid2_hc_tx_packet_sent() 242 ccid2_cwnd_restart(sk, now); in ccid2_hc_tx_packet_sent() 244 hc->tx_lsndtime = now; in ccid2_hc_tx_packet_sent() 251 hc->tx_cwnd_stamp = now; in ccid2_hc_tx_packet_sent() [all …]
|
| /linux-4.4.14/arch/s390/kernel/ |
| D | idle.c | 72 unsigned long long now, idle_time, idle_enter, idle_exit; in show_idle_time() local 76 now = get_tod_clock(); in show_idle_time() 82 idle_time += idle_enter ? ((idle_exit ? : now) - idle_enter) : 0; in show_idle_time() 90 unsigned long long now, idle_enter, idle_exit; in arch_cpu_idle_time() local 94 now = get_tod_clock(); in arch_cpu_idle_time() 99 return idle_enter ? ((idle_exit ?: now) - idle_enter) : 0; in arch_cpu_idle_time()
|
| D | time.c | 893 static void etr_set_tolec_timeout(unsigned long long now) in etr_set_tolec_timeout() argument 900 micros = (now > etr_tolec) ? ((now - etr_tolec) >> 12) : 0; in etr_set_tolec_timeout() 1005 unsigned long long now; in etr_work_fn() local 1033 now = get_tod_clock(); in etr_work_fn() 1039 if (now >= etr_tolec + (1600000 << 12)) in etr_work_fn() 1108 etr_set_tolec_timeout(now); in etr_work_fn() 1127 if (now < etr_tolec + (1600000 << 12) || in etr_work_fn() 1134 etr_set_tolec_timeout(now); in etr_work_fn()
|
| /linux-4.4.14/drivers/staging/lustre/lnet/selftest/ |
| D | timer.c | 124 stt_expire_list(struct list_head *slot, time64_t now) in stt_expire_list() argument 132 if (timer->stt_expires > now) in stt_expire_list() 151 time64_t now; in stt_check_timers() local 154 now = ktime_get_real_seconds(); in stt_check_timers() 155 this_slot = now & STTIMER_SLOTTIMEMASK; in stt_check_timers() 160 expired += stt_expire_list(STTIMER_SLOT(this_slot), now); in stt_check_timers() 164 *last = now & STTIMER_SLOTTIMEMASK; in stt_check_timers()
|
| /linux-4.4.14/arch/x86/platform/intel-mid/ |
| D | intel_mid_vrtc.c | 59 void vrtc_get_time(struct timespec *now) in vrtc_get_time() argument 85 now->tv_sec = mktime(year, mon, mday, hour, min, sec); in vrtc_get_time() 86 now->tv_nsec = 0; in vrtc_get_time() 89 int vrtc_set_mmss(const struct timespec *now) in vrtc_set_mmss() argument 96 rtc_time_to_tm(now->tv_sec, &tm); in vrtc_set_mmss() 113 __func__, now->tv_sec); in vrtc_set_mmss()
|
| /linux-4.4.14/arch/powerpc/platforms/powermac/ |
| D | time.c | 87 static void to_rtc_time(unsigned long now, struct rtc_time *tm) in to_rtc_time() argument 89 to_tm(now, tm); in to_rtc_time() 108 unsigned int now; in cuda_get_time() local 117 now = (req.reply[3] << 24) + (req.reply[4] << 16) in cuda_get_time() 119 return ((unsigned long)now) - RTC_OFFSET; in cuda_get_time() 152 unsigned int now; in pmu_get_time() local 160 now = (req.reply[0] << 24) + (req.reply[1] << 16) in pmu_get_time() 162 return ((unsigned long)now) - RTC_OFFSET; in pmu_get_time()
|
| /linux-4.4.14/drivers/net/wimax/i2400m/ |
| D | i2400m-usb.h | 131 unsigned long now; in edc_inc() local 133 now = jiffies; in edc_inc() 134 if (now - edc->timestart > timeframe) { in edc_inc() 136 edc->timestart = now; in edc_inc() 139 edc->timestart = now; in edc_inc()
|
| /linux-4.4.14/fs/xfs/ |
| D | xfs_mru_cache.c | 139 unsigned long now) in _xfs_mru_cache_migrate() argument 150 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate() 206 unsigned long now = jiffies; in _xfs_mru_cache_list_insert() local 213 if (!_xfs_mru_cache_migrate(mru, now)) { in _xfs_mru_cache_list_insert() 214 mru->time_zero = now; in _xfs_mru_cache_list_insert() 221 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert() 281 unsigned long now, next; in _xfs_mru_cache_reap() local 293 now = jiffies; in _xfs_mru_cache_reap() 294 if (next <= now) in _xfs_mru_cache_reap() 297 next -= now; in _xfs_mru_cache_reap()
|
| D | xfs_iops.c | 971 struct timespec *now, in xfs_vn_update_time() argument 990 inode->i_ctime = *now; in xfs_vn_update_time() 991 ip->i_d.di_ctime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time() 992 ip->i_d.di_ctime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time() 995 inode->i_mtime = *now; in xfs_vn_update_time() 996 ip->i_d.di_mtime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time() 997 ip->i_d.di_mtime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time() 1000 inode->i_atime = *now; in xfs_vn_update_time() 1001 ip->i_d.di_atime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time() 1002 ip->i_d.di_atime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
|
| /linux-4.4.14/net/sunrpc/auth_gss/ |
| D | gss_krb5_unseal.c | 82 s32 now; in gss_verify_mic_v1() local 127 now = get_seconds(); in gss_verify_mic_v1() 129 if (now > ctx->endtime) in gss_verify_mic_v1() 152 s32 now; in gss_verify_mic_v2() local 195 now = get_seconds(); in gss_verify_mic_v2() 196 if (now > ctx->endtime) in gss_verify_mic_v2()
|
| D | gss_krb5_seal.c | 135 s32 now; in gss_get_mic_v1() local 142 now = get_seconds(); in gss_get_mic_v1() 165 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; in gss_get_mic_v1() 176 s32 now; in gss_get_mic_v2() local 206 now = get_seconds(); in gss_get_mic_v2() 208 return (ctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; in gss_get_mic_v2()
|
| D | gss_krb5_wrap.c | 166 s32 now; in gss_wrap_kerberos_v1() local 175 now = get_seconds(); in gss_wrap_kerberos_v1() 262 return (kctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; in gss_wrap_kerberos_v1() 273 s32 now; in gss_unwrap_kerberos_v1() local 364 now = get_seconds(); in gss_unwrap_kerberos_v1() 366 if (now > kctx->endtime) in gss_unwrap_kerberos_v1() 445 s32 now; in gss_wrap_kerberos_v2() local 490 now = get_seconds(); in gss_wrap_kerberos_v2() 491 return (kctx->endtime < now) ? GSS_S_CONTEXT_EXPIRED : GSS_S_COMPLETE; in gss_wrap_kerberos_v2() 497 s32 now; in gss_unwrap_kerberos_v2() local [all …]
|
| /linux-4.4.14/arch/ia64/kernel/ |
| D | time.c | 98 __u64 now; in vtime_delta() local 102 now = ia64_get_itc(); in vtime_delta() 104 delta_stime = cycle_to_cputime(ti->ac_stime + (now - ti->ac_stamp)); in vtime_delta() 106 ti->ac_stamp = now; in vtime_delta() 328 unsigned long lcycle, now, ret; in itc_get_cycles() local 334 now = get_cycles(); in itc_get_cycles() 335 if (lcycle && time_after(lcycle, now)) in itc_get_cycles() 344 ret = cmpxchg(&itc_jitter_data.itc_lastcycle, lcycle, now); in itc_get_cycles() 348 return now; in itc_get_cycles()
|
| /linux-4.4.14/arch/m68k/68000/ |
| D | timers.c | 127 long now = RTCTIME; in m68328_hwclk() local 129 t->tm_hour = (now >> 24) % 24; in m68328_hwclk() 130 t->tm_min = (now >> 16) % 60; in m68328_hwclk() 131 t->tm_sec = now % 60; in m68328_hwclk()
|
| /linux-4.4.14/net/dccp/ |
| D | probe.c | 58 struct timespec64 now; in printl() local 62 getnstimeofday64(&now); in printl() 64 now = timespec64_sub(now, dccpw.tstart); in printl() 67 (unsigned long) now.tv_sec, in printl() 68 (unsigned long) now.tv_nsec / NSEC_PER_USEC); in printl()
|
| /linux-4.4.14/arch/x86/lib/ |
| D | delay.c | 53 u64 bclock, now, loops = __loops; in delay_tsc() local 60 now = rdtsc_ordered(); in delay_tsc() 61 if ((now - bclock) >= loops) in delay_tsc() 79 loops -= (now - bclock); in delay_tsc()
|
| /linux-4.4.14/arch/avr32/lib/ |
| D | delay.c | 31 unsigned bclock, now; in __delay() local 35 now = sysreg_read(COUNT); in __delay() 36 } while ((now - bclock) < loops); in __delay()
|
| /linux-4.4.14/arch/metag/lib/ |
| D | delay.c | 29 unsigned long bclock, now; in __delay() local 34 rdtimer(now); in __delay() 35 } while ((now-bclock) < loops); in __delay()
|
| /linux-4.4.14/arch/x86/xen/ |
| D | time.c | 183 static void xen_get_wallclock(struct timespec *now) in xen_get_wallclock() argument 185 xen_read_wallclock(now); in xen_get_wallclock() 188 static int xen_set_wallclock(const struct timespec *now) in xen_set_wallclock() argument 200 struct timespec now; in xen_pvclock_gtod_notify() local 202 now = __current_kernel_time(); in xen_pvclock_gtod_notify() 208 if (!was_set && timespec_compare(&now, &next_sync) < 0) in xen_pvclock_gtod_notify() 212 op.u.settime.secs = now.tv_sec; in xen_pvclock_gtod_notify() 213 op.u.settime.nsecs = now.tv_nsec; in xen_pvclock_gtod_notify() 223 next_sync = now; in xen_pvclock_gtod_notify()
|
| /linux-4.4.14/net/rxrpc/ |
| D | ar-transport.c | 223 unsigned long now, earliest, reap_time; in rxrpc_transport_reaper() local 229 now = ktime_get_seconds(); in rxrpc_transport_reaper() 237 (long) now - (long) trans->put_time); in rxrpc_transport_reaper() 243 if (reap_time <= now) in rxrpc_transport_reaper() 251 _debug("reschedule reaper %ld", (long) earliest - now); in rxrpc_transport_reaper() 252 ASSERTCMP(earliest, >, now); in rxrpc_transport_reaper() 254 (earliest - now) * HZ); in rxrpc_transport_reaper()
|
| D | ar-connection.c | 849 unsigned long now, earliest, reap_time; in rxrpc_connection_reaper() local 855 now = ktime_get_seconds(); in rxrpc_connection_reaper() 862 (long) now - (long) conn->put_time); in rxrpc_connection_reaper() 873 } else if (reap_time <= now) { in rxrpc_connection_reaper() 896 _debug("reschedule reaper %ld", (long) earliest - now); in rxrpc_connection_reaper() 897 ASSERTCMP(earliest, >, now); in rxrpc_connection_reaper() 899 (earliest - now) * HZ); in rxrpc_connection_reaper()
|
| /linux-4.4.14/net/sctp/ |
| D | probe.c | 141 struct timespec now; in jsctp_sf_eat_sack() local 152 getnstimeofday(&now); in jsctp_sf_eat_sack() 153 now = timespec_sub(now, sctpw.tstart); in jsctp_sf_eat_sack() 155 printl("%lu.%06lu ", (unsigned long) now.tv_sec, in jsctp_sf_eat_sack() 156 (unsigned long) now.tv_nsec / NSEC_PER_USEC); in jsctp_sf_eat_sack()
|
| /linux-4.4.14/kernel/sched/ |
| D | clock.c | 197 u64 now, clock, old_clock, min_clock, max_clock; in sched_clock_local() local 201 now = sched_clock(); in sched_clock_local() 202 delta = now - scd->tick_raw; in sched_clock_local() 320 u64 now, now_gtod; in sched_clock_tick() local 332 now = sched_clock(); in sched_clock_tick() 334 scd->tick_raw = now; in sched_clock_tick()
|
| D | stats.h | 64 unsigned long long now = rq_clock(rq), delta = 0; in sched_info_dequeued() local 68 delta = now - t->sched_info.last_queued; in sched_info_dequeued() 82 unsigned long long now = rq_clock(rq), delta = 0; in sched_info_arrive() local 85 delta = now - t->sched_info.last_queued; in sched_info_arrive() 88 t->sched_info.last_arrival = now; in sched_info_arrive()
|
| D | wait.c | 604 unsigned long now = READ_ONCE(jiffies); in bit_wait_timeout() local 605 if (time_after_eq(now, word->timeout)) in bit_wait_timeout() 607 schedule_timeout(word->timeout - now); in bit_wait_timeout() 616 unsigned long now = READ_ONCE(jiffies); in bit_wait_io_timeout() local 617 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout() 619 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()
|
| /linux-4.4.14/drivers/base/power/ |
| D | wakeup.c | 611 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time() argument 613 ktime_t delta = ktime_sub(now, ws->start_prevent_time); in update_prevent_sleep_time() 618 ktime_t now) {} in update_prevent_sleep_time() argument 633 ktime_t now; in wakeup_source_deactivate() local 652 now = ktime_get(); in wakeup_source_deactivate() 653 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate() 658 ws->last_time = now; in wakeup_source_deactivate() 663 update_prevent_sleep_time(ws, now); in wakeup_source_deactivate() 955 ktime_t now = ktime_get(); in pm_wakep_autosleep_enabled() local 964 ws->start_prevent_time = now; in pm_wakep_autosleep_enabled() [all …]
|
| /linux-4.4.14/arch/alpha/kernel/ |
| D | rtc.c | 229 unsigned long now; member 275 x->retval = alpha_rtc_set_mmss(NULL, x->now); in do_remote_mmss() 279 remote_set_mmss(struct device *dev, time64_t now) in remote_set_mmss() argument 283 x.now = now; in remote_set_mmss() 287 return alpha_rtc_set_mmss(NULL, now); in remote_set_mmss()
|
| /linux-4.4.14/arch/powerpc/kernel/ |
| D | time.c | 300 u64 now, nowscaled, deltascaled; in vtime_delta() local 305 now = mftb(); in vtime_delta() 306 nowscaled = read_spurr(now); in vtime_delta() 307 get_paca()->system_time += now - get_paca()->starttime; in vtime_delta() 308 get_paca()->starttime = now; in vtime_delta() 312 *stolen = calculate_stolen_time(now); in vtime_delta() 489 u64 now; in __timer_interrupt() local 498 now = get_tb_or_rtc(); in __timer_interrupt() 499 if (now >= *next_tb) { in __timer_interrupt() 505 now = *next_tb - now; in __timer_interrupt() [all …]
|
| /linux-4.4.14/drivers/gpu/drm/via/ |
| D | via_irq.c | 91 static unsigned time_diff(struct timeval *now, struct timeval *then) in time_diff() argument 93 return (now->tv_usec >= then->tv_usec) ? in time_diff() 94 now->tv_usec - then->tv_usec : in time_diff() 95 1000000 - (then->tv_usec - now->tv_usec); in time_diff() 353 struct timeval now; in via_wait_irq() local 387 do_gettimeofday(&now); in via_wait_irq() 388 irqwait->reply.tval_sec = now.tv_sec; in via_wait_irq() 389 irqwait->reply.tval_usec = now.tv_usec; in via_wait_irq()
|
| /linux-4.4.14/drivers/gpu/drm/ |
| D | drm_irq.c | 881 ktime_t now; in get_drm_timestamp() local 883 now = drm_timestamp_monotonic ? ktime_get() : ktime_get_real(); in get_drm_timestamp() 884 return ktime_to_timeval(now); in get_drm_timestamp() 1039 unsigned long seq, struct timeval *now) in send_vblank_event() argument 1044 e->event.tv_sec = now->tv_sec; in send_vblank_event() 1045 e->event.tv_usec = now->tv_usec; in send_vblank_event() 1119 struct timeval now; in drm_send_vblank_event() local 1123 seq = drm_vblank_count_and_time(dev, pipe, &now); in drm_send_vblank_event() 1127 now = get_drm_timestamp(); in drm_send_vblank_event() 1130 send_vblank_event(dev, e, seq, &now); in drm_send_vblank_event() [all …]
|
| /linux-4.4.14/drivers/clocksource/ |
| D | timer-prima2.c | 93 unsigned long now, next; in sirfsoc_timer_set_next_event() local 97 now = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); in sirfsoc_timer_set_next_event() 98 next = now + delta; in sirfsoc_timer_set_next_event() 102 now = readl_relaxed(sirfsoc_timer_base + SIRFSOC_TIMER_LATCHED_LO); in sirfsoc_timer_set_next_event() 104 return next - now > delta ? -ETIME : 0; in sirfsoc_timer_set_next_event()
|
| D | h8300_timer8.c | 96 unsigned long now; in timer8_set_next() local 101 now = timer8_get_counter(p); in timer8_set_next() 104 if (delta > now) in timer8_set_next() 107 ctrl_outw(now + 1, p->mapbase + TCORA); in timer8_set_next()
|
| /linux-4.4.14/net/atm/ |
| D | mpoa_caches.c | 229 struct timeval now; in clear_count_and_expired() local 231 do_gettimeofday(&now); in clear_count_and_expired() 238 if ((now.tv_sec - entry->tv.tv_sec) in clear_count_and_expired() 255 struct timeval now; in check_resolving_entries() local 258 do_gettimeofday(&now); in check_resolving_entries() 264 if ((now.tv_sec - entry->hold_down.tv_sec) < in check_resolving_entries() 269 if ((now.tv_sec - entry->reply_wait.tv_sec) > in check_resolving_entries() 302 struct timeval now; in refresh_entries() local 306 do_gettimeofday(&now); in refresh_entries() 313 if ((now.tv_sec - entry->reply_wait.tv_sec) > in refresh_entries() [all …]
|
| D | mpoa_proc.c | 140 struct timeval now; in mpc_show() local 150 do_gettimeofday(&now); in mpc_show() 158 (now.tv_sec-in_entry->tv.tv_sec), in mpc_show() 177 (now.tv_sec-eg_entry->tv.tv_sec)), in mpc_show()
|
| /linux-4.4.14/drivers/media/rc/ |
| D | ati_remote.c | 458 unsigned long now = jiffies; in ati_remote_compute_accel() local 461 if (time_after(now, ati_remote->old_jiffies + msecs_to_jiffies(250))) { in ati_remote_compute_accel() 463 ati_remote->acc_jiffies = now; in ati_remote_compute_accel() 465 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(125))) in ati_remote_compute_accel() 467 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(250))) in ati_remote_compute_accel() 469 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(500))) in ati_remote_compute_accel() 471 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(1000))) in ati_remote_compute_accel() 473 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(1500))) in ati_remote_compute_accel() 475 else if (time_before(now, ati_remote->acc_jiffies + msecs_to_jiffies(2000))) in ati_remote_compute_accel() 575 unsigned long now = jiffies; in ati_remote_input_report() local [all …]
|
| D | rc-ir-raw.c | 108 ktime_t now; in ir_raw_event_store_edge() local 117 now = ktime_get(); in ir_raw_event_store_edge() 118 delta = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); in ir_raw_event_store_edge() 141 dev->raw->last_event = now; in ir_raw_event_store_edge()
|
| /linux-4.4.14/samples/kprobes/ |
| D | kretprobe_example.c | 61 ktime_t now; in ret_handler() local 63 now = ktime_get(); in ret_handler() 64 delta = ktime_to_ns(ktime_sub(now, data->entry_stamp)); in ret_handler()
|
| /linux-4.4.14/net/sched/ |
| D | sch_cbq.c | 161 psched_time_t now; /* Cached timestamp */ member 357 psched_time_t now = psched_get_time(); in cbq_mark_toplevel() local 360 if (cl->undertime < now) { in cbq_mark_toplevel() 412 psched_tdiff_t delay = cl->undertime - q->now; in cbq_ovl_classic() 430 cl->undertime = q->now + delay; in cbq_ovl_classic() 447 delay = b->undertime - q->now; in cbq_ovl_classic() 485 psched_tdiff_t delay = cl->undertime - q->now; in cbq_ovl_delay() 492 psched_time_t sched = q->now; in cbq_ovl_delay() 500 cl->undertime = q->now + delay; in cbq_ovl_delay() 531 cl->penalized = q->now + cl->penalty; in cbq_ovl_lowprio() [all …]
|
| D | sch_hhf.c | 184 u32 now = hhf_time_stamp(); in seek_list() local 192 if (hhf_time_before(prev, now)) { in seek_list() 215 u32 now = hhf_time_stamp(); in alloc_new_hh() local 222 if (hhf_time_before(prev, now)) in alloc_new_hh() 255 u32 now = hhf_time_stamp(); in hhf_classify() local 259 if (hhf_time_before(prev, now)) { in hhf_classify() 262 q->hhf_arrays_reset_timestamp = now; in hhf_classify() 272 flow->hit_timestamp = now; in hhf_classify() 310 flow->hit_timestamp = now; in hhf_classify()
|
| D | sch_fq.c | 407 static void fq_check_throttled(struct fq_sched_data *q, u64 now) in fq_check_throttled() argument 411 if (q->time_next_delayed_flow > now) in fq_check_throttled() 418 if (f->time_next_packet > now) { in fq_check_throttled() 431 u64 now = ktime_get_ns(); in fq_dequeue() local 440 fq_check_throttled(q, now); in fq_dequeue() 463 if (unlikely(skb && now < f->time_next_packet && in fq_dequeue() 511 f->time_next_packet = now + len; in fq_dequeue() 819 u64 now = ktime_get_ns(); in fq_dump_stats() local 831 .time_next_delayed_flow = q->time_next_delayed_flow - now, in fq_dump_stats()
|
| D | sch_tbf.c | 239 s64 now; in tbf_dequeue() local 244 now = ktime_get_ns(); in tbf_dequeue() 245 toks = min_t(s64, now - q->t_c, q->buffer); in tbf_dequeue() 263 q->t_c = now; in tbf_dequeue() 273 now + max_t(long, -toks, -ptoks), in tbf_dequeue()
|
| D | act_police.c | 259 s64 now; in tcf_act_police() local 282 now = ktime_get_ns(); in tcf_act_police() 283 toks = min_t(s64, now - police->tcfp_t_c, in tcf_act_police() 297 police->tcfp_t_c = now; in tcf_act_police()
|
| D | sch_htb.c | 169 s64 now; /* cached dequeue time */ member 300 cl->pq_key = q->now + delay; in htb_add_to_wait_tree() 301 if (cl->pq_key == q->now) in htb_add_to_wait_tree() 653 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); in htb_charge_class() 663 cl->t_c = q->now; in htb_charge_class() 709 if (cl->pq_key > q->now) in htb_do_events() 713 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); in htb_do_events() 725 return q->now; in htb_do_events() 900 q->now = ktime_get_ns(); in htb_dequeue() 903 next_event = q->now + 5LLU * NSEC_PER_SEC; in htb_dequeue() [all …]
|
| /linux-4.4.14/fs/ |
| D | attr.c | 195 struct timespec now; in notify_change() local 212 now = current_fs_time(inode->i_sb); in notify_change() 214 attr->ia_ctime = now; in notify_change() 216 attr->ia_atime = now; in notify_change() 218 attr->ia_mtime = now; in notify_change()
|
| D | inode.c | 1535 struct timespec now) in relatime_need_update() argument 1555 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update() 1609 struct timespec now; in atime_needs_update() local 1623 now = current_fs_time(inode->i_sb); in atime_needs_update() 1625 if (!relatime_need_update(mnt, inode, now)) in atime_needs_update() 1628 if (timespec_equal(&inode->i_atime, &now)) in atime_needs_update() 1638 struct timespec now; in touch_atime() local 1657 now = current_fs_time(inode->i_sb); in touch_atime() 1658 update_time(inode, &now, S_ATIME); in touch_atime() 1773 struct timespec now; in file_update_time() local [all …]
|
| /linux-4.4.14/virt/kvm/arm/ |
| D | arch_timer.c | 100 cycle_t cval, now; in kvm_timer_compute_delta() local 103 now = kvm_phys_timer_read() - vcpu->kvm->arch.timer.cntvoff; in kvm_timer_compute_delta() 105 if (now < cval) { in kvm_timer_compute_delta() 109 cval - now, in kvm_timer_compute_delta() 153 cycle_t cval, now; in kvm_timer_should_fire() local 159 now = kvm_phys_timer_read() - vcpu->kvm->arch.timer.cntvoff; in kvm_timer_should_fire() 161 return cval <= now; in kvm_timer_should_fire()
|
| /linux-4.4.14/arch/x86/include/asm/ |
| D | intel_mid_vrtc.h | 6 extern void vrtc_get_time(struct timespec *now); 7 extern int vrtc_set_mmss(const struct timespec *now);
|
| D | mc146818rtc.h | 98 extern int mach_set_rtc_mmss(const struct timespec *now); 99 extern void mach_get_cmos_time(struct timespec *now);
|
| /linux-4.4.14/net/ipv4/ |
| D | tcp_recovery.c | 90 struct skb_mstamp now; in tcp_rack_advance() local 102 skb_mstamp_get(&now); in tcp_rack_advance() 103 if (skb_mstamp_us_delta(&now, xmit_time) < tcp_min_rtt(tp)) in tcp_rack_advance()
|
| D | tcp_cubic.c | 158 u32 now = tcp_time_stamp; in bictcp_cwnd_event() local 161 delta = now - tcp_sk(sk)->lsndtime; in bictcp_cwnd_event() 168 if (after(ca->epoch_start, now)) in bictcp_cwnd_event() 169 ca->epoch_start = now; in bictcp_cwnd_event() 398 u32 now = bictcp_clock(); in hystart_update() local 401 if ((s32)(now - ca->last_ack) <= hystart_ack_delta) { in hystart_update() 402 ca->last_ack = now; in hystart_update() 403 if ((s32)(now - ca->round_start) > ca->delay_min >> 4) { in hystart_update()
|
| D | tcp_htcp.c | 107 u32 now = tcp_time_stamp; in measure_achieved_throughput() local 121 ca->lasttime = now; in measure_achieved_throughput() 128 now - ca->lasttime >= ca->minRTT && in measure_achieved_throughput() 130 __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime); in measure_achieved_throughput() 143 ca->lasttime = now; in measure_achieved_throughput()
|
| /linux-4.4.14/fs/affs/ |
| D | Changes | 103 - 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.4.14/fs/jffs2/ |
| D | dir.c | 229 uint32_t now = get_seconds(); in jffs2_unlink() local 232 dentry->d_name.len, dead_f, now); in jffs2_unlink() 236 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink() 249 uint32_t now; in jffs2_link() local 262 now = get_seconds(); in jffs2_link() 263 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now… in jffs2_link() 270 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link() 592 uint32_t now = get_seconds(); in jffs2_rmdir() local 600 dentry->d_name.len, f, now); in jffs2_rmdir() 602 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir() [all …]
|
| /linux-4.4.14/fs/nfs/ |
| D | nfs4renewd.c | 62 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.4.14/arch/arm/kvm/ |
| D | trace.h | 304 TP_PROTO(unsigned long vcpu_pc, bool was, bool now), 305 TP_ARGS(vcpu_pc, was, now), 310 __field( bool, now ) 316 __entry->now = now; 321 __entry->now ? "on" : "off")
|
| /linux-4.4.14/scripts/ |
| D | stackusage | 4 now=`date +%s` 28 find . -name '*.su' -newermt "@${now}" -print | \
|
| /linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
| D | therm_throt.c | 156 u64 now; in therm_throt_process() local 159 now = get_jiffies_64(); in therm_throt_process() 183 if (time_before64(now, state->next_check) && in therm_throt_process() 187 state->next_check = now + CHECK_INTERVAL; in therm_throt_process() 215 u64 now = get_jiffies_64(); in thresh_event_valid() local 224 if (time_before64(now, state->next_check)) in thresh_event_valid() 227 state->next_check = now + CHECK_INTERVAL; in thresh_event_valid()
|
| D | mce_intel.c | 214 unsigned long now = jiffies; in cmci_storm_detect() local 220 if (time_before_eq(now, ts + CMCI_STORM_INTERVAL)) { in cmci_storm_detect() 224 __this_cpu_write(cmci_time_stamp, now); in cmci_storm_detect()
|
| /linux-4.4.14/drivers/misc/ibmasm/ |
| D | ibmasm.h | 56 struct timeval now; in get_timestamp() local 57 do_gettimeofday(&now); in get_timestamp() 58 sprintf(buf, "%lu.%lu", now.tv_sec, now.tv_usec); in get_timestamp()
|
| /linux-4.4.14/include/linux/ |
| D | timekeeping.h | 27 struct timespec64 now = current_kernel_time64(); in current_kernel_time() local 29 return timespec64_to_timespec(now); in current_kernel_time() 277 extern int update_persistent_clock(struct timespec now); 278 extern int update_persistent_clock64(struct timespec64 now);
|
| D | alarmtimer.h | 38 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now); 52 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
|
| D | uwb.h | 717 unsigned long now; in edc_inc() local 719 now = jiffies; in edc_inc() 720 if (now - err_hist->timestart > timeframe) { in edc_inc() 722 err_hist->timestart = now; in edc_inc() 725 err_hist->timestart = now; in edc_inc()
|
| D | hrtimer.h | 327 __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now) in __hrtimer_expires_remaining_adjusted() argument 329 ktime_t rem = ktime_sub(timer->node.expires, now); in __hrtimer_expires_remaining_adjusted() 446 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval);
|
| /linux-4.4.14/drivers/ide/ |
| D | ide-park.c | 93 unsigned long now; in ide_park_show() local 100 now = jiffies; in ide_park_show() 102 time_after(drive->sleep, now)) in ide_park_show() 103 msecs = jiffies_to_msecs(drive->sleep - now); in ide_park_show()
|
| D | ide-eh.c | 366 unsigned long now; in do_reset1() local 376 now = jiffies; in do_reset1() 377 if (time_before_eq(timeout, now)) in do_reset1() 381 timeout = schedule_timeout_uninterruptible(timeout - now); in do_reset1()
|
| /linux-4.4.14/arch/mips/kvm/ |
| D | emulate.c | 246 static uint32_t kvm_mips_ktime_to_count(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_ktime_to_count() argument 251 now_ns = ktime_to_ns(now); in kvm_mips_ktime_to_count() 303 static uint32_t kvm_mips_read_count_running(struct kvm_vcpu *vcpu, ktime_t now) in kvm_mips_read_count_running() argument 311 count = vcpu->arch.count_bias + kvm_mips_ktime_to_count(vcpu, now); in kvm_mips_read_count_running() 328 threshold = ktime_add_ns(now, vcpu->arch.count_period / 4); in kvm_mips_read_count_running() 393 ktime_t now; in kvm_mips_freeze_hrtimer() local 397 now = ktime_get(); in kvm_mips_freeze_hrtimer() 400 *count = kvm_mips_read_count_running(vcpu, now); in kvm_mips_freeze_hrtimer() 402 return now; in kvm_mips_freeze_hrtimer() 422 ktime_t now, uint32_t count) in kvm_mips_resume_hrtimer() argument [all …]
|
| /linux-4.4.14/arch/mips/kernel/ |
| D | time.c | 47 int update_persistent_clock(struct timespec now) in update_persistent_clock() argument 49 return rtc_mips_set_mmss(now.tv_sec); in update_persistent_clock()
|
| /linux-4.4.14/drivers/platform/chrome/ |
| D | cros_ec_lightbar.c | 68 unsigned long now, next_timeslot; in lb_throttle() local 74 now = jiffies; in lb_throttle() 77 if (time_before(now, next_timeslot)) { in lb_throttle() 78 delay = (long)(next_timeslot) - (long)now; in lb_throttle() 85 now = jiffies; in lb_throttle() 88 last_access = now; in lb_throttle()
|
| /linux-4.4.14/arch/arm/lib/ |
| D | findbit.S | 33 bne .L_found @ any now set - found zero bit 53 eor r3, r3, #0xff @ now looking for a 1 bit 74 bne .L_found @ any now set - found zero bit 112 bne .L_found @ any now set - found zero bit 129 eor r3, r3, #0xff @ now looking for a 1 bit 146 bne .L_found @ any now set - found zero bit
|
| /linux-4.4.14/net/bridge/netfilter/ |
| D | ebt_limit.c | 38 unsigned long now = jiffies; in ebt_limit_mt() local 41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; in ebt_limit_mt()
|
| /linux-4.4.14/crypto/ |
| D | xor.c | 67 unsigned long now, j; in do_xor_speed() local 84 while ((now = jiffies) == j) in do_xor_speed() 86 while (time_before(jiffies, now + 1)) { in do_xor_speed()
|
| /linux-4.4.14/drivers/clk/ |
| D | clk-divider.c | 257 static bool _is_best_div(unsigned long rate, unsigned long now, in _is_best_div() argument 261 return abs(rate - now) < abs(rate - best); in _is_best_div() 263 return now <= rate && now > best; in _is_best_div() 285 unsigned long parent_rate, best = 0, now, maxdiv; in clk_divider_bestdiv() local 321 now = DIV_ROUND_UP_ULL((u64)parent_rate, i); in clk_divider_bestdiv() 322 if (_is_best_div(rate, now, best, flags)) { in clk_divider_bestdiv() 324 best = now; in clk_divider_bestdiv()
|
| /linux-4.4.14/tools/perf/arch/x86/tests/ |
| D | rdpmc.c | 125 u64 stamp, now, delta; in __test__rdpmc() local 132 now = mmap_read_self(addr); in __test__rdpmc() 135 delta = now - stamp; in __test__rdpmc()
|
| /linux-4.4.14/drivers/staging/comedi/drivers/ |
| D | comedi_test.c | 190 u64 now; in waveform_ai_timer() local 198 now = ktime_to_us(ktime_get()); in waveform_ai_timer() 201 while (nsamples && devpriv->ai_convert_time < now) { in waveform_ai_timer() 226 if (devpriv->ai_convert_time > now) in waveform_ai_timer() 227 time_increment = devpriv->ai_convert_time - now; in waveform_ai_timer() 435 u64 now; in waveform_ao_timer() local 444 now = ktime_to_us(ktime_get()); in waveform_ao_timer() 445 scans_since = now - devpriv->ao_last_scan_time; in waveform_ao_timer() 495 devpriv->ao_scan_period - now; in waveform_ao_timer()
|
| /linux-4.4.14/Documentation/filesystems/ |
| D | porting | 37 Keep in mind that now you need explicit initialization of private data 88 and ->readdir() are called without BKL now. Grab it on entry, drop upon return 90 parts do not need BKL - better yet, now you can shift lock_kernel() and 132 ->setattr() is called without BKL now. Caller _always_ holds ->i_mutex, so 134 Callers of notify_change() need ->i_mutex now. 154 s_export_op is now required for exporting a filesystem. 244 ->permission() is called without BKL now. Grab it on entry, drop upon 246 your method or its parts do not need BKL - better yet, now you can 253 ->statfs() is now called without BKL held. BKL should have been 285 implemented in ->setattr, which is now mandatory for filesystems [all …]
|
| /linux-4.4.14/arch/sh/kernel/ |
| D | time.c | 47 int update_persistent_clock(struct timespec now) in update_persistent_clock() argument 49 return rtc_sh_set_time(now.tv_sec); in update_persistent_clock()
|
| /linux-4.4.14/drivers/input/ |
| D | ff-memless.c | 127 unsigned long now = jiffies; in ml_schedule_timer() local 147 if (time_before_eq(now, next_at) && in ml_schedule_timer() 168 unsigned long now = jiffies; in apply_envelope() local 175 time_before(now, in apply_envelope() 179 time_from_level = jiffies_to_msecs(now - state->play_at); in apply_envelope() 184 time_after(now, in apply_envelope() 186 time_before(now, state->stop_at)) { in apply_envelope() 187 time_from_level = jiffies_to_msecs(state->stop_at - now); in apply_envelope()
|
| /linux-4.4.14/Documentation/pcmcia/ |
| D | driver-changes.txt | 4 pcmcia_loop_config() now sets up certain configuration values 16 as it mirrors pcmcia_disable_device(). Configuration settings are now 21 Instead of win_req_t, drivers are now requested to fill out 28 Instead of io_req_t, drivers are now requested to fill out 43 Instead of the old pcmcia_request_irq() interface, drivers may now 73 necessary now is calling pcmcia_disable_device. As there is no valid 96 PCMCIA devices and their correct drivers can now be matched in 138 authors are now responsible for claiming your resources as per
|
| /linux-4.4.14/drivers/staging/media/lirc/ |
| D | lirc_parallel.c | 147 struct timeval tv, now; in init_lirc_timer() local 159 do_gettimeofday(&now); in init_lirc_timer() 160 } while (count < 1000 && (now.tv_sec < tv.tv_sec in init_lirc_timer() 161 || (now.tv_sec == tv.tv_sec in init_lirc_timer() 162 && now.tv_usec < tv.tv_usec))); in init_lirc_timer() 164 timeelapsed = (now.tv_sec + 1 - tv.tv_sec)*1000000 in init_lirc_timer() 165 + (now.tv_usec - tv.tv_usec); in init_lirc_timer()
|
| /linux-4.4.14/drivers/lguest/ |
| D | hypercalls.c | 303 struct timespec now; in write_timestamp() local 304 ktime_get_real_ts(&now); in write_timestamp() 306 &now, sizeof(struct timespec))) in write_timestamp()
|
| /linux-4.4.14/kernel/power/ |
| D | suspend_test.c | 74 unsigned long now; in test_wakealarm() local 85 rtc_tm_to_time(&alm.time, &now); in test_wakealarm() 88 rtc_time_to_tm(now + TEST_SUSPEND_SECONDS, &alm.time); in test_wakealarm()
|
| D | wakelock.c | 105 ktime_t now; in __wakelocks_gc() local 109 now = ktime_get(); in __wakelocks_gc() 115 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws.last_time)); in __wakelocks_gc()
|
| /linux-4.4.14/arch/unicore32/lib/ |
| D | findbit.S | 26 bne .L_found @ any now set - found zero bit 45 xor r3, r3, #0xff @ now looking for a 1 bit 64 bne .L_found @ any now set - found zero bit
|
| /linux-4.4.14/net/netfilter/ |
| D | nft_limit.c | 33 u64 now, tokens; in nft_limit_eval() local 37 now = ktime_get_ns(); in nft_limit_eval() 38 tokens = limit->tokens + now - limit->last; in nft_limit_eval() 42 limit->last = now; in nft_limit_eval()
|
| D | xt_limit.c | 73 unsigned long now = jiffies; in limit_mt() local 76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt()
|
| D | xt_hashlimit.c | 445 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, u32 mode) in rateinfo_recalc() argument 447 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc() 453 dh->rateinfo.prev = now; in rateinfo_recalc() 610 unsigned long now = jiffies; in hashlimit_mt() local 628 dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire); in hashlimit_mt() 629 rateinfo_recalc(dh, now, hinfo->cfg.mode); in hashlimit_mt() 636 dh->expires = now + msecs_to_jiffies(hinfo->cfg.expire); in hashlimit_mt() 637 rateinfo_recalc(dh, now, hinfo->cfg.mode); in hashlimit_mt()
|
| /linux-4.4.14/security/keys/ |
| D | permission.c | 103 struct timespec now = current_kernel_time(); in key_validate() local 104 if (now.tv_sec >= key->expiry) in key_validate()
|
| D | gc.c | 59 time_t now = current_kernel_time().tv_sec; in key_schedule_gc() local 61 kenter("%ld", gc_at - now); in key_schedule_gc() 63 if (gc_at <= now || test_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) { in key_schedule_gc() 69 expires = jiffies + (gc_at - now) * HZ; in key_schedule_gc()
|
| D | key.c | 539 struct timespec now; in key_reject_and_link() local 561 now = current_kernel_time(); in key_reject_and_link() 562 key->expiry = now.tv_sec + timeout; in key_reject_and_link() 681 struct timespec now; in key_set_timeout() local 688 now = current_kernel_time(); in key_set_timeout() 689 expiry = now.tv_sec + timeout; in key_set_timeout() 982 struct timespec now; in key_revoke() local 998 now = current_kernel_time(); in key_revoke() 999 time = now.tv_sec; in key_revoke()
|
| D | proc.c | 181 struct timespec now; in proc_keys_show() local 219 now = current_kernel_time(); in proc_keys_show() 226 } else if (now.tv_sec >= key->expiry) { in proc_keys_show() 229 timo = key->expiry - now.tv_sec; in proc_keys_show()
|
| /linux-4.4.14/fs/afs/ |
| D | vlocation.c | 546 time_t now; in afs_vlocation_reaper() local 550 now = get_seconds(); in afs_vlocation_reaper() 561 if (expiry > now) { in afs_vlocation_reaper() 562 delay = (expiry - now) * HZ; in afs_vlocation_reaper() 625 time_t now; in afs_vlocation_updater() local 631 now = get_seconds(); in afs_vlocation_updater() 649 timeout = vl->update_at - now; in afs_vlocation_updater() 702 timeout = xvl->update_at - now; in afs_vlocation_updater()
|
| D | server.c | 275 time_t now; in afs_reap_server() local 277 now = get_seconds(); in afs_reap_server() 286 if (expiry > now) { in afs_reap_server() 287 delay = (expiry - now) * HZ; in afs_reap_server()
|
| D | callback.c | 365 time_t now; 373 now = get_seconds(); 392 timeout = vnode->update_at - now; 442 timeout = xvnode->update_at - now;
|
| /linux-4.4.14/Documentation/video4linux/ |
| D | omap4_camera.txt | 19 This driver is supporting _only_ the CSI2-A/B interfaces for now. 23 except that it doesn't need an IOMMU now for ISS buffers memory mapping. 25 Supports usage of MMAP buffers only (for now).
|
| /linux-4.4.14/drivers/net/wireless/b43/ |
| D | debugfs.c | 420 static unsigned long calc_expire_secs(unsigned long now, in calc_expire_secs() argument 426 if (time_after(now, expire)) in calc_expire_secs() 428 if (expire < now) { in calc_expire_secs() 431 now -= MAX_JIFFY_OFFSET; in calc_expire_secs() 433 B43_WARN_ON(expire < now); in calc_expire_secs() 435 return (expire - now) / HZ; in calc_expire_secs() 445 unsigned long now = jiffies; in loctls_read_file() local 459 calc_expire_secs(now, lo->txctl_measured_time, in loctls_read_file() 464 calc_expire_secs(now, lo->pwr_vec_read_time, in loctls_read_file() 478 calc_expire_secs(now, cal->calib_time, in loctls_read_file()
|
| /linux-4.4.14/net/sunrpc/ |
| D | cache.c | 46 time_t now = seconds_since_boot(); in cache_init() local 50 h->expiry_time = now + CACHE_NEW_EXPIRY; in cache_init() 51 if (now <= detail->flush_time) in cache_init() 53 now = detail->flush_time + 1; in cache_init() 54 h->last_refresh = now; in cache_init() 125 time_t now = seconds_since_boot(); in cache_fresh_locked() local 126 if (now <= detail->flush_time) in cache_fresh_locked() 128 now = detail->flush_time + 1; in cache_fresh_locked() 130 head->last_refresh = now; in cache_fresh_locked() 499 time_t now = seconds_since_boot(); in cache_purge() local [all …]
|
| D | stats.c | 151 ktime_t delta, now; in rpc_count_iostats_metrics() local 156 now = ktime_get(); in rpc_count_iostats_metrics() 171 delta = ktime_sub(now, task->tk_start); in rpc_count_iostats_metrics()
|
| /linux-4.4.14/Documentation/scsi/ |
| D | in2000.txt | 12 The driver now makes use of the __initfunc() and 28 means that CDROM changers work now! Fixed a bug in the 41 now we deal with all of them correctly. Thanks to Joerg 46 The memory-mapped hardware on the card is now accessed via 60 /proc interface is now in place - if you want to play 68 Also, sync is now DISABLED by default. 73 that would show up every now and then during extreme 97 now selectively disable sync on individual devices - 100 caused the auto-detect function to fail; there is now a
|
| D | ChangeLog.ncr53c8xx | 35 sym53c8xx_defs.h header files. They are now shared by the 66 be shared by sym53c8xx and ncr53c8xx drivers. For now, it is 83 be shared by sym53c8xx and ncr53c8xx drivers. For now, it is 128 io_request_lock since it seems to be a definite feature now.:) 131 some minor changes. The driver can now attach any number of 140 io_request_lock since it seems to be a definite feature now.:) 171 - Set for now MAX LUNS to 16 (instead of 8). 222 - The SISL RAID change requires now remap_pci_mem() stuff to be 285 so that it now provides the right information to the C code. 321 CmdQueue is now handled as a LUN capability as it shall be. [all …]
|
| D | Mylex.txt | 4 The Mylex DAC960 PCI RAID Controllers are now supported. Please consult
|
| D | ChangeLog.sym53c8xx_2 | 63 Is now only applied to revision 0. 116 - Complete rewrite of the eh handling. The driver is now using a 136 All driver memory allocations are now not greater than 1 PAGE 144 as Paul Mackerras stated that MMIO works fine now on this arch.
|
| /linux-4.4.14/drivers/net/ethernet/freescale/ |
| D | gianfar_ptp.c | 308 s64 now; in ptp_gianfar_adjtime() local 314 now = tmr_cnt_read(etsects); in ptp_gianfar_adjtime() 315 now += delta; in ptp_gianfar_adjtime() 316 tmr_cnt_write(etsects, now); in ptp_gianfar_adjtime() 442 struct timespec64 now; in gianfar_ptp_probe() local 497 getnstimeofday64(&now); in gianfar_ptp_probe() 498 ptp_gianfar_settime(&etsects->caps, &now); in gianfar_ptp_probe()
|
| /linux-4.4.14/arch/mn10300/kernel/ |
| D | rtc.c | 112 int update_persistent_clock(struct timespec now) in update_persistent_clock() argument 114 return set_rtc_mmss(now.tv_sec); in update_persistent_clock()
|
| /linux-4.4.14/drivers/ptp/ |
| D | ptp_ixp46x.c | 162 s64 now; in ptp_ixp_adjtime() local 169 now = ixp_systime_read(regs); in ptp_ixp_adjtime() 170 now += delta; in ptp_ixp_adjtime() 171 ixp_systime_write(regs, now); in ptp_ixp_adjtime()
|
| /linux-4.4.14/drivers/power/reset/ |
| D | ltc2952-poweroff.c | 104 ktime_t now; in ltc2952_poweroff_timer_wde() local 115 now = hrtimer_cb_get_time(timer); in ltc2952_poweroff_timer_wde() 116 overruns = hrtimer_forward(timer, now, data->wde_interval); in ltc2952_poweroff_timer_wde()
|
| /linux-4.4.14/drivers/watchdog/ |
| D | da9062_wdt.c | 53 unsigned long now = jiffies; in da9062_apply_window_protection() local 57 if (time_before(now, timeout)) { in da9062_apply_window_protection() 58 diff_ms = jiffies_to_msecs(timeout-now); in da9062_apply_window_protection()
|
| /linux-4.4.14/drivers/md/ |
| D | dm-kcopyd.c | 101 unsigned throttle, now, difference; in io_job_start() local 115 now = jiffies; in io_job_start() 116 difference = now - t->last_jiffies; in io_job_start() 117 t->last_jiffies = now; in io_job_start() 164 unsigned now, difference; in io_job_finish() local 166 now = jiffies; in io_job_finish() 167 difference = now - t->last_jiffies; in io_job_finish() 168 t->last_jiffies = now; in io_job_finish()
|
| /linux-4.4.14/fs/autofs4/ |
| D | expire.c | 17 static unsigned long now; variable 31 if (!timeout || time_after(ino->last_used + timeout, now)) in autofs4_can_expire() 309 now = jiffies; in autofs4_expire_direct() 440 now = jiffies; in autofs4_expire_indirect() 553 ino->last_used = now; in autofs4_expire_run() 581 ino->last_used = now; in autofs4_do_expire_multi()
|
| /linux-4.4.14/arch/xtensa/lib/ |
| D | memset.S | 120 # now retest if dst aligned 121 bbci.l a5, 1, .L0 # if now aligned, return to main algorithm 128 j .L0 # dst is now aligned, return to main algorithm
|
| /linux-4.4.14/drivers/crypto/nx/ |
| D | nx-842-powernv.c | 173 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb() local 178 now = ktime_get(); in wait_for_csb() 179 if (ktime_after(now, timeout)) in wait_for_csb() 189 (long)ktime_us_delta(now, start)); in wait_for_csb() 351 (unsigned long)ktime_us_delta(now, start)); in wait_for_csb()
|
| /linux-4.4.14/fs/ocfs2/cluster/ |
| D | netdebug.c | 133 ktime_t now; in nst_seq_show() local 141 now = ktime_get(); in nst_seq_show() 142 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show() 143 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show() 144 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
|
| /linux-4.4.14/Documentation/block/ |
| D | biovecs.txt | 26 * Driver code should no longer refer to biovecs directly; we now have 73 * Splitting bios is now much simpler. The old bio_split() didn't even work on 81 * Submitting partially completed bios is now perfectly fine - this comes up 95 * Almost all usage of bi_idx is now incorrect and has been removed; instead, 96 where previously you would have used bi_idx you'd now use a bvec_iter, 100 now use bio_iter_iovec(), which takes a bvec_iter and returns a
|
| /linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
| D | lproc_osc.c | 601 struct timespec64 now; in osc_rpc_stats_seq_show() local 607 ktime_get_real_ts64(&now); in osc_rpc_stats_seq_show() 612 (s64)now.tv_sec, (unsigned long)now.tv_nsec); in osc_rpc_stats_seq_show() 722 struct timespec64 now; in osc_stats_seq_show() local 726 ktime_get_real_ts64(&now); in osc_stats_seq_show() 729 (s64)now.tv_sec, (unsigned long)now.tv_nsec); in osc_stats_seq_show()
|
| /linux-4.4.14/drivers/char/ |
| D | random.c | 899 unsigned long now = jiffies; in add_interrupt_randomness() local 909 j_high = (sizeof(now) > 4) ? now >> 32 : 0; in add_interrupt_randomness() 911 fast_pool->pool[1] ^= now ^ c_high; in add_interrupt_randomness() 921 !time_after(now, fast_pool->last + HZ)) in add_interrupt_randomness() 928 fast_pool->last = now; in add_interrupt_randomness() 984 unsigned long now = jiffies; in xfer_secondary_pool() local 986 if (time_before(now, in xfer_secondary_pool() 989 r->last_pulled = now; in xfer_secondary_pool() 1370 ktime_t now = ktime_get_real(); in init_std_data() local 1374 mix_pool_bytes(r, &now, sizeof(now)); in init_std_data()
|
| /linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
| D | router.c | 791 time64_t now; in lnet_update_ni_status_locked() local 799 now = ktime_get_real_seconds(); in lnet_update_ni_status_locked() 804 if (now < ni->ni_last_alive + timeout) in lnet_update_ni_status_locked() 809 if (now < ni->ni_last_alive + timeout) { in lnet_update_ni_status_locked() 934 unsigned long now = cfs_time_current(); in lnet_ping_router_locked() local 940 cfs_time_after(now, rtr->lp_ping_deadline)) in lnet_ping_router_locked() 941 lnet_notify_locked(rtr, 1, 0, now); in lnet_ping_router_locked() 968 cfs_time_after(now, cfs_time_add(rtr->lp_ping_timestamp, in lnet_ping_router_locked() 979 rtr->lp_ping_timestamp = now; in lnet_ping_router_locked() 1496 unsigned long now = cfs_time_current(); in lnet_notify() local [all …]
|
| D | lib-eq.c | 328 unsigned long now; in lnet_eq_wait_locked() local 343 now = jiffies; in lnet_eq_wait_locked() 345 tms -= jiffies_to_msecs(jiffies - now); in lnet_eq_wait_locked()
|
| D | router_proc.c | 346 unsigned long now = cfs_time_current(); in proc_lnet_routers() local 353 int last_ping = cfs_duration_sec(cfs_time_sub(now, in proc_lnet_routers() 384 cfs_duration_sec(cfs_time_sub(deadline, now)), in proc_lnet_routers() 525 unsigned long now = cfs_time_current(); in proc_lnet_peers() local 528 delta = cfs_time_sub(now, peer->lp_last_alive); in proc_lnet_peers() 695 time64_t now = ktime_get_real_seconds(); in proc_lnet_nis() local 701 last_alive = now - ni->ni_last_alive; in proc_lnet_nis()
|
| /linux-4.4.14/drivers/staging/media/bcm2048/ |
| D | TODO | 7 Most drivers are by now converted to the control framework, so you will 11 support is now available as controls (although there may well be some
|
| /linux-4.4.14/Documentation/x86/x86_64/ |
| D | cpu-hotplug-spec | 4 Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants to 13 For CPU hotplug Linux/x86-64 expects now that any possible future hotpluggable
|
| /linux-4.4.14/arch/powerpc/perf/ |
| D | hv-gpci.c | 190 u64 now = h_gpci_get_value(event); in h_gpci_event_update() local 191 prev = local64_xchg(&event->hw.prev_count, now); in h_gpci_event_update() 192 local64_add(now - prev, &event->count); in h_gpci_event_update()
|
| /linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 161 struct timespec64 now, then = ns_to_timespec64(delta); in i40e_ptp_adjtime() local 166 i40e_ptp_read(pf, &now); in i40e_ptp_adjtime() 167 now = timespec64_add(now, then); in i40e_ptp_adjtime() 168 i40e_ptp_write(pf, (const struct timespec64 *)&now); in i40e_ptp_adjtime()
|
| /linux-4.4.14/net/bridge/ |
| D | br_multicast.c | 677 unsigned long now = jiffies; in br_multicast_add_group() local 692 mod_timer(&mp->timer, now + br->multicast_membership_interval); in br_multicast_add_group() 712 mod_timer(&p->timer, now + br->multicast_membership_interval); in br_multicast_add_group() 1228 unsigned long now = jiffies; in br_multicast_mark_router() local 1233 now + br->multicast_querier_interval); in br_multicast_mark_router() 1243 now + br->multicast_querier_interval); in br_multicast_mark_router() 1272 unsigned long now = jiffies; in br_ip4_multicast_query() local 1319 time_after(mp->timer.expires, now + max_delay) : in br_ip4_multicast_query() 1321 mod_timer(&mp->timer, now + max_delay); in br_ip4_multicast_query() 1327 time_after(p->timer.expires, now + max_delay) : in br_ip4_multicast_query() [all …]
|
| /linux-4.4.14/net/core/ |
| D | neighbour.c | 269 unsigned long now = jiffies; in neigh_alloc() local 275 time_after(now, tbl->last_flush + 5 * HZ))) { in neigh_alloc() 292 n->updated = n->used = now; in neigh_alloc() 871 unsigned long now, next; in neigh_timer_handler() local 879 now = jiffies; in neigh_timer_handler() 880 next = now + HZ; in neigh_timer_handler() 886 if (time_before_eq(now, in neigh_timer_handler() 890 } else if (time_before_eq(now, in neigh_timer_handler() 897 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); in neigh_timer_handler() 906 if (time_before_eq(now, in neigh_timer_handler() [all …]
|
| /linux-4.4.14/mm/ |
| D | page-writeback.c | 1122 unsigned long now) in domain_update_bandwidth() argument 1129 if (time_before(now, dom->dirty_limit_tstamp + BANDWIDTH_INTERVAL)) in domain_update_bandwidth() 1133 if (time_after_eq(now, dom->dirty_limit_tstamp + BANDWIDTH_INTERVAL)) { in domain_update_bandwidth() 1135 dom->dirty_limit_tstamp = now; in domain_update_bandwidth() 1309 unsigned long now = jiffies; in __wb_update_bandwidth() local 1310 unsigned long elapsed = now - wb->bw_time_stamp; in __wb_update_bandwidth() 1333 domain_update_bandwidth(gdtc, now); in __wb_update_bandwidth() 1341 domain_update_bandwidth(mdtc, now); in __wb_update_bandwidth() 1350 wb->bw_time_stamp = now; in __wb_update_bandwidth() 1543 unsigned long now = jiffies; in balance_dirty_pages() local [all …]
|
| /linux-4.4.14/drivers/platform/x86/ |
| D | ideapad-laptop.c | 672 unsigned long now; in ideapad_backlight_get_brightness() local 677 if (read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now)) in ideapad_backlight_get_brightness() 679 return now; in ideapad_backlight_get_brightness() 708 unsigned long max, now, power; in ideapad_backlight_init() local 712 if (read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now)) in ideapad_backlight_init() 731 blightdev->props.brightness = now; in ideapad_backlight_init() 758 unsigned long now; in ideapad_backlight_notify_brightness() local 762 read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now); in ideapad_backlight_notify_brightness()
|
| /linux-4.4.14/drivers/input/joystick/ |
| D | analog.c | 253 u64 time[4], start, loop, now; in analog_cooked_read() local 264 now = get_time(); in analog_cooked_read() 267 start = now; in analog_cooked_read() 272 loop = now; in analog_cooked_read() 277 now = get_time(); in analog_cooked_read() 280 if ((last ^ this) && (delta(loop, now) < loopout)) { in analog_cooked_read() 282 time[i] = now; in analog_cooked_read() 286 } while (this && (i < 4) && (delta(start, now) < timeout)); in analog_cooked_read()
|
| /linux-4.4.14/Documentation/sound/oss/ |
| D | ESS | 9 All ESS chips now have a recording level setting. This is a need-to-have for 15 Every chip that's detected as a ES1887 now has Full Duplex support. Made a
|
| /linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
| D | import.c | 221 ptlrpc_inflight_deadline(struct ptlrpc_request *req, time64_t now) in ptlrpc_inflight_deadline() argument 238 if (dl <= now) in ptlrpc_inflight_deadline() 241 return dl - now; in ptlrpc_inflight_deadline() 246 time64_t now = ktime_get_real_seconds(); in ptlrpc_inflight_timeout() local 254 timeout = max(ptlrpc_inflight_deadline(req, now), timeout); in ptlrpc_inflight_timeout() 1516 time64_t now = ktime_get_real_seconds(); in at_measured() local 1521 val, at, (long)(now - at->at_binstart), at->at_current, in at_measured() 1535 at->at_worst_time = now; in at_measured() 1537 at->at_binstart = now; in at_measured() 1538 } else if (now - at->at_binstart < binlimit) { in at_measured() [all …]
|
| /linux-4.4.14/arch/m68k/ifpsp060/src/ |
| D | ilsp.S | 314 swap %d5 # now remainder 358 # now test the trial quotient and adjust. This step plus the 387 # now test the word by multiplying it by the divisor (V1V2) and comparing 394 mov.l %d5, %d2 # now %d2,%d3 are trial*divisor 408 clr.w %d3 # %d3 now ls word of divisor 412 clr.w %d3 # %d3 now ms word of divisor 418 # first quotient digit now correct. store digit and shift the 462 # now use swap and addx to consolidate to two longwords 472 swap %d5 # now use msws of longwords 475 add.l %d3, %d5 # %d5 now ms 32 bits of final product [all …]
|
| /linux-4.4.14/net/tipc/ |
| D | name_distr.c | 346 unsigned long now = get_jiffies_64(); in tipc_named_add_backlog() local 353 e->expires = now + msecs_to_jiffies(sysctl_tipc_named_timeout); in tipc_named_add_backlog() 366 unsigned long now = get_jiffies_64(); in tipc_named_process_backlog() local 369 if (time_after(e->expires, now)) { in tipc_named_process_backlog()
|
| /linux-4.4.14/drivers/clk/ti/ |
| D | divider.c | 150 unsigned long parent_rate, best = 0, now, maxdiv; in ti_clk_divider_bestdiv() local 186 now = DIV_ROUND_UP(parent_rate, i); in ti_clk_divider_bestdiv() 187 if (now <= rate && now > best) { in ti_clk_divider_bestdiv() 189 best = now; in ti_clk_divider_bestdiv()
|
| /linux-4.4.14/tools/perf/tests/attr/ |
| D | test-record-graph-dwarf | 9 # TODO different for each arch, no support for that now
|
| /linux-4.4.14/Documentation/networking/ |
| D | de4x5.txt | 10 but it will now attempt to support all cards which conform to the 66 NB: autoprobing for modules is now supported by default. You may just 90 By default, the driver will now autodetect any DECchip based card. 98 auto media sense algorithm is that it can now use one that is more in 130 This driver will now add the interrupt service routine as a fast 154 Command line arguments are now allowed, similar to passing arguments
|
| /linux-4.4.14/drivers/s390/scsi/ |
| D | zfcp_qdio.c | 51 unsigned long long now, span; in zfcp_qdio_account() local 54 now = get_tod_clock_monotonic(); in zfcp_qdio_account() 55 span = (now - qdio->req_q_time) >> 12; in zfcp_qdio_account() 58 qdio->req_q_time = now; in zfcp_qdio_account()
|
| /linux-4.4.14/net/netfilter/ipvs/ |
| D | ip_vs_lblc.c | 264 unsigned long now = jiffies; in ip_vs_lblc_full_check() local 272 if (time_before(now, in ip_vs_lblc_full_check() 301 unsigned long now = jiffies; in ip_vs_lblc_check_expire() local 328 if (time_before(now, en->lastuse + ENTRY_TIMEOUT)) in ip_vs_lblc_check_expire()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
| D | lproc_llite.c | 1147 struct timespec64 now; in ll_rw_extents_stats_pp_seq_show() local 1152 ktime_get_real_ts64(&now); in ll_rw_extents_stats_pp_seq_show() 1160 (s64)now.tv_sec, (unsigned long)now.tv_nsec); in ll_rw_extents_stats_pp_seq_show() 1226 struct timespec64 now; in ll_rw_extents_stats_seq_show() local 1230 ktime_get_real_ts64(&now); in ll_rw_extents_stats_seq_show() 1238 (u64)now.tv_sec, (unsigned long)now.tv_nsec); in ll_rw_extents_stats_seq_show() 1404 struct timespec64 now; in ll_rw_offset_stats_seq_show() local 1410 ktime_get_real_ts64(&now); in ll_rw_offset_stats_seq_show() 1420 (s64)now.tv_sec, (unsigned long)now.tv_nsec); in ll_rw_offset_stats_seq_show()
|
| /linux-4.4.14/Documentation/arm/ |
| D | Setup | 32 This is now obsolete, and should not be used. 82 These are now obsolete, and should not be used. 125 These are now obsolete, and should not be used.
|
| /linux-4.4.14/drivers/usb/host/ |
| D | ehci-timer.c | 408 ktime_t now; in ehci_hrtimer_func() local 423 now = ktime_get(); in ehci_hrtimer_func() 425 if (now.tv64 >= ehci->hr_timeouts[e].tv64) in ehci_hrtimer_func()
|
| /linux-4.4.14/Documentation/ide/ |
| D | ChangeLog.ide-tape.1995-2002 | 10 * Ver 0.3 Nov 28 95 Long backups are now possible, thanks to the 15 * now supported by our character device. As a result, 39 * On each read / write request, we now ask the drive 58 * Single character device data transfers are now 76 * The block device interface can now be opened, so 92 * are now as fast as backups. 108 * The character device interface will now present a 117 * now sometimes be used with IDE tape drives as well.
|
| /linux-4.4.14/Documentation/watchdog/ |
| D | convert_drivers_to_kernel_api.txt | 16 etc... These are now handled by the framework and just call the driver when 90 Since the file_operations are gone now, you can also remove the 'struct 104 Because of the simplifications, a few defines are probably unused now. Remove 118 functions in the old driver. Note that you will now get a pointer to the 208 The entry for the driver now needs to select WATCHDOG_CORE:
|
| /linux-4.4.14/Documentation/filesystems/nfs/ |
| D | pnfs-block-server.txt | 3 The Linux NFS server now supports the pNFS block layout extension. In this 12 to the clients in addition to the MDS. As of now the file system needs to
|
| /linux-4.4.14/arch/mips/boot/dts/brcm/ |
| D | bcm97125cbmb.dts | 24 /* FIXME: USB is wonky; disable it for now */
|
| /linux-4.4.14/arch/powerpc/platforms/85xx/ |
| D | smp.c | 383 long now; in mpc85xx_smp_kexec_cpu_down() local 407 now = mftb(); in mpc85xx_smp_kexec_cpu_down() 408 if (!notified && now - start > 1000000) { in mpc85xx_smp_kexec_cpu_down()
|
| /linux-4.4.14/drivers/iio/temperature/ |
| D | mlx90614.c | 182 unsigned long now; in mlx90614_power_get() local 190 now = jiffies; in mlx90614_power_get() 191 if (time_before(now, data->ready_timestamp) && in mlx90614_power_get() 193 data->ready_timestamp - now)) != 0) { in mlx90614_power_get()
|
| /linux-4.4.14/Documentation/devicetree/bindings/display/ |
| D | ssd1289fb.txt | 5 now is lbc.
|