Home
last modified time | relevance | path

Searched refs:srtt (Results 1 – 23 of 23) sorted by relevance

/linux/net/sunrpc/
H A Dtimer.c45 rt->srtt[i] = init; in rpc_init_rtt()
63 long *srtt, *sdrtt; in rpc_update_rtt() local
75 srtt = (long *)&rt->srtt[timer]; in rpc_update_rtt()
76 m -= *srtt >> 3; in rpc_update_rtt()
77 *srtt += m; in rpc_update_rtt()
117 res = ((rt->srtt[timer] + 7) >> 3) + rt->sdrtt[timer]; in rpc_calc_rto()
/linux/net/rxrpc/
H A Drtt.c46 u32 srtt = peer->srtt_us; in rxrpc_rtt_estimator() local
64 if (srtt != 0) { in rxrpc_rtt_estimator()
65 m -= (srtt >> 3); /* m is now error in rtt est */ in rxrpc_rtt_estimator()
66 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in rxrpc_rtt_estimator()
92 srtt = m << 3; /* take the measured time to be rtt */ in rxrpc_rtt_estimator()
98 peer->srtt_us = max(1U, srtt); in rxrpc_rtt_estimator()
/linux/net/ipv4/
H A Dtcp_htcp.c82 static inline void measure_rtt(struct sock *sk, u32 srtt) in measure_rtt() argument
88 if (ca->minRTT > srtt || !ca->minRTT) in measure_rtt()
89 ca->minRTT = srtt; in measure_rtt()
95 if (ca->maxRTT < srtt && in measure_rtt()
96 srtt <= ca->maxRTT + msecs_to_jiffies(20)) in measure_rtt()
97 ca->maxRTT = srtt; in measure_rtt()
H A Dtcp_input.c873 u32 srtt = tp->srtt_us; in tcp_rtt_estimator() local
891 if (srtt != 0) { in tcp_rtt_estimator()
892 m -= (srtt >> 3); /* m is now error in rtt est */ in tcp_rtt_estimator()
893 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in tcp_rtt_estimator()
922 tcp_bpf_rtt(sk, mrtt_us, srtt); in tcp_rtt_estimator()
926 srtt = m << 3; /* take the measured time to be rtt */ in tcp_rtt_estimator()
932 tcp_bpf_rtt(sk, mrtt_us, srtt); in tcp_rtt_estimator()
934 tp->srtt_us = max(1U, srtt); in tcp_rtt_estimator()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtcp_rtt.c16 __u32 srtt; /* args[1] */ member
96 if (val.srtt == 0) { in verify_sk()
97 log_err("%s: unexpected bpf_tcp_sock.args[1] (srtt) %u == 0", msg, val.srtt); in verify_sk()
/linux/net/sctp/
H A Dtransport.c494 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto()
508 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
509 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
515 tp->srtt = rtt; in sctp_transport_update_rto()
526 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto()
549 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto()
811 t->srtt = 0; in sctp_transport_reset()
H A Dsocket.c650 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip()
5242 info->sctpi_p_srtt = prim->srtt; in sctp_get_sctp_info()
5460 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status()
5528 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
/linux/tools/testing/selftests/bpf/progs/
H A Dtcp_rtt.c15 __u32 srtt; /* args[1] */ member
62 storage->srtt = ctx->args[1]; in _sockops()
/linux/include/linux/qed/
H A Dtcp_common.h89 __le16 srtt; member
240 __le16 srtt; member
H A Dqed_iscsi_if.h77 u16 srtt; member
/linux/net/batman-adv/
H A Dtp_meter.c185 if (tp_vars->srtt != 0) { in batadv_tp_update_rto()
186 m -= (tp_vars->srtt >> 3); /* m is now error in rtt est */ in batadv_tp_update_rto()
187 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */ in batadv_tp_update_rto()
195 tp_vars->srtt = m << 3; /* take the measured time to be srtt */ in batadv_tp_update_rto()
202 tp_vars->rto = (tp_vars->srtt >> 3) + tp_vars->rttvar; in batadv_tp_update_rto()
413 tp_vars->srtt >> 3, tp_vars->rttvar >> 2, tp_vars->rto); in batadv_tp_sender_end()
1008 tp_vars->srtt = 0; in batadv_tp_start()
H A Dtypes.h1520 u32 srtt; member
/linux/include/linux/sunrpc/
H A Dtimer.h17 unsigned long srtt[5]; /* smoothed round trip time << 3 */ member
/linux/fs/gfs2/
H A Dtrace_gfs2.h268 __field( u64, srtt )
285 __entry->srtt = gl->gl_stats.stats[GFS2_LKS_SRTT];
300 (long long)__entry->srtt,
/linux/include/trace/events/
H A Dtcp.h284 __field(__u32, srtt)
314 __entry->srtt = tp->srtt_us >> 3;
326 __entry->srtt, __entry->rcv_wnd, __entry->sock_cookie,
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_iscsi.c82 u16 srtt; member
366 p_tcp->srtt = cpu_to_le16(p_conn->srtt); in qed_sp_iscsi_conn_offload()
1247 con->srtt = conn_info->srtt; in qed_iscsi_offload_conn()
/linux/Documentation/filesystems/
H A Dgfs2-glocks.rst222 srtt Smoothed round trip time for non blocking dlm requests
223 srttvar Variance estimate for srtt
/linux/include/net/
H A Dtcp.h2729 static inline void tcp_bpf_rtt(struct sock *sk, long mrtt, u32 srtt) in tcp_bpf_rtt() argument
2732 tcp_call_bpf_2arg(sk, BPF_SOCK_OPS_RTT_CB, mrtt, srtt); in tcp_bpf_rtt()
/linux/include/net/sctp/
H A Dstructs.h832 __u32 srtt; member
/linux/drivers/infiniband/hw/irdma/
H A Dtype.h913 u32 srtt; member
H A Dctrl.c1016 FIELD_PREP(IRDMAQPC_SRTT, tcp->srtt) | in irdma_sc_qp_setctx()
/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.c557 conn_info->srtt = 300; in qedi_iscsi_offload_conn()
/linux/Documentation/networking/
H A Dip-sysctl.rst957 to current rate. (current_rate = cwnd * mss / srtt)
966 to current rate. (current_rate = cwnd * mss / srtt)