Searched refs:new_sample (Results 1 – 2 of 2) sorted by relevance
33 s32 wf_pid_run(struct wf_pid_state *st, s32 new_sample) in wf_pid_run() argument40 error = new_sample - st->param.itarget; in wf_pid_run()45 st->samples[i] = new_sample; in wf_pid_run()52 st->samples[st->index] = new_sample; in wf_pid_run()
648 u32 new_sample = tp->rcv_rtt_est.rtt_us; in tcp_rcv_rtt_update() local651 if (new_sample != 0) { in tcp_rcv_rtt_update()663 m -= (new_sample >> 3); in tcp_rcv_rtt_update()664 new_sample += m; in tcp_rcv_rtt_update()667 if (m < new_sample) in tcp_rcv_rtt_update()668 new_sample = m; in tcp_rcv_rtt_update()672 new_sample = m << 3; in tcp_rcv_rtt_update()675 tp->rcv_rtt_est.rtt_us = new_sample; in tcp_rcv_rtt_update()