Home
last modified time | relevance | path

Searched refs:now (Results 1 – 200 of 921) sorted by relevance

12345

/linux-4.1.27/kernel/time/
Dtick-sched.c52 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()
200 static void tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now);
434 static void tick_nohz_update_jiffies(ktime_t now) in tick_nohz_update_jiffies() argument
438 __this_cpu_write(tick_cpu_sched.idle_waketime, now); in tick_nohz_update_jiffies()
441 tick_do_update_jiffies64(now); in tick_nohz_update_jiffies()
451 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) in update_ts_time_stats() argument
[all …]
Dtimer_list.c27 u64 now; member
58 int idx, u64 now) in print_timer() argument
79 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer()
80 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer()
85 u64 now) in print_active_timers() argument
112 print_timer(m, timer, &tmp, i, now); in print_active_timers()
120 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() argument
135 print_active_timers(m, base, now); in print_base()
138 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() argument
146 print_base(m, cpu_base->clock_base + i, now); in print_cpu()
[all …]
Dtimekeeping_internal.h16 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()
Dalarmtimer.c223 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()
404 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward() argument
409 delta = ktime_sub(now, alarm->node.expires); in alarm_forward()
422 if (alarm->node.expires.tv64 > now.tv64) in alarm_forward()
465 ktime_t now) in alarm_handle_timer() argument
480 ptr->it_overrun += alarm_forward(alarm, now, in alarm_handle_timer()
620 ktime_t now; in alarm_timer_set() local
[all …]
Dtimekeeping.c175 cycle_t now, last, mask, max, delta; in timekeeping_get_delta() local
187 now = tkr->read(tkr->clock); in timekeeping_get_delta()
193 delta = clocksource_delta(now, last, mask); in timekeeping_get_delta()
417 u64 now; in __ktime_get_fast_ns() local
422 now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr); in __ktime_get_fast_ns()
425 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 …]
Dposix-cpu-timers.c83 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()
747 unsigned long long now; in posix_cpu_timer_get() local
767 cpu_clock_sample(timer->it_clock, p, &now); in posix_cpu_timer_get()
788 cpu_timer_sample_group(timer->it_clock, p, &now); in posix_cpu_timer_get()
793 if (now < timer->it.cpu.expires) { in posix_cpu_timer_get()
795 timer->it.cpu.expires - now, in posix_cpu_timer_get()
1007 unsigned long long now; in posix_cpu_timer_schedule() local
1015 cpu_clock_sample(timer->it_clock, p, &now); in posix_cpu_timer_schedule()
[all …]
Dntp.c464 struct timespec now; in update_persistent_clock64() local
466 now = timespec64_to_timespec(now64); in update_persistent_clock64()
467 return update_persistent_clock(now); in update_persistent_clock64()
478 struct timespec64 now; in sync_cmos_clock() local
498 getnstimeofday64(&now); in sync_cmos_clock()
499 if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec * 5) { in sync_cmos_clock()
500 struct timespec64 adjust = now; in sync_cmos_clock()
515 next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2); in sync_cmos_clock()
Dhrtimer.c807 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) in hrtimer_forward() argument
812 delta = ktime_sub(now, hrtimer_get_expires(timer)); in hrtimer_forward()
825 if (hrtimer_get_expires_tv64(timer) > now.tv64) in hrtimer_forward()
1199 static void __run_hrtimer(struct hrtimer *timer, ktime_t *now) in __run_hrtimer() argument
1219 trace_hrtimer_expire_entry(timer, now); in __run_hrtimer()
1248 ktime_t expires_next, now, entry_time, delta; in hrtimer_interrupt() local
1256 entry_time = now = hrtimer_update_base(cpu_base); in hrtimer_interrupt()
1277 basenow = ktime_add(now, base->offset); in hrtimer_interrupt()
1333 now = hrtimer_update_base(cpu_base); in hrtimer_interrupt()
1346 delta = ktime_sub(now, entry_time); in hrtimer_interrupt()
[all …]
Dtick-broadcast.c581 ktime_t now, next_event; in tick_handle_oneshot_broadcast() local
589 now = ktime_get(); in tick_handle_oneshot_broadcast()
593 if (td->evtdev->next_event.tv64 <= now.tv64) { in tick_handle_oneshot_broadcast()
692 ktime_t now; in tick_broadcast_oneshot_control() local
794 now = ktime_get(); in tick_broadcast_oneshot_control()
795 if (dev->next_event.tv64 <= now.tv64) { in tick_broadcast_oneshot_control()
Dtimer.c1314 static unsigned long cmp_next_hrtimer_event(unsigned long now, in cmp_next_hrtimer_event() argument
1328 return now + 1; in cmp_next_hrtimer_event()
1348 now += delta; in cmp_next_hrtimer_event()
1349 if (time_before(now, expires)) in cmp_next_hrtimer_event()
1350 return now; in cmp_next_hrtimer_event()
1358 unsigned long get_next_timer_interrupt(unsigned long now) in get_next_timer_interrupt() argument
1361 unsigned long expires = now + NEXT_TIMER_MAX_DELTA; in get_next_timer_interrupt()
1378 if (time_before_eq(expires, now)) in get_next_timer_interrupt()
1379 return now; in get_next_timer_interrupt()
1381 return cmp_next_hrtimer_event(now, expires); in get_next_timer_interrupt()
Dposix-timers.c455 ktime_t now = hrtimer_cb_get_time(timer); in posix_timer_fn() local
484 now = ktime_add(now, kj); in posix_timer_fn()
488 hrtimer_forward(timer, now, in posix_timer_fn()
731 ktime_t now, remaining, iv; in common_timer_get() local
745 now = timer->base->get_time(); in common_timer_get()
754 timr->it_overrun += (unsigned int) hrtimer_forward(timer, now, iv); in common_timer_get()
756 remaining = ktime_sub(hrtimer_get_expires(timer), now); in common_timer_get()
/linux-4.1.27/include/trace/events/
Dtimer.h54 __field( unsigned long, now )
61 __entry->now = jiffies;
66 (long)__entry->expires - __entry->now)
83 __field( unsigned long, now )
89 __entry->now = jiffies;
93 TP_printk("timer=%p function=%pf now=%lu", __entry->timer, __entry->function,__entry->now)
198 TP_PROTO(struct hrtimer *hrtimer, ktime_t *now),
200 TP_ARGS(hrtimer, now),
204 __field( s64, now )
210 __entry->now = now->tv64;
[all …]
/linux-4.1.27/tools/power/cpupower/bench/
Dbenchmark.c48 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 …]
Dsystem.c41 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.1.27/arch/x86/kernel/
Dtsc_sync.c46 cycles_t start, now, prev, end; in check_tsc_warp() local
56 now = start; in check_tsc_warp()
67 now = get_cycles(); in check_tsc_warp()
69 last_tsc = now; in check_tsc_warp()
79 if (now > end || i > 10000000) in check_tsc_warp()
88 if (unlikely(prev > now)) { in check_tsc_warp()
90 max_warp = max(max_warp, prev - now); in check_tsc_warp()
95 WARN(!(now-start), in check_tsc_warp()
97 now-start, end-start); in check_tsc_warp()
Dpvclock.c124 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()
Drtc.c41 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()
Dkvmclock.c51 static void kvm_get_wallclock(struct timespec *now) in kvm_get_wallclock() argument
65 pvclock_read_wallclock(&wall_clock, vcpu_time, now); in kvm_get_wallclock()
70 static int kvm_set_wallclock(const struct timespec *now) in kvm_set_wallclock() argument
Dapb_timer.c262 u64 start, now; in apbt_clocksource_register() local
280 rdtscll(now); in apbt_clocksource_register()
281 } while ((now - start) < 200000UL); in apbt_clocksource_register()
/linux-4.1.27/tools/testing/selftests/timers/
Dnanosleep.c113 struct timespec now, target, rel; in nanosleep_test() local
116 if (clock_gettime(clockid, &now)) in nanosleep_test()
118 target = timespec_add(now, ns); in nanosleep_test()
122 clock_gettime(clockid, &now); in nanosleep_test()
124 if (!in_order(target, now)) in nanosleep_test()
128 clock_gettime(clockid, &now); in nanosleep_test()
132 target = timespec_add(now, ns); in nanosleep_test()
134 clock_gettime(clockid, &now); in nanosleep_test()
136 if (!in_order(target, now)) in nanosleep_test()
Dleap-a-day.c140 struct timespec now, target; in test_hrtimer_failure() local
142 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
143 target = timespec_add(now, NSEC_PER_SEC/2); in test_hrtimer_failure()
145 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_failure()
147 if (!in_order(target, now)) in test_hrtimer_failure()
204 time_t now, next_leap; in main() local
275 now = tx.time.tv_sec; in main()
276 while (now < next_leap + 2) { in main()
299 now = tx.time.tv_sec; in main()
Dset-2038.c61 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()
Dmqueue-lat.c74 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()
Dinconsistency-check.c109 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()
Dthreadtest.c135 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.1.27/drivers/md/bcache/
Dutil.c171 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.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c78 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.1.27/kernel/trace/
Dtrace_clock.c94 u64 now; in trace_clock_global() local
99 now = sched_clock_cpu(this_cpu); in trace_clock_global()
114 if ((s64)(now - trace_clock_struct.prev_time) < 0) in trace_clock_global()
115 now = trace_clock_struct.prev_time + 1; in trace_clock_global()
117 trace_clock_struct.prev_time = now; in trace_clock_global()
124 return now; in trace_clock_global()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_debugfs.c95 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 …]
Ddrbd_req.c1554 unsigned long now; in request_timer_fn() local
1572 now = jiffies; in request_timer_fn()
1573 nt = now + et; in request_timer_fn()
1597 : req_read ? req_read->pre_submit_jif : now; in request_timer_fn()
1616 time_after(now, req_peer->pre_send_jif + ent) && in request_timer_fn()
1617 !time_in_range(now, connection->last_reconnect_jif, connection->last_reconnect_jif + ent)) { in request_timer_fn()
1621 if (dt && oldest_submit_jif != now && in request_timer_fn()
1622 time_after(now, oldest_submit_jif + dt) && in request_timer_fn()
1623 !time_in_range(now, device->last_reattach_jif, device->last_reattach_jif + dt)) { in request_timer_fn()
1630 ent = (ent && req_peer && time_before(now, req_peer->pre_send_jif + ent)) in request_timer_fn()
[all …]
/linux-4.1.27/include/net/
Dcodel.h225 codel_time_t now) in codel_should_drop() argument
234 vars->ldelay = now - codel_get_enqueue_time(skb); in codel_should_drop()
251 vars->first_above_time = now + params->interval; in codel_should_drop()
252 } else if (codel_time_after(now, vars->first_above_time)) { in codel_should_drop()
268 codel_time_t now;
275 now = codel_get_time();
276 drop = codel_should_drop(skb, sch, vars, params, stats, now);
281 } else if (codel_time_after_eq(now, vars->drop_next)) {
291 codel_time_after_eq(now, vars->drop_next)) {
308 vars, params, stats, now)) {
[all …]
Dbusy_poll.h70 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.1.27/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c83 struct timeval end, now; in tm_syscall() local
91 now.tv_sec = TEST_DURATION; in tm_syscall()
92 now.tv_usec = 0; in tm_syscall()
93 timeradd(&end, &now, &end); in tm_syscall()
95 for (count = 0; timercmp(&now, &end, <); count++) { in tm_syscall()
109 gettimeofday(&now, 0); in tm_syscall()
/linux-4.1.27/arch/parisc/kernel/
Dtime.c60 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.1.27/Documentation/networking/timestamping/
Dtimestamping.c139 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.1.27/arch/m68k/mac/
Dmisc.c695 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.1.27/tools/power/cpupower/debug/kernel/
Dcpufreq-test_tsc.c55 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.1.27/arch/parisc/lib/
Ddelay.c33 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.1.27/net/dccp/ccids/
Dccid3.c106 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 …]
Dccid2.c194 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.1.27/drivers/rtc/
Dsystohc.c23 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()
Dinterface.c163 struct rtc_time before, now; in __rtc_read_alarm() local
216 memcpy(&before, &now, sizeof(struct rtc_time)); in __rtc_read_alarm()
229 err = rtc_read_time(rtc, &now); in __rtc_read_alarm()
234 } while ( before.tm_min != now.tm_min in __rtc_read_alarm()
235 || before.tm_hour != now.tm_hour in __rtc_read_alarm()
236 || before.tm_mon != now.tm_mon in __rtc_read_alarm()
237 || before.tm_year != now.tm_year); in __rtc_read_alarm()
243 alarm->time.tm_sec = now.tm_sec; in __rtc_read_alarm()
245 alarm->time.tm_min = now.tm_min; in __rtc_read_alarm()
247 alarm->time.tm_hour = now.tm_hour; in __rtc_read_alarm()
[all …]
Drtc-bfin.c86 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()
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()
Drtc-sysfs.c166 unsigned long now, alarm; in rtc_sysfs_set_wakealarm() local
179 rtc_tm_to_time(&alm.time, &now); in rtc_sysfs_set_wakealarm()
192 alarm += now; in rtc_sysfs_set_wakealarm()
194 if (alarm > now || push) { in rtc_sysfs_set_wakealarm()
217 alarm = now + 300; in rtc_sysfs_set_wakealarm()
Drtc-at32ap700x.c73 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()
Drtc-imxdi.c236 unsigned long now; in dryice_rtc_read_time() local
238 now = __raw_readl(imxdi->ioaddr + DTCMR); in dryice_rtc_read_time()
239 rtc_time_to_tm(now, tm); in dryice_rtc_read_time()
306 unsigned long now; in dryice_rtc_set_alarm() local
315 now = __raw_readl(imxdi->ioaddr + DTCMR); in dryice_rtc_set_alarm()
316 if (alarm_time < now) in dryice_rtc_set_alarm()
Drtc-mpc5121.c110 unsigned long now; in mpc5121_rtc_read_time() local
115 now = in_be32(&regs->actual_time) + in_be32(&regs->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(&regs->target_time, now - in_be32(&regs->actual_time)); in mpc5121_rtc_set_time()
Drtc-88pm80x.c90 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()
Drtc-ds1374.c192 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()
Drtc-88pm860x.c86 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()
Drtc-dev.c307 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()
/linux-4.1.27/arch/s390/kernel/
Didle.c72 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()
Dtime.c886 static void etr_set_tolec_timeout(unsigned long long now) in etr_set_tolec_timeout() argument
893 micros = (now > etr_tolec) ? ((now - etr_tolec) >> 12) : 0; in etr_set_tolec_timeout()
998 unsigned long long now; in etr_work_fn() local
1026 now = get_tod_clock(); in etr_work_fn()
1032 if (now >= etr_tolec + (1600000 << 12)) in etr_work_fn()
1101 etr_set_tolec_timeout(now); in etr_work_fn()
1120 if (now < etr_tolec + (1600000 << 12) || in etr_work_fn()
1127 etr_set_tolec_timeout(now); in etr_work_fn()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dtimer.c125 stt_expire_list(struct list_head *slot, unsigned long now) in stt_expire_list() argument
133 if (cfs_time_after(timer->stt_expires, now)) in stt_expire_list()
152 unsigned long now; in stt_check_timers() local
155 now = get_seconds(); in stt_check_timers()
156 this_slot = now & STTIMER_SLOTTIMEMASK; in stt_check_timers()
161 expired += stt_expire_list(STTIMER_SLOT(this_slot), now); in stt_check_timers()
165 *last = now & STTIMER_SLOTTIMEMASK; in stt_check_timers()
/linux-4.1.27/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c59 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.1.27/arch/powerpc/platforms/powermac/
Dtime.c87 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.1.27/drivers/net/wimax/i2400m/
Di2400m-usb.h131 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.1.27/arch/x86/lib/
Ddelay.c52 u32 bclock, now, loops = __loops; in delay_tsc() local
61 rdtscl(now); in delay_tsc()
62 if ((now - bclock) >= loops) in delay_tsc()
80 loops -= (now - bclock); in delay_tsc()
/linux-4.1.27/fs/xfs/
Dxfs_mru_cache.c139 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()
Dxfs_iops.c974 struct timespec *now, in xfs_vn_update_time() argument
993 inode->i_ctime = *now; in xfs_vn_update_time()
994 ip->i_d.di_ctime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
995 ip->i_d.di_ctime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
998 inode->i_mtime = *now; in xfs_vn_update_time()
999 ip->i_d.di_mtime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
1000 ip->i_d.di_mtime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
1003 inode->i_atime = *now; in xfs_vn_update_time()
1004 ip->i_d.di_atime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
1005 ip->i_d.di_atime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_unseal.c82 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()
Dgss_krb5_seal.c135 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()
Dgss_krb5_wrap.c166 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.1.27/arch/ia64/kernel/
Dtime.c120 __u64 now; in vtime_delta() local
124 now = ia64_get_itc(); in vtime_delta()
126 delta_stime = cycle_to_cputime(ti->ac_stime + (now - ti->ac_stamp)); in vtime_delta()
128 ti->ac_stamp = now; in vtime_delta()
357 unsigned long lcycle, now, ret; in itc_get_cycles() local
363 now = get_cycles(); in itc_get_cycles()
364 if (lcycle && time_after(lcycle, now)) in itc_get_cycles()
373 ret = cmpxchg(&itc_jitter_data.itc_lastcycle, lcycle, now); in itc_get_cycles()
377 return now; in itc_get_cycles()
/linux-4.1.27/drivers/base/power/
Dwakeup.c475 static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now) in update_prevent_sleep_time() argument
477 ktime_t delta = ktime_sub(now, ws->start_prevent_time); in update_prevent_sleep_time()
482 ktime_t now) {} in update_prevent_sleep_time() argument
497 ktime_t now; in wakeup_source_deactivate() local
516 now = ktime_get(); in wakeup_source_deactivate()
517 duration = ktime_sub(now, ws->last_time); in wakeup_source_deactivate()
522 ws->last_time = now; in wakeup_source_deactivate()
527 update_prevent_sleep_time(ws, now); in wakeup_source_deactivate()
810 ktime_t now = ktime_get(); in pm_wakep_autosleep_enabled() local
819 ws->start_prevent_time = now; in pm_wakep_autosleep_enabled()
[all …]
/linux-4.1.27/arch/m68k/68000/
Dtimers.c127 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.1.27/net/dccp/
Dprobe.c57 struct timespec now; in printl() local
61 getnstimeofday(&now); in printl()
63 now = timespec_sub(now, dccpw.tstart); in printl()
66 (unsigned long) now.tv_sec, in printl()
67 (unsigned long) now.tv_nsec / NSEC_PER_USEC); in printl()
/linux-4.1.27/arch/avr32/lib/
Ddelay.c31 unsigned bclock, now; in __delay() local
35 now = sysreg_read(COUNT); in __delay()
36 } while ((now - bclock) < loops); in __delay()
/linux-4.1.27/arch/metag/lib/
Ddelay.c29 unsigned long bclock, now; in __delay() local
34 rdtimer(now); in __delay()
35 } while ((now-bclock) < loops); in __delay()
/linux-4.1.27/net/rxrpc/
Dar-transport.c223 unsigned long now, earliest, reap_time; in rxrpc_transport_reaper() local
229 now = 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()
Dar-connection.c849 unsigned long now, earliest, reap_time; in rxrpc_connection_reaper() local
855 now = 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.1.27/net/sctp/
Dprobe.c141 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.1.27/kernel/sched/
Dclock.c197 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()
Dstats.h64 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()
Dwait.c604 unsigned long now = ACCESS_ONCE(jiffies); in bit_wait_timeout() local
607 if (time_after_eq(now, word->timeout)) in bit_wait_timeout()
609 schedule_timeout(word->timeout - now); in bit_wait_timeout()
616 unsigned long now = ACCESS_ONCE(jiffies); in bit_wait_io_timeout() local
619 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout()
621 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()
Dfair.c698 u64 now = rq_clock_task(rq_of(cfs_rq)); in update_curr() local
704 delta_exec = now - curr->exec_start; in update_curr()
708 curr->exec_start = now; in update_curr()
1681 u64 runtime, delta, now; in numa_get_avg_runtime() local
1683 now = p->se.exec_start; in numa_get_avg_runtime()
1688 *period = now - p->last_task_numa_placement; in numa_get_avg_runtime()
1695 p->last_task_numa_placement = now; in numa_get_avg_runtime()
2120 unsigned long migrate, next_scan, now = jiffies; in task_numa_work() local
2143 mm->numa_next_scan = now + in task_numa_work()
2151 if (time_before(now, migrate)) in task_numa_work()
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_irq.c783 ktime_t now; in get_drm_timestamp() local
785 now = drm_timestamp_monotonic ? ktime_get() : ktime_get_real(); in get_drm_timestamp()
786 return ktime_to_timeval(now); in get_drm_timestamp()
916 unsigned long seq, struct timeval *now) in send_vblank_event() argument
920 e->event.tv_sec = now->tv_sec; in send_vblank_event()
921 e->event.tv_usec = now->tv_usec; in send_vblank_event()
944 struct timeval now; in drm_send_vblank_event() local
948 seq = drm_vblank_count_and_time(dev, crtc, &now); in drm_send_vblank_event()
952 now = get_drm_timestamp(); in drm_send_vblank_event()
955 send_vblank_event(dev, e, seq, &now); in drm_send_vblank_event()
[all …]
/linux-4.1.27/arch/x86/xen/
Dtime.c183 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.1.27/arch/alpha/kernel/
Drtc.c229 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.1.27/arch/powerpc/kernel/
Dtime.c299 u64 now, nowscaled, deltascaled; in vtime_delta() local
304 now = mftb(); in vtime_delta()
305 nowscaled = read_spurr(now); in vtime_delta()
306 get_paca()->system_time += now - get_paca()->starttime; in vtime_delta()
307 get_paca()->starttime = now; in vtime_delta()
311 *stolen = calculate_stolen_time(now); in vtime_delta()
488 u64 now; in __timer_interrupt() local
497 now = get_tb_or_rtc(); in __timer_interrupt()
498 if (now >= *next_tb) { in __timer_interrupt()
504 now = *next_tb - now; in __timer_interrupt()
[all …]
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_irq.c91 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()
352 struct timeval now; in via_wait_irq() local
386 do_gettimeofday(&now); in via_wait_irq()
387 irqwait->reply.tval_sec = now.tv_sec; in via_wait_irq()
388 irqwait->reply.tval_usec = now.tv_usec; in via_wait_irq()
/linux-4.1.27/drivers/clocksource/
Dtimer-prima2.c93 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()
/linux-4.1.27/net/atm/
Dmpoa_caches.c229 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 …]
Dmpoa_proc.c140 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.1.27/drivers/media/rc/
Dati_remote.c458 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 …]
Drc-ir-raw.c108 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.1.27/samples/kprobes/
Dkretprobe_example.c61 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.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_time.h84 static inline void cfs_slow_warning(unsigned long now, int seconds, char *msg) in cfs_slow_warning() argument
87 cfs_time_add(now, cfs_time_seconds(15)))) in cfs_slow_warning()
89 cfs_duration_sec(cfs_time_sub(cfs_time_current(), now))); in cfs_slow_warning()
/linux-4.1.27/virt/kvm/arm/
Darch_timer.c117 cycle_t cval, now; in kvm_timer_should_fire() local
124 now = kvm_phys_timer_read() - vcpu->kvm->arch.timer.cntvoff; in kvm_timer_should_fire()
126 return cval <= now; in kvm_timer_should_fire()
165 cycle_t cval, now; in kvm_timer_sync_hwstate() local
180 now = kvm_phys_timer_read() - vcpu->kvm->arch.timer.cntvoff; in kvm_timer_sync_hwstate()
182 ns = cyclecounter_cyc2ns(timecounter->cc, cval - now, timecounter->mask, in kvm_timer_sync_hwstate()
/linux-4.1.27/net/sched/
Dsch_cbq.c161 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 …]
Dsch_hhf.c201 u32 now = hhf_time_stamp(); in seek_list() local
209 if (hhf_time_before(prev, now)) { in seek_list()
232 u32 now = hhf_time_stamp(); in alloc_new_hh() local
239 if (hhf_time_before(prev, now)) in alloc_new_hh()
272 u32 now = hhf_time_stamp(); in hhf_classify() local
276 if (hhf_time_before(prev, now)) { in hhf_classify()
279 q->hhf_arrays_reset_timestamp = now; in hhf_classify()
289 flow->hit_timestamp = now; in hhf_classify()
327 flow->hit_timestamp = now; in hhf_classify()
Dsch_fq.c404 static void fq_check_throttled(struct fq_sched_data *q, u64 now) in fq_check_throttled() argument
408 if (q->time_next_delayed_flow > now) in fq_check_throttled()
415 if (f->time_next_packet > now) { in fq_check_throttled()
428 u64 now = ktime_get_ns(); in fq_dequeue() local
437 fq_check_throttled(q, now); in fq_dequeue()
460 if (unlikely(skb && now < f->time_next_packet && in fq_dequeue()
508 f->time_next_packet = now + len; in fq_dequeue()
814 u64 now = ktime_get_ns(); in fq_dump_stats() local
826 .time_next_delayed_flow = q->time_next_delayed_flow - now, in fq_dump_stats()
Dsch_tbf.c237 s64 now; in tbf_dequeue() local
242 now = ktime_get_ns(); in tbf_dequeue()
243 toks = min_t(s64, now - q->t_c, q->buffer); in tbf_dequeue()
261 q->t_c = now; in tbf_dequeue()
271 now + max_t(long, -toks, -ptoks), in tbf_dequeue()
Dact_police.c259 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()
Dsch_htb.c169 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()
652 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); in htb_charge_class()
662 cl->t_c = q->now; in htb_charge_class()
708 if (cl->pq_key > q->now) in htb_do_events()
712 diff = min_t(s64, q->now - cl->t_c, cl->mbuffer); in htb_do_events()
724 return q->now; in htb_do_events()
898 q->now = ktime_get_ns(); in htb_dequeue()
901 next_event = q->now + 5LLU * NSEC_PER_SEC; in htb_dequeue()
[all …]
/linux-4.1.27/fs/
Dattr.c195 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()
Dinode.c1517 struct timespec now) in relatime_need_update() argument
1537 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update()
1591 struct timespec now; in touch_atime() local
1605 now = current_fs_time(inode->i_sb); in touch_atime()
1607 if (!relatime_need_update(mnt, inode, now)) in touch_atime()
1610 if (timespec_equal(&inode->i_atime, &now)) in touch_atime()
1627 update_time(inode, &now, S_ATIME); in touch_atime()
1719 struct timespec now; in file_update_time() local
1727 now = current_fs_time(inode->i_sb); in file_update_time()
1728 if (!timespec_equal(&inode->i_mtime, &now)) in file_update_time()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Dintel_mid_vrtc.h6 extern void vrtc_get_time(struct timespec *now);
7 extern int vrtc_set_mmss(const struct timespec *now);
Dmc146818rtc.h98 extern int mach_set_rtc_mmss(const struct timespec *now);
99 extern void mach_get_cmos_time(struct timespec *now);
/linux-4.1.27/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.1.27/net/ipv4/
Dtcp_cubic.c158 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()
Dtcp_htcp.c107 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.1.27/fs/jffs2/
Ddir.c229 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()
591 uint32_t now = get_seconds(); in jffs2_rmdir() local
599 dentry->d_name.len, f, now); in jffs2_rmdir()
601 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/linux-4.1.27/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.1.27/arch/arm/kvm/
Dtrace.h300 TP_PROTO(unsigned long vcpu_pc, bool was, bool now),
301 TP_ARGS(vcpu_pc, was, now),
306 __field( bool, now )
312 __entry->now = now;
317 __entry->now ? "on" : "off")
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
Dtherm_throt.c156 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()
Dmce_intel.c184 unsigned long now = jiffies; in cmci_storm_detect() local
190 if (time_before_eq(now, ts + CMCI_STORM_INTERVAL)) { in cmci_storm_detect()
194 __this_cpu_write(cmci_time_stamp, now); in cmci_storm_detect()
/linux-4.1.27/drivers/ide/
Dide-park.c93 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()
Dide-eh.c366 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.1.27/drivers/misc/ibmasm/
Dibmasm.h56 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.1.27/drivers/platform/chrome/
Dcros_ec_lightbar.c67 unsigned long now, next_timeslot; in lb_throttle() local
73 now = jiffies; in lb_throttle()
76 if (time_before(now, next_timeslot)) { in lb_throttle()
77 delay = (long)(next_timeslot) - (long)now; in lb_throttle()
84 now = jiffies; in lb_throttle()
87 last_access = now; in lb_throttle()
/linux-4.1.27/arch/mips/kvm/
Demulate.c246 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.1.27/arch/mips/kernel/
Dtime.c47 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.1.27/arch/arm/lib/
Dfindbit.S33 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.1.27/drivers/clk/
Dclk-divider.c252 static bool _is_best_div(unsigned long rate, unsigned long now, in _is_best_div() argument
256 return abs(rate - now) < abs(rate - best); in _is_best_div()
258 return now <= rate && now > best; in _is_best_div()
280 unsigned long parent_rate, best = 0, now, maxdiv; in clk_divider_bestdiv() local
316 now = DIV_ROUND_UP(parent_rate, i); in clk_divider_bestdiv()
317 if (_is_best_div(rate, now, best, flags)) { in clk_divider_bestdiv()
319 best = now; in clk_divider_bestdiv()
/linux-4.1.27/arch/cris/kernel/
Dtime.c55 int update_persistent_clock(struct timespec now) in update_persistent_clock() argument
57 return set_rtc_mmss(now.tv_sec); in update_persistent_clock()
/linux-4.1.27/crypto/
Dxor.c67 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.1.27/net/bridge/netfilter/
Debt_limit.c38 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.1.27/include/linux/
Dalarmtimer.h38 enum alarmtimer_restart (*function)(struct alarm *, ktime_t now);
52 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
Duwb.h717 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()
Dtimekeeping.h271 extern int update_persistent_clock(struct timespec now);
272 extern int update_persistent_clock64(struct timespec64 now);
/linux-4.1.27/arch/sh/kernel/
Dtime.c47 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.1.27/drivers/input/
Dff-memless.c127 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.1.27/Documentation/pcmcia/
Ddriver-changes.txt4 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.1.27/drivers/staging/media/lirc/
Dlirc_parallel.c147 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()
Dlirc_serial.c446 unsigned long target, start, now; in send_pulse_homebrew_softcarrier() local
454 now = start; in send_pulse_homebrew_softcarrier()
464 while ((now - start) < length) { in send_pulse_homebrew_softcarrier()
467 rdtscl(now); in send_pulse_homebrew_softcarrier()
468 } while ((now - start) < target); in send_pulse_homebrew_softcarrier()
472 rdtscl(now); in send_pulse_homebrew_softcarrier()
476 rdtscl(now); on(); in send_pulse_homebrew_softcarrier()
481 rdtscl(now); in send_pulse_homebrew_softcarrier()
482 return ((now - start) - length) / conv_us_to_clocks; in send_pulse_homebrew_softcarrier()
/linux-4.1.27/drivers/lguest/
Dhypercalls.c303 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.1.27/tools/perf/tests/
Drdpmc.c126 u64 stamp, now, delta; in __test__rdpmc() local
133 now = mmap_read_self(addr); in __test__rdpmc()
136 delta = now - stamp; in __test__rdpmc()
/linux-4.1.27/kernel/power/
Dsuspend_test.c74 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()
Dwakelock.c102 ktime_t now; in wakelocks_gc() local
107 now = ktime_get(); in wakelocks_gc()
113 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws.last_time)); in wakelocks_gc()
/linux-4.1.27/arch/unicore32/lib/
Dfindbit.S26 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.1.27/Documentation/filesystems/
Dporting37 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.1.27/security/keys/
Dpermission.c103 struct timespec now = current_kernel_time(); in key_validate() local
104 if (now.tv_sec >= key->expiry) in key_validate()
Dgc.c59 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()
Dkey.c539 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()
Dproc.c181 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.1.27/fs/afs/
Dvlocation.c546 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()
Dserver.c275 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()
Dcallback.c365 time_t now;
373 now = get_seconds();
392 timeout = vnode->update_at - now;
442 timeout = xvnode->update_at - now;
/linux-4.1.27/Documentation/video4linux/
Domap4_camera.txt19 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.1.27/drivers/net/wireless/b43/
Ddebugfs.c420 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.1.27/drivers/net/ethernet/freescale/
Dgianfar_ptp.c308 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.1.27/Documentation/scsi/
Din2000.txt12 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
DChangeLog.ncr53c8xx35 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 …]
DMylex.txt4 The Mylex DAC960 PCI RAID Controllers are now supported. Please consult
DChangeLog.sym53c8xx_263 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.1.27/drivers/staging/ozwpan/
Dozusbsvc.c130 struct timespec ts, now; in oz_usb_stop() local
142 getnstimeofday(&now); in oz_usb_stop()
144 if (now.tv_sec != ts.tv_sec) in oz_usb_stop()
/linux-4.1.27/net/netfilter/
Dxt_limit.c73 unsigned long now = jiffies; in limit_mt() local
76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt()
Dxt_hashlimit.c445 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()
Dnfnetlink_acct.c458 u64 now; in nfnl_acct_overquota() local
467 now = (nfacct->flags & NFACCT_F_QUOTA_PKTS) ? in nfnl_acct_overquota()
470 ret = now > *quota; in nfnl_acct_overquota()
472 if (now >= *quota && in nfnl_acct_overquota()
/linux-4.1.27/mm/
Dpage-writeback.c925 unsigned long now) in global_update_bandwidth() argument
933 if (time_before(now, update_time + BANDWIDTH_INTERVAL)) in global_update_bandwidth()
937 if (time_after_eq(now, update_time + BANDWIDTH_INTERVAL)) { in global_update_bandwidth()
939 update_time = now; in global_update_bandwidth()
1122 unsigned long now = jiffies; in __bdi_update_bandwidth() local
1123 unsigned long elapsed = now - bdi->bw_time_stamp; in __bdi_update_bandwidth()
1144 global_update_bandwidth(thresh, dirty, now); in __bdi_update_bandwidth()
1154 bdi->bw_time_stamp = now; in __bdi_update_bandwidth()
1362 unsigned long now = jiffies; in balance_dirty_pages() local
1403 current->dirty_paused_when = now; in balance_dirty_pages()
[all …]
/linux-4.1.27/arch/mn10300/kernel/
Drtc.c112 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.1.27/drivers/ptp/
Dptp_ixp46x.c162 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.1.27/drivers/staging/lustre/lnet/lnet/
Drouter.c803 long now; in lnet_update_ni_status_locked() local
811 now = get_seconds(); in lnet_update_ni_status_locked()
816 if (now < ni->ni_last_alive + timeout) in lnet_update_ni_status_locked()
821 if (now < ni->ni_last_alive + timeout) { in lnet_update_ni_status_locked()
946 unsigned long now = cfs_time_current(); in lnet_ping_router_locked() local
952 cfs_time_after(now, rtr->lp_ping_deadline)) in lnet_ping_router_locked()
953 lnet_notify_locked(rtr, 1, 0, now); in lnet_ping_router_locked()
980 cfs_time_after(now, cfs_time_add(rtr->lp_ping_timestamp, in lnet_ping_router_locked()
991 rtr->lp_ping_timestamp = now; in lnet_ping_router_locked()
1511 unsigned long now = cfs_time_current(); in lnet_notify() local
[all …]
Dlib-eq.c329 unsigned long now; in lnet_eq_wait_locked() local
346 now = cfs_time_current(); in lnet_eq_wait_locked()
348 cfs_duration_usec(cfs_time_sub(cfs_time_current(), now), &tv); in lnet_eq_wait_locked()
Drouter_proc.c361 unsigned long now = cfs_time_current(); in proc_lnet_routers() local
368 int last_ping = cfs_duration_sec(cfs_time_sub(now, in proc_lnet_routers()
399 cfs_duration_sec(cfs_time_sub(deadline, now)), in proc_lnet_routers()
540 unsigned long now = cfs_time_current(); in proc_lnet_peers() local
543 delta = cfs_time_sub(now, peer->lp_last_alive); in proc_lnet_peers()
710 long now = get_seconds(); in proc_lnet_nis() local
716 last_alive = now - ni->ni_last_alive; in proc_lnet_nis()
/linux-4.1.27/drivers/power/reset/
Dltc2952-poweroff.c104 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.1.27/drivers/md/
Ddm-kcopyd.c101 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.1.27/fs/autofs4/
Dexpire.c17 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.1.27/Documentation/block/
Dbiovecs.txt26 * 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.1.27/drivers/char/
Drandom.c879 unsigned long now = jiffies; in add_interrupt_randomness() local
889 j_high = (sizeof(now) > 4) ? now >> 32 : 0; in add_interrupt_randomness()
891 fast_pool->pool[1] ^= now ^ c_high; in add_interrupt_randomness()
901 !time_after(now, fast_pool->last + HZ)) in add_interrupt_randomness()
908 fast_pool->last = now; in add_interrupt_randomness()
964 unsigned long now = jiffies; in xfer_secondary_pool() local
966 if (time_before(now, in xfer_secondary_pool()
969 r->last_pulled = now; in xfer_secondary_pool()
1292 ktime_t now = ktime_get_real(); in init_std_data() local
1296 mix_pool_bytes(r, &now, sizeof(now)); in init_std_data()
/linux-4.1.27/arch/xtensa/lib/
Dmemset.S120 # 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.1.27/fs/ocfs2/cluster/
Dnetdebug.c133 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.1.27/drivers/staging/lustre/lustre/osc/
Dlproc_osc.c586 struct timeval now; in osc_rpc_stats_seq_show() local
592 do_gettimeofday(&now); in osc_rpc_stats_seq_show()
597 now.tv_sec, (unsigned long)now.tv_usec); in osc_rpc_stats_seq_show()
703 struct timeval now; in osc_stats_seq_show() local
707 do_gettimeofday(&now); in osc_stats_seq_show()
710 now.tv_sec, (unsigned long)now.tv_usec); in osc_stats_seq_show()
/linux-4.1.27/drivers/platform/x86/
Dideapad-laptop.c665 unsigned long now; in ideapad_backlight_get_brightness() local
670 if (read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now)) in ideapad_backlight_get_brightness()
672 return now; in ideapad_backlight_get_brightness()
701 unsigned long max, now, power; in ideapad_backlight_init() local
705 if (read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now)) in ideapad_backlight_init()
724 blightdev->props.brightness = now; in ideapad_backlight_init()
751 unsigned long now; in ideapad_backlight_notify_brightness() local
755 read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now); in ideapad_backlight_notify_brightness()
/linux-4.1.27/Documentation/x86/x86_64/
Dcpu-hotplug-spec4 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.1.27/drivers/staging/media/bcm2048/
DTODO7 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.1.27/arch/powerpc/perf/
Dhv-gpci.c190 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.1.27/arch/sparc/kernel/
Dtime_64.c397 int update_persistent_clock(struct timespec now) in update_persistent_clock() argument
403 err = rtc_set_mmss(rtc, now.tv_sec); in update_persistent_clock()
785 unsigned long bclock, now; in __delay() local
789 now = tick_ops->get_tick(); in __delay()
790 } while ((now-bclock) < loops); in __delay()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c162 struct timespec64 now, then = ns_to_timespec64(delta); in i40e_ptp_adjtime() local
167 i40e_ptp_read(pf, &now); in i40e_ptp_adjtime()
168 now = timespec64_add(now, then); in i40e_ptp_adjtime()
169 i40e_ptp_write(pf, (const struct timespec64 *)&now); in i40e_ptp_adjtime()
/linux-4.1.27/net/bridge/
Dbr_multicast.c663 unsigned long now = jiffies; in br_multicast_add_group() local
678 mod_timer(&mp->timer, now + br->multicast_membership_interval); in br_multicast_add_group()
698 mod_timer(&p->timer, now + br->multicast_membership_interval); in br_multicast_add_group()
1188 unsigned long now = jiffies; in br_multicast_mark_router() local
1193 now + br->multicast_querier_interval); in br_multicast_mark_router()
1203 now + br->multicast_querier_interval); in br_multicast_mark_router()
1232 unsigned long now = jiffies; in br_ip4_multicast_query() local
1289 time_after(mp->timer.expires, now + max_delay) : in br_ip4_multicast_query()
1291 mod_timer(&mp->timer, now + max_delay); in br_ip4_multicast_query()
1297 time_after(p->timer.expires, now + max_delay) : in br_ip4_multicast_query()
[all …]
/linux-4.1.27/net/core/
Dneighbour.c269 unsigned long now = jiffies; in neigh_alloc() local
275 time_after(now, tbl->last_flush + 5 * HZ))) { in neigh_alloc()
288 n->updated = n->used = now; in neigh_alloc()
867 unsigned long now, next; in neigh_timer_handler() local
875 now = jiffies; in neigh_timer_handler()
876 next = now + HZ; in neigh_timer_handler()
882 if (time_before_eq(now, in neigh_timer_handler()
886 } else if (time_before_eq(now, in neigh_timer_handler()
893 next = now + NEIGH_VAR(neigh->parms, DELAY_PROBE_TIME); in neigh_timer_handler()
902 if (time_before_eq(now, in neigh_timer_handler()
[all …]
/linux-4.1.27/drivers/input/joystick/
Danalog.c253 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.1.27/Documentation/sound/oss/
DESS9 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.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dimport.c229 ptlrpc_inflight_deadline(struct ptlrpc_request *req, time_t now) in ptlrpc_inflight_deadline() argument
246 if (dl <= now) in ptlrpc_inflight_deadline()
249 return dl - now; in ptlrpc_inflight_deadline()
254 time_t now = get_seconds(); in ptlrpc_inflight_timeout() local
262 timeout = max(ptlrpc_inflight_deadline(req, now), timeout); in ptlrpc_inflight_timeout()
1536 time_t now = get_seconds(); in at_measured() local
1541 val, at, now - at->at_binstart, at->at_current, in at_measured()
1555 at->at_worst_time = now; in at_measured()
1557 at->at_binstart = now; in at_measured()
1558 } else if (now - at->at_binstart < binlimit) { in at_measured()
[all …]
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dilsp.S314 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.1.27/drivers/staging/comedi/drivers/
Dcomedi_test.c178 ktime_t now; in waveform_ai_interrupt() local
184 now = ktime_get(); in waveform_ai_interrupt()
186 elapsed_time = ktime_to_us(ktime_sub(now, devpriv->last)); in waveform_ai_interrupt()
187 devpriv->last = now; in waveform_ai_interrupt()
/linux-4.1.27/net/tipc/
Dname_distr.c346 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.1.27/net/sunrpc/
Dstats.c151 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.1.27/drivers/clk/ti/
Ddivider.c150 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.1.27/tools/perf/tests/attr/
Dtest-record-graph-dwarf9 # TODO different for each arch, no support for that now
/linux-4.1.27/Documentation/networking/
Dde4x5.txt10 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.1.27/net/netfilter/ipvs/
Dip_vs_lblc.c265 unsigned long now = jiffies; in ip_vs_lblc_full_check() local
273 if (time_before(now, in ip_vs_lblc_full_check()
302 unsigned long now = jiffies; in ip_vs_lblc_check_expire() local
329 if (time_before(now, en->lastuse + ENTRY_TIMEOUT)) in ip_vs_lblc_check_expire()
/linux-4.1.27/drivers/s390/scsi/
Dzfcp_qdio.c51 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.1.27/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c1177 struct timeval now; in ll_rw_extents_stats_pp_seq_show() local
1182 do_gettimeofday(&now); in ll_rw_extents_stats_pp_seq_show()
1190 now.tv_sec, (unsigned long)now.tv_usec); in ll_rw_extents_stats_pp_seq_show()
1256 struct timeval now; in ll_rw_extents_stats_seq_show() local
1260 do_gettimeofday(&now); in ll_rw_extents_stats_seq_show()
1268 now.tv_sec, (unsigned long)now.tv_usec); in ll_rw_extents_stats_seq_show()
1432 struct timeval now; in ll_rw_offset_stats_seq_show() local
1438 do_gettimeofday(&now); in ll_rw_offset_stats_seq_show()
1448 now.tv_sec, (unsigned long)now.tv_usec); in ll_rw_offset_stats_seq_show()
/linux-4.1.27/drivers/usb/host/
Dehci-timer.c408 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.1.27/Documentation/arm/
DSetup32 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.1.27/Documentation/ide/
DChangeLog.ide-tape.1995-200210 * 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.1.27/Documentation/watchdog/
Dconvert_drivers_to_kernel_api.txt16 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.1.27/Documentation/filesystems/nfs/
Dpnfs-block-server.txt3 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.1.27/arch/mips/boot/dts/brcm/
Dbcm97125cbmb.dts24 /* FIXME: USB is wonky; disable it for now */
/linux-4.1.27/Documentation/devicetree/bindings/video/
Dssd1289fb.txt5 now is lbc.
/linux-4.1.27/firmware/keyspan_pda/
Dkeyspan_pda.S335 ;; now presence pin is floating, simulating disconnect. wait 0.5s
347 ;; we are back online. the host device will now re-query us
386 ;; standard request: now main switch is on bRequest
490 ;; for now: cheat. TODO
576 ;; now I will just live with the bug.
625 ;; now clear HSNAK
745 ;; copy data into buffer. for now, assume we will have enough space
854 ;; now send it
890 ;; step 2: is there now room?
894 ;; a is now write_room. If thresh >= a, we can unthrottle
[all …]
/linux-4.1.27/net/decnet/
Ddn_route.c202 unsigned long now = jiffies; in dn_dst_check_expire() local
212 (now - rt->dst.lastuse) < expire) { in dn_dst_check_expire()
222 if ((jiffies - now) > 0) in dn_dst_check_expire()
226 mod_timer(&dn_route_timer, now + decnet_dst_gc_interval * HZ); in dn_dst_check_expire()
234 unsigned long now = jiffies; in dn_dst_gc() local
245 (now - rt->dst.lastuse) < expire) { in dn_dst_gc()
336 unsigned long now = jiffies; in dn_insert_route() local
350 dst_use(&rth->dst, now); in dn_insert_route()
363 dst_use(&rt->dst, now); in dn_insert_route()
395 unsigned long now = jiffies; in dn_rt_cache_flush() local
[all …]
/linux-4.1.27/Documentation/dvb/
Dudev.txt8 Nevertheless it's now possible to add proper udev rules so that the
12 creating the DVB device nodes manually up to now due to the missing sysfs
/linux-4.1.27/Documentation/
DVGA-softcursor.txt4 Linux now has some ability to manipulate cursor appearance. Normally, you
7 vgacon.c). You can now play a few new tricks: you can make your cursor look
/linux-4.1.27/drivers/staging/media/cxd2099/
DKconfig9 For now, data is passed through '/dev/dvb/adapterX/sec0':
/linux-4.1.27/drivers/hid/
Dhid-magicmouse.c218 unsigned long now = jiffies; in magicmouse_emit_touch() local
229 if (scroll_acceleration && time_before(now, in magicmouse_emit_touch()
242 msc->scroll_jiffies = now; in magicmouse_emit_touch()
250 msc->scroll_jiffies = now; in magicmouse_emit_touch()

12345