Home
last modified time | relevance | path

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

1234

/Linux-v4.19/net/ipv4/
Dtcp_timer.c42 u32 elapsed, start_ts; in tcp_clamp_rto_to_user_timeout() local
47 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
48 if (elapsed >= icsk->icsk_user_timeout) in tcp_clamp_rto_to_user_timeout()
51 return min_t(u32, icsk->icsk_rto, msecs_to_jiffies(icsk->icsk_user_timeout - elapsed)); in tcp_clamp_rto_to_user_timeout()
654 u32 elapsed; in tcp_keepalive_timer() local
687 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
693 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()
695 if (elapsed >= keepalive_time_when(tp)) { in tcp_keepalive_timer()
700 elapsed >= msecs_to_jiffies(icsk->icsk_user_timeout) && in tcp_keepalive_timer()
710 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer()
[all …]
/Linux-v4.19/arch/s390/kernel/
Dvtime.c56 static inline int virt_timer_forward(u64 elapsed) in virt_timer_forward() argument
62 elapsed = atomic64_add_return(elapsed, &virt_timer_elapsed); in virt_timer_forward()
63 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward()
272 unsigned long elapsed; in virt_timer_expire() local
277 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
279 if (timer->expires < elapsed) in virt_timer_expire()
283 timer->expires -= elapsed; in virt_timer_expire()
290 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/Linux-v4.19/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-v4.19/kernel/
Dacct.c418 u64 elapsed, run_time; in fill_ac() local
434 elapsed = nsec_to_AHZ(run_time); in fill_ac()
436 ac->ac_etime = encode_float(elapsed); in fill_ac()
438 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
439 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac()
444 comp2_t etime = encode_comp2_t(elapsed); in fill_ac()
450 do_div(elapsed, AHZ); in fill_ac()
451 ac->ac_btime = get_seconds() - elapsed; in fill_ac()
/Linux-v4.19/kernel/power/
Dprocess.c37 ktime_t start, end, elapsed; in try_to_freeze_tasks() local
85 elapsed = ktime_sub(end, start); in try_to_freeze_tasks()
86 elapsed_msecs = ktime_to_ms(elapsed); in try_to_freeze_tasks()
/Linux-v4.19/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-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c1461 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
1463 if (!elapsed) in iwl_mvm_tcm_load_percentage()
1466 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
1470 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
1472 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
1592 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
1607 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
1621 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
1647 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
1663 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
[all …]
/Linux-v4.19/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-v4.19/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% )
/Linux-v4.19/mm/
Dpage-writeback.c1083 unsigned long elapsed, in wb_update_write_bandwidth() argument
1103 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth()
1104 do_div(bw, elapsed); in wb_update_write_bandwidth()
1108 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth()
1188 unsigned long elapsed) in wb_update_dirty_ratelimit() argument
1208 dirty_rate = (dirtied - wb->dirtied_stamp) * HZ / elapsed; in wb_update_dirty_ratelimit()
1351 unsigned long elapsed = now - wb->bw_time_stamp; in __wb_update_bandwidth() local
1360 if (elapsed < BANDWIDTH_INTERVAL) in __wb_update_bandwidth()
1370 if (elapsed > HZ && time_before(wb->bw_time_stamp, start_time)) in __wb_update_bandwidth()
1375 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth()
[all …]
/Linux-v4.19/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-v4.19/drivers/rtc/
Drtc-snvs.c100 u32 elapsed; in rtc_write_sync_lp() local
113 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
114 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
/Linux-v4.19/sound/soc/sh/rcar/
Dssi.c619 bool elapsed = false; in __rsnd_ssi_interrupt() local
632 elapsed = rsnd_ssi_pio_interrupt(mod, io); in __rsnd_ssi_interrupt()
646 if (elapsed) in __rsnd_ssi_interrupt()
785 bool elapsed = false; in rsnd_ssi_pio_interrupt() local
812 elapsed = true; in rsnd_ssi_pio_interrupt()
817 return elapsed; in rsnd_ssi_pio_interrupt()
/Linux-v4.19/drivers/md/
Ddm-flakey.c310 unsigned elapsed; in flakey_map() local
323 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()
324 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
/Linux-v4.19/Documentation/devicetree/bindings/input/
Dstmpe-keypad.txt9 - st,scan-count : Scanning cycles elapsed before key data is updated
/Linux-v4.19/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-v4.19/Documentation/devicetree/bindings/watchdog/
Dsbsa-gwdt.txt4 after two stages of timeout have elapsed. A detailed definition of the
Dgpio-wdt.txt19 to toggle the signal when the device is open and the timeout elapsed.
/Linux-v4.19/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-v4.19/drivers/dma/
Dmxs-dma.c221 unsigned long elapsed = 0; in mxs_dma_reset_chan() local
233 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
235 elapsed += 100; in mxs_dma_reset_chan()
238 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/Linux-v4.19/Documentation/trace/
Dtracepoint-analysis.rst107 10.002577764 seconds time elapsed
135 0.973913387 seconds time elapsed
167 0.982653002 seconds time elapsed ( +- 1.448% )
186 1.002251757 seconds time elapsed ( +- 0.005% )
/Linux-v4.19/arch/x86/kvm/
Di8254.c84 s64 elapsed; in __kpit_elapsed() local
101 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed()
103 return elapsed; in __kpit_elapsed()
/Linux-v4.19/net/sctp/
Dsm_sideeffect.c383 u32 elapsed, timeout; in sctp_generate_heartbeat_event() local
397 elapsed = jiffies - transport->last_time_sent; in sctp_generate_heartbeat_event()
399 if (elapsed < timeout) { in sctp_generate_heartbeat_event()
400 elapsed = timeout - elapsed; in sctp_generate_heartbeat_event()
401 if (!mod_timer(&transport->hb_timer, jiffies + elapsed)) in sctp_generate_heartbeat_event()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_gpu.c579 uint32_t elapsed; in update_sw_cntrs() local
587 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
589 gpu->totaltime += elapsed; in update_sw_cntrs()
591 gpu->activetime += elapsed; in update_sw_cntrs()
/Linux-v4.19/Documentation/
Dstatic-keys.txt309 1.601607384 seconds time elapsed ( +- 0.07% )
326 1.579384366 seconds time elapsed
331 saved .2% on instructions, and 2.8% on cycles and 1.4% on elapsed time.

1234