Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 60 of 60) sorted by relevance

/linux-4.1.27/arch/s390/kernel/
Dvtime.c52 static inline int virt_timer_forward(u64 elapsed) in virt_timer_forward() argument
58 elapsed = atomic64_add_return(elapsed, &virt_timer_elapsed); in virt_timer_forward()
59 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward()
221 unsigned long elapsed; in virt_timer_expire() local
226 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
228 if (timer->expires < elapsed) in virt_timer_expire()
232 timer->expires -= elapsed; in virt_timer_expire()
239 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/linux-4.1.27/net/ipv4/
Dtcp_timer.c579 u32 elapsed; in tcp_keepalive_timer() local
610 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
616 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()
618 if (elapsed >= keepalive_time_when(tp)) { in tcp_keepalive_timer()
623 elapsed >= icsk->icsk_user_timeout && in tcp_keepalive_timer()
633 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer()
638 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_keepalive_timer()
642 elapsed = keepalive_time_when(tp) - elapsed; in tcp_keepalive_timer()
648 inet_csk_reset_keepalive_timer (sk, elapsed); in tcp_keepalive_timer()
Dipconfig.c267 int wait, elapsed; in ic_open_devs() local
278 elapsed = jiffies_to_msecs(jiffies - start); in ic_open_devs()
279 wait = (CONF_CARRIER_TIMEOUT - elapsed + 500)/1000; in ic_open_devs()
Dtcp.c2459 u32 elapsed = keepalive_time_elapsed(tp); in do_tcp_setsockopt() local
2460 if (tp->keepalive_time > elapsed) in do_tcp_setsockopt()
2461 elapsed = tp->keepalive_time - elapsed; in do_tcp_setsockopt()
2463 elapsed = 0; in do_tcp_setsockopt()
2464 inet_csk_reset_keepalive_timer(sk, elapsed); in do_tcp_setsockopt()
Dtcp_input.c3362 s32 elapsed = (s32)(tcp_time_stamp - *last_oow_ack_time); in tcp_oow_rate_limited() local
3364 if (0 <= elapsed && elapsed < sysctl_tcp_invalid_ratelimit) { in tcp_oow_rate_limited()
/linux-4.1.27/drivers/clocksource/
Dtimer-atmel-pit.c80 u32 elapsed; in read_pit_clk() local
84 elapsed = data->cnt; in read_pit_clk()
88 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()
89 elapsed += PIT_CPIV(t); in read_pit_clk()
90 return elapsed; in read_pit_clk()
/linux-4.1.27/kernel/
Dacct.c415 u64 elapsed, run_time; in fill_ac() local
431 elapsed = nsec_to_AHZ(run_time); in fill_ac()
433 ac->ac_etime = encode_float(elapsed); in fill_ac()
435 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
436 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac()
441 comp2_t etime = encode_comp2_t(elapsed); in fill_ac()
447 do_div(elapsed, AHZ); in fill_ac()
448 ac->ac_btime = get_seconds() - elapsed; in fill_ac()
Daudit.c223 unsigned long elapsed; in audit_rate_check() local
233 elapsed = now - last_check; in audit_rate_check()
234 if (elapsed > HZ) { in audit_rate_check()
/linux-4.1.27/tools/perf/scripts/python/
Dfutex-contention.py37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/linux-4.1.27/mm/
Dpage-writeback.c846 unsigned long elapsed, in bdi_update_write_bandwidth() argument
866 if (unlikely(elapsed > period)) { in bdi_update_write_bandwidth()
867 do_div(bw, elapsed); in bdi_update_write_bandwidth()
871 bw += (u64)bdi->write_bandwidth * (period - elapsed); in bdi_update_write_bandwidth()
957 unsigned long elapsed) in bdi_update_dirty_ratelimit() argument
975 dirty_rate = (dirtied - bdi->dirtied_stamp) * HZ / elapsed; in bdi_update_dirty_ratelimit()
1123 unsigned long elapsed = now - bdi->bw_time_stamp; in __bdi_update_bandwidth() local
1130 if (elapsed < BANDWIDTH_INTERVAL) in __bdi_update_bandwidth()
1140 if (elapsed > HZ && time_before(bdi->bw_time_stamp, start_time)) in __bdi_update_bandwidth()
1147 dirtied, elapsed); in __bdi_update_bandwidth()
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_ring.c251 uint64_t elapsed; in radeon_ring_test_lockup() local
259 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup()
260 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup()
262 ring->idx, elapsed); in radeon_ring_test_lockup()
/linux-4.1.27/tools/perf/Documentation/
Dexamples.txt42 0.613972165 seconds time elapsed
63 0.643954516 seconds time elapsed ( +- 2.363% )
171 10.000591410 seconds time elapsed
187 1.058135029 seconds time elapsed ( +- 3.089% )
Dperf-stat.txt173 Wall-clock time elapsed: 719.554352 msecs
/linux-4.1.27/drivers/md/
Ddm-flakey.c277 unsigned elapsed; in flakey_map() local
282 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()
283 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
/linux-4.1.27/sound/drivers/
Ddummy.c246 int elapsed; member
269 dpcm->elapsed++; in dummy_systimer_update()
304 dpcm->elapsed = 0; in dummy_systimer_prepare()
313 int elapsed = 0; in dummy_systimer_callback() local
318 elapsed = dpcm->elapsed; in dummy_systimer_callback()
319 dpcm->elapsed = 0; in dummy_systimer_callback()
321 if (elapsed) in dummy_systimer_callback()
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dstmpe-keypad.txt9 - st,scan-count : Scanning cycles elapsed before key data is updated
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_gpu.c350 uint32_t elapsed; in update_sw_cntrs() local
358 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
360 gpu->totaltime += elapsed; in update_sw_cntrs()
362 gpu->activetime += elapsed; in update_sw_cntrs()
/linux-4.1.27/sound/sparc/
Damd7930.c497 unsigned int elapsed; in snd_amd7930_interrupt() local
502 elapsed = 0; in snd_amd7930_interrupt()
514 elapsed |= AMD7930_FLAG_PLAYBACK; in snd_amd7930_interrupt()
523 elapsed |= AMD7930_FLAG_CAPTURE; in snd_amd7930_interrupt()
529 if (elapsed & AMD7930_FLAG_PLAYBACK) in snd_amd7930_interrupt()
/linux-4.1.27/drivers/staging/comedi/drivers/
Dserial2002.c129 long elapsed; in serial2002_tty_read_poll_wait() local
138 elapsed = 1000000 * (now.tv_sec - start.tv_sec) + in serial2002_tty_read_poll_wait()
140 if (elapsed > timeout) in serial2002_tty_read_poll_wait()
143 schedule_timeout(((timeout - elapsed) * HZ) / 10000); in serial2002_tty_read_poll_wait()
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/
Dgpio-wdt.txt19 to toggle the signal when the device is open and the timeout elapsed.
/linux-4.1.27/sound/pci/mixart/
Dmixart_core.c486 int elapsed = 0; in snd_mixart_threaded_irq() local
497 elapsed = 1; in snd_mixart_threaded_irq()
507 if(elapsed) { in snd_mixart_threaded_irq()
/linux-4.1.27/drivers/dma/
Dmxs-dma.c225 unsigned long elapsed = 0; in mxs_dma_reset_chan() local
237 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
239 elapsed += 100; in mxs_dma_reset_chan()
242 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/linux-4.1.27/Documentation/trace/
Dtracepoint-analysis.txt105 10.002577764 seconds time elapsed
132 0.973913387 seconds time elapsed
163 0.982653002 seconds time elapsed ( +- 1.448% )
181 1.002251757 seconds time elapsed ( +- 0.005% )
/linux-4.1.27/Documentation/
Dstatic-keys.txt264 1.601607384 seconds time elapsed ( +- 0.07% )
281 1.579384366 seconds time elapsed
286 saved .2% on instructions, and 2.8% on cycles and 1.4% on elapsed time.
Dparport-lowlevel.txt595 1 timed out while waiting (35ms elapsed)
621 1 timed out while waiting (usec microseconds have elapsed)
/linux-4.1.27/arch/x86/kvm/
Di8254.c108 s64 elapsed; in __kpit_elapsed() local
125 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed()
127 return elapsed; in __kpit_elapsed()
Dx86.c1296 u64 offset, ns, elapsed; in kvm_write_tsc() local
1306 elapsed = ns - kvm->arch.last_tsc_nsec; in kvm_write_tsc()
1332 do_div(elapsed, 1000); in kvm_write_tsc()
1333 usdiff -= elapsed; in kvm_write_tsc()
1359 u64 delta = nsec_to_cycles(vcpu, elapsed); in kvm_write_tsc()
/linux-4.1.27/drivers/base/power/
Druntime.c127 long elapsed; in pm_runtime_autosuspend_expiration() local
139 elapsed = jiffies - last_busy; in pm_runtime_autosuspend_expiration()
140 if (elapsed < 0) in pm_runtime_autosuspend_expiration()
151 if (elapsed >= expires - last_busy) in pm_runtime_autosuspend_expiration()
/linux-4.1.27/arch/x86/platform/uv/
Dtlb_uv.c796 cycles_t elapsed; in record_send_stats() local
799 elapsed = time2 - time1; in record_send_stats()
800 stat->s_time += elapsed; in record_send_stats()
804 bcp->period_time += elapsed; in record_send_stats()
805 if ((elapsed > congested_cycles) && in record_send_stats()
/linux-4.1.27/Documentation/RCU/
Drcuref.txt109 until after a grace period has elapsed following removal. This means that
DarrayRCU.txt91 to free the array after a grace period has elapsed.
Dchecklist.txt428 grace period has elapsed since the last time that you
DwhatisRCU.txt454 This function invokes func(head) after a grace period has elapsed.
/linux-4.1.27/sound/pci/pcxhr/
Dpcxhr_core.c1167 int elapsed = 0; in pcxhr_update_timer_pos() local
1206 elapsed = 1; in pcxhr_update_timer_pos()
1222 if (elapsed) { in pcxhr_update_timer_pos()
/linux-4.1.27/Documentation/scheduler/
Dsched-bwc.txt69 - nr_periods: Number of enforcement intervals that have elapsed.
/linux-4.1.27/arch/powerpc/kvm/
DKconfig134 Calculate elapsed time for every exit/enter cycle. A per-vcpu
/linux-4.1.27/Documentation/input/
Datarikbd.txt444 ; has elapsed
447 ; has elapsed
450 ; after RX has elapsed
453 ; after RY has elapsed
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt70 /* The elapsed time of a task, in [usec]. */
/linux-4.1.27/Documentation/aoe/
Daoe.txt128 elapsed, the AoE device will be marked as "down". A value of zero
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-edac15 Description: This attribute file displays how many seconds have elapsed
/linux-4.1.27/Documentation/sound/alsa/
DProcfile.txt124 The current status of this PCM sub-stream, elapsed time,
Dtimestamping.txt15 The difference (tstamp - trigger_tstamp) defines the elapsed time.
/linux-4.1.27/Documentation/cgroups/
Dblkio-controller.txt218 io_service_time > actual time elapsed. This time is further divided by
227 elapsed since it is cumulative io_wait_time for all IOs. It is not a
/linux-4.1.27/drivers/net/ethernet/ti/
Dtlan.c1846 u32 elapsed; in tlan_timer() local
1873 elapsed = jiffies - priv->timer_set_at; in tlan_timer()
1874 if (elapsed >= TLAN_TIMER_ACT_DELAY) { in tlan_timer()
/linux-4.1.27/net/core/
Dpktgen.c3162 ktime_t elapsed = ktime_sub(pkt_dev->stopped_at, in show_results() local
3167 (unsigned long long)ktime_to_us(elapsed), in show_results()
3168 (unsigned long long)ktime_to_us(ktime_sub(elapsed, idle)), in show_results()
3174 ktime_to_ns(elapsed)); in show_results()
/linux-4.1.27/net/bluetooth/
Dhci_core.c2934 int elapsed; in le_scan_restart_work_complete() local
2937 elapsed = now - scan_start; in le_scan_restart_work_complete()
2939 elapsed = ULONG_MAX - scan_start + now; in le_scan_restart_work_complete()
2941 timeout = duration - elapsed; in le_scan_restart_work_complete()
/linux-4.1.27/Documentation/virtual/kvm/
Dmsr.txt81 from current tsc to derive a notion of elapsed time since the
/linux-4.1.27/block/
Dcfq-iosched.c3697 unsigned long elapsed = jiffies - ttime->last_end_request; in __cfq_update_io_thinktime() local
3698 elapsed = min(elapsed, 2UL * slice_idle); in __cfq_update_io_thinktime()
3701 ttime->ttime_total = (7*ttime->ttime_total + 256*elapsed) / 8; in __cfq_update_io_thinktime()
/linux-4.1.27/Documentation/powerpc/
Dfirmware-assisted-dump.txt8 to minimize the total elapsed time until the system is back
/linux-4.1.27/lib/
DKconfig116 and computes the total elapsed time and number of bytes processed.
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc348 // find out how much time elapsed since the last update
/linux-4.1.27/kernel/printk/
Dprintk.c2711 unsigned long elapsed = jiffies - *caller_jiffies; in printk_timed_ratelimit() local
2713 if (*caller_jiffies && elapsed <= msecs_to_jiffies(interval_msecs)) in printk_timed_ratelimit()
/linux-4.1.27/drivers/staging/fwserial/
Dfwserial.c515 unsigned long elapsed = now - port->break_last; in fwtty_emit_breaks() local
519 n = (elapsed * port->cps) / HZ + 1; in fwtty_emit_breaks()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem.c2451 unsigned long elapsed; in i915_context_is_banned() local
2453 elapsed = get_seconds() - ctx->hang_stats.guilty_ts; in i915_context_is_banned()
2459 elapsed <= ctx->hang_stats.ban_period_seconds) { in i915_context_is_banned()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_target.c679 unsigned long flags, elapsed; in qlt_del_sess_work_fn() local
685 elapsed = jiffies; in qlt_del_sess_work_fn()
686 if (time_after_eq(elapsed, sess->expires)) { in qlt_del_sess_work_fn()
698 sess->expires - elapsed); in qlt_del_sess_work_fn()
/linux-4.1.27/Documentation/networking/
Dz8530drv.txt518 elapsed, no new frame will be started. Instead, the trans-
/linux-4.1.27/Documentation/scsi/
DChangeLog.megaraid426 ii. Display elapsed time (countdown) while waiting for FW to boot.
DChangeLog.megaraid_sas496 resumed if pending cmd count reduces to 16 or 5 seconds has elapsed
/linux-4.1.27/Documentation/filesystems/
Dntfs.txt72 NTFS partition, showed the new driver to be 20% faster in total time elapsed
/linux-4.1.27/Documentation/power/
Druntime_pm.txt806 automatically be delayed until the desired period of inactivity has elapsed.