Lines Matching refs:sample
440 * to compute a sample with given data - calling function should check this.
444 u32 sample = 0,
450 sample = SUB16(tfrc_rx_hist_rtt_prev_s(h)->tfrchrx_ccval,
452 if (sample)
453 sample = 4 / sample *
467 sample = ktime_to_us(net_timedelta(tfrc_rx_hist_rtt_last_s(h)->tfrchrx_tstamp));
473 if (unlikely(sample > DCCP_SANE_RTT_MAX)) {
474 DCCP_WARN("RTT sample %u too large, using max\n", sample);
475 sample = DCCP_SANE_RTT_MAX;
481 return sample;