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()
626 u32 new_sample = tp->rcv_rtt_est.rtt_us; in tcp_rcv_rtt_update() local629 if (new_sample != 0) { in tcp_rcv_rtt_update()641 m -= (new_sample >> 3); in tcp_rcv_rtt_update()642 new_sample += m; in tcp_rcv_rtt_update()645 if (m < new_sample) in tcp_rcv_rtt_update()646 new_sample = m; in tcp_rcv_rtt_update()650 new_sample = m << 3; in tcp_rcv_rtt_update()653 tp->rcv_rtt_est.rtt_us = new_sample; in tcp_rcv_rtt_update()