Home
last modified time | relevance | path

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

1234

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_timer.c312 static bool tcp_nip_keepalive_is_timeout(struct sock *sk, u32 elapsed) in tcp_nip_keepalive_is_timeout() argument
326 elapsed >= msecs_to_jiffies(icsk->icsk_user_timeout) && in tcp_nip_keepalive_is_timeout()
345 u32 elapsed; in tcp_nip_keepalive_timer() local
374 elapsed = keepalive_time_when(tp); in tcp_nip_keepalive_timer()
380 elapsed = keepalive_time_elapsed(tp); in tcp_nip_keepalive_timer()
381 if (elapsed >= keepalive_time_when(tp)) { in tcp_nip_keepalive_timer()
382 if (tcp_nip_keepalive_is_timeout(sk, elapsed)) in tcp_nip_keepalive_timer()
388 elapsed = keepalive_intvl_when(tp); in tcp_nip_keepalive_timer()
393 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_nip_keepalive_timer()
397 elapsed = keepalive_time_when(tp) - elapsed; in tcp_nip_keepalive_timer()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_timer.c29 u32 elapsed, start_ts; in tcp_clamp_rto_to_user_timeout() local
35 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
36 remaining = icsk->icsk_user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
47 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local
52 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
53 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
54 elapsed = 0; in tcp_clamp_probe0_to_user_timeout()
55 remaining = msecs_to_jiffies(icsk->icsk_user_timeout) - elapsed; in tcp_clamp_probe0_to_user_timeout()
678 u32 elapsed; in tcp_keepalive_timer() local
711 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
Dtimerfd.c28 long long elapsed; in run_test() local
63 elapsed = new_value.it_value.tv_sec; in run_test()
64 if (abs(elapsed - 3600) > 60) { in run_test()
66 clockid, elapsed); in run_test()
Dtimer.c21 long long elapsed; in run_test() local
58 elapsed = new_value.it_value.tv_sec; in run_test()
59 if (abs(elapsed - 3600) > 60) { in run_test()
61 clockid, elapsed); in run_test()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gpu_trace.h57 TP_PROTO(struct msm_gem_submit *submit, u64 elapsed, u64 clock,
59 TP_ARGS(submit, elapsed, clock, start, end),
65 __field(u64, elapsed)
75 __entry->elapsed = elapsed;
82 __entry->elapsed, __entry->clock,
Dmsm_gpu.c603 uint32_t elapsed; in update_sw_cntrs() local
611 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
613 gpu->totaltime += elapsed; in update_sw_cntrs()
615 gpu->activetime += elapsed; in update_sw_cntrs()
682 u64 elapsed, clock = 0; in retire_submit() local
687 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit()
688 do_div(elapsed, 192); in retire_submit()
691 if (elapsed) { in retire_submit()
693 do_div(clock, elapsed); in retire_submit()
696 trace_msm_gpu_submit_retired(submit, elapsed, clock, in retire_submit()
/kernel/linux/linux-5.10/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()
278 unsigned long elapsed; in virt_timer_expire() local
283 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
285 if (timer->expires < elapsed) in virt_timer_expire()
289 timer->expires -= elapsed; in virt_timer_expire()
296 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_request.c1627 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
1650 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
1658 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
1672 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
1683 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
1686 cycles = trifilter(elapsed); in measure_semaphore_response()
1702 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
1718 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
1744 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
1754 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
[all …]
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-atmel-pit.c77 u32 elapsed; in read_pit_clk() local
81 elapsed = data->cnt; in read_pit_clk()
85 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()
86 elapsed += PIT_CPIV(t); in read_pit_clk()
87 return elapsed; in read_pit_clk()
/kernel/linux/linux-5.10/kernel/
Dacct.c420 u64 elapsed, run_time; in fill_ac() local
437 elapsed = nsec_to_AHZ(run_time); in fill_ac()
439 ac->ac_etime = encode_float(elapsed); in fill_ac()
441 ac->ac_etime = encode_comp_t(elapsed < (unsigned long) -1l ? in fill_ac()
442 (unsigned long) elapsed : (unsigned long) -1l); in fill_ac()
447 comp2_t etime = encode_comp2_t(elapsed); in fill_ac()
453 do_div(elapsed, AHZ); in fill_ac()
454 btime = ktime_get_real_seconds() - elapsed; in fill_ac()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dfutex-contention.py43 elapsed = nsecs(s, ns) - thread_blocktime[tid]
44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c1023 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
1025 if (!elapsed) in iwl_mvm_tcm_load_percentage()
1028 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
1032 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
1034 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
1149 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
1165 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
1179 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
1207 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
1223 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ring.c255 uint64_t elapsed; in radeon_ring_test_lockup() local
263 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup()
264 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup()
266 ring->idx, elapsed); in radeon_ring_test_lockup()
/kernel/linux/linux-5.10/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% )
/kernel/linux/linux-5.10/mm/
Dpage-writeback.c1073 unsigned long elapsed, in wb_update_write_bandwidth() argument
1093 if (unlikely(elapsed > period)) { in wb_update_write_bandwidth()
1094 bw = div64_ul(bw, elapsed); in wb_update_write_bandwidth()
1098 bw += (u64)wb->write_bandwidth * (period - elapsed); in wb_update_write_bandwidth()
1178 unsigned long elapsed) in wb_update_dirty_ratelimit() argument
1198 dirty_rate = (dirtied - wb->dirtied_stamp) * HZ / elapsed; in wb_update_dirty_ratelimit()
1341 unsigned long elapsed = now - wb->bw_time_stamp; in __wb_update_bandwidth() local
1350 if (elapsed < BANDWIDTH_INTERVAL) in __wb_update_bandwidth()
1360 if (elapsed > HZ && time_before(wb->bw_time_stamp, start_time)) in __wb_update_bandwidth()
1365 wb_update_dirty_ratelimit(gdtc, dirtied, elapsed); in __wb_update_bandwidth()
[all …]
/kernel/linux/linux-5.10/sound/drivers/
Ddummy.c232 int elapsed; member
255 dpcm->elapsed++; in dummy_systimer_update()
290 dpcm->elapsed = 0; in dummy_systimer_prepare()
299 int elapsed = 0; in dummy_systimer_callback() local
304 elapsed = dpcm->elapsed; in dummy_systimer_callback()
305 dpcm->elapsed = 0; in dummy_systimer_callback()
307 if (elapsed) in dummy_systimer_callback()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-snvs.c112 u32 elapsed; in rtc_write_sync_lp() local
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
/kernel/linux/linux-5.10/drivers/md/
Ddm-flakey.c321 unsigned elapsed; in flakey_map() local
329 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()
330 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
/kernel/linux/linux-5.10/sound/soc/sh/rcar/
Dssi.c751 bool elapsed = false; in __rsnd_ssi_interrupt() local
770 elapsed = rsnd_ssi_pio_interrupt(mod, io); in __rsnd_ssi_interrupt()
829 if (elapsed) in __rsnd_ssi_interrupt()
1003 bool elapsed = false; in rsnd_ssi_pio_interrupt() local
1030 elapsed = true; in rsnd_ssi_pio_interrupt()
1035 return elapsed; in rsnd_ssi_pio_interrupt()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dstmpe-keypad.txt9 - st,scan-count : Scanning cycles elapsed before key data is updated
/kernel/linux/linux-5.10/sound/sparc/
Damd7930.c498 unsigned int elapsed; in snd_amd7930_interrupt() local
503 elapsed = 0; in snd_amd7930_interrupt()
515 elapsed |= AMD7930_FLAG_PLAYBACK; in snd_amd7930_interrupt()
524 elapsed |= AMD7930_FLAG_CAPTURE; in snd_amd7930_interrupt()
530 if (elapsed & AMD7930_FLAG_PLAYBACK) in snd_amd7930_interrupt()
/kernel/linux/linux-5.10/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.
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_core.c472 int elapsed = 0; in snd_mixart_threaded_irq() local
483 elapsed = 1; in snd_mixart_threaded_irq()
493 if(elapsed) { in snd_mixart_threaded_irq()

1234