cwnd 3324 drivers/infiniband/hw/i40iw/i40iw_cm.c tcp_info->cwnd = cpu_to_le32(2 * cm_node->tcp_cntxt.mss); cwnd 2902 drivers/infiniband/hw/i40iw/i40iw_ctrl.c LS_64(tcp->cwnd, I40IWQPC_CWND)); cwnd 726 drivers/infiniband/hw/i40iw/i40iw_type.h u32 cwnd; cwnd 1773 drivers/net/ethernet/broadcom/cnic.c ictx->tstorm_st_context.tcp.cwnd = 0x5A8; cwnd 4101 drivers/net/ethernet/broadcom/cnic_defs.h u32 cwnd; cwnd 105 drivers/net/ethernet/qlogic/qed/qed_iscsi.c u32 cwnd; cwnd 391 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_tcp->cwnd = cpu_to_le32(p_conn->cwnd); cwnd 460 drivers/net/ethernet/qlogic/qed/qed_iscsi.c p_tcp2->cwnd = cpu_to_le32(p_conn->cwnd); cwnd 1294 drivers/net/ethernet/qlogic/qed/qed_iscsi.c con->cwnd = conn_info->cwnd; cwnd 724 drivers/net/ethernet/qlogic/qed/qed_iwarp.c tcp->cwnd = QED_IWARP_DEF_CWND_FACTOR * tcp->mss; cwnd 549 drivers/scsi/qedi/qedi_iscsi.c conn_info->cwnd = DEF_MAX_CWND * conn_info->mss; cwnd 101 include/linux/qed/qed_iscsi_if.h u32 cwnd; cwnd 118 include/linux/qed/tcp_common.h __le32 cwnd; cwnd 184 include/linux/qed/tcp_common.h __le32 cwnd; cwnd 264 include/linux/qed/tcp_common.h __le32 cwnd; cwnd 33 include/linux/sunrpc/xprt.h #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd) cwnd 196 include/linux/sunrpc/xprt.h unsigned long cwnd; /* congestion window */ cwnd 840 include/net/sctp/structs.h __u32 cwnd; /* This is the actual cwnd. */ cwnd 1310 include/trace/events/rxrpc.h __entry->sum.cwnd, cwnd 23 include/trace/events/sctp.h __field(__u32, cwnd) cwnd 35 include/trace/events/sctp.h __entry->cwnd = sp->cwnd; cwnd 45 include/trace/events/sctp.h __entry->ipaddr, __entry->state, __entry->cwnd, cwnd 147 net/batman-adv/tp_meter.c if (tp_vars->cwnd <= tp_vars->ss_threshold) { cwnd 149 net/batman-adv/tp_meter.c tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); cwnd 156 net/batman-adv/tp_meter.c ((mss * mss) << 6) / (tp_vars->cwnd << 3)); cwnd 162 net/batman-adv/tp_meter.c tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, mss, mss); cwnd 413 net/batman-adv/tp_meter.c tp_vars->cwnd, tp_vars->ss_threshold); cwnd 504 net/batman-adv/tp_meter.c tp_vars->ss_threshold = tp_vars->cwnd >> 1; cwnd 510 net/batman-adv/tp_meter.c tp_vars->other_end, tp_vars->cwnd, tp_vars->ss_threshold, cwnd 513 net/batman-adv/tp_meter.c tp_vars->cwnd = BATADV_TP_PLEN * 3; cwnd 631 net/batman-adv/tp_meter.c u32 rtt, recv_ack, cwnd; cwnd 695 net/batman-adv/tp_meter.c tp_vars->ss_threshold = tp_vars->cwnd >> 1; cwnd 698 net/batman-adv/tp_meter.c tp_vars->cwnd, tp_vars->ss_threshold, cwnd 700 net/batman-adv/tp_meter.c tp_vars->cwnd = batadv_tp_cwnd(tp_vars->ss_threshold, 3 * mss, cwnd 726 net/batman-adv/tp_meter.c tp_vars->cwnd = batadv_tp_cwnd(tp_vars->cwnd, cwnd 734 net/batman-adv/tp_meter.c cwnd = batadv_tp_cwnd(tp_vars->ss_threshold, 0, cwnd 736 net/batman-adv/tp_meter.c tp_vars->cwnd = cwnd; cwnd 770 net/batman-adv/tp_meter.c win_limit = atomic_read(&tp_vars->last_acked) + tp_vars->cwnd; cwnd 999 net/batman-adv/tp_meter.c tp_vars->cwnd = BATADV_TP_PLEN * 3; cwnd 1431 net/batman-adv/types.h u32 cwnd; cwnd 217 net/dccp/ccids/ccid2.c u32 cwnd = hc->tx_cwnd, restart_cwnd, cwnd 221 net/dccp/ccids/ccid2.c hc->tx_ssthresh = max(hc->tx_ssthresh, (cwnd >> 1) + (cwnd >> 2)); cwnd 224 net/dccp/ccids/ccid2.c restart_cwnd = min(cwnd, iwnd); cwnd 226 net/dccp/ccids/ccid2.c while ((delta -= hc->tx_rto) >= 0 && cwnd > restart_cwnd) cwnd 227 net/dccp/ccids/ccid2.c cwnd >>= 1; cwnd 228 net/dccp/ccids/ccid2.c hc->tx_cwnd = max(cwnd, restart_cwnd); cwnd 392 net/ipv4/tcp_bbr.c static u32 bbr_quantization_budget(struct sock *sk, u32 cwnd) cwnd 397 net/ipv4/tcp_bbr.c cwnd += 3 * bbr_tso_segs_goal(sk); cwnd 400 net/ipv4/tcp_bbr.c cwnd = (cwnd + 1) & ~1U; cwnd 404 net/ipv4/tcp_bbr.c cwnd += 2; cwnd 406 net/ipv4/tcp_bbr.c return cwnd; cwnd 483 net/ipv4/tcp_bbr.c u32 cwnd = tp->snd_cwnd; cwnd 490 net/ipv4/tcp_bbr.c cwnd = max_t(s32, cwnd - rs->losses, 1); cwnd 497 net/ipv4/tcp_bbr.c cwnd = tcp_packets_in_flight(tp) + acked; cwnd 500 net/ipv4/tcp_bbr.c cwnd = max(cwnd, bbr->prior_cwnd); cwnd 506 net/ipv4/tcp_bbr.c *new_cwnd = max(cwnd, tcp_packets_in_flight(tp) + acked); cwnd 509 net/ipv4/tcp_bbr.c *new_cwnd = cwnd; cwnd 521 net/ipv4/tcp_bbr.c u32 cwnd = tp->snd_cwnd, target_cwnd = 0; cwnd 526 net/ipv4/tcp_bbr.c if (bbr_set_cwnd_to_recover_or_restore(sk, rs, acked, &cwnd)) cwnd 539 net/ipv4/tcp_bbr.c cwnd = min(cwnd + acked, target_cwnd); cwnd 540 net/ipv4/tcp_bbr.c else if (cwnd < target_cwnd || tp->delivered < TCP_INIT_CWND) cwnd 541 net/ipv4/tcp_bbr.c cwnd = cwnd + acked; cwnd 542 net/ipv4/tcp_bbr.c cwnd = max(cwnd, bbr_cwnd_min_target); cwnd 545 net/ipv4/tcp_bbr.c tp->snd_cwnd = min(cwnd, tp->snd_cwnd_clamp); /* apply global cap */ cwnd 83 net/ipv4/tcp_bic.c static inline void bictcp_update(struct bictcp *ca, u32 cwnd) cwnd 85 net/ipv4/tcp_bic.c if (ca->last_cwnd == cwnd && cwnd 89 net/ipv4/tcp_bic.c ca->last_cwnd = cwnd; cwnd 96 net/ipv4/tcp_bic.c if (cwnd <= low_window) { cwnd 97 net/ipv4/tcp_bic.c ca->cnt = cwnd; cwnd 102 net/ipv4/tcp_bic.c if (cwnd < ca->last_max_cwnd) { cwnd 103 net/ipv4/tcp_bic.c __u32 dist = (ca->last_max_cwnd - cwnd) cwnd 108 net/ipv4/tcp_bic.c ca->cnt = cwnd / max_increment; cwnd 111 net/ipv4/tcp_bic.c ca->cnt = (cwnd * smooth_part) / BICTCP_B; cwnd 114 net/ipv4/tcp_bic.c ca->cnt = cwnd / dist; cwnd 117 net/ipv4/tcp_bic.c if (cwnd < ca->last_max_cwnd + BICTCP_B) cwnd 119 net/ipv4/tcp_bic.c ca->cnt = (cwnd * smooth_part) / BICTCP_B; cwnd 120 net/ipv4/tcp_bic.c else if (cwnd < ca->last_max_cwnd + max_increment*(BICTCP_B-1)) cwnd 122 net/ipv4/tcp_bic.c ca->cnt = (cwnd * (BICTCP_B-1)) cwnd 123 net/ipv4/tcp_bic.c / (cwnd - ca->last_max_cwnd); cwnd 126 net/ipv4/tcp_bic.c ca->cnt = cwnd / max_increment; cwnd 396 net/ipv4/tcp_cong.c u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); cwnd 398 net/ipv4/tcp_cong.c acked -= cwnd - tp->snd_cwnd; cwnd 399 net/ipv4/tcp_cong.c tp->snd_cwnd = min(cwnd, tp->snd_cwnd_clamp); cwnd 225 net/ipv4/tcp_cubic.c static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) cwnd 232 net/ipv4/tcp_cubic.c if (ca->last_cwnd == cwnd && cwnd 243 net/ipv4/tcp_cubic.c ca->last_cwnd = cwnd; cwnd 249 net/ipv4/tcp_cubic.c ca->tcp_cwnd = cwnd; /* syn with cubic */ cwnd 251 net/ipv4/tcp_cubic.c if (ca->last_max_cwnd <= cwnd) { cwnd 253 net/ipv4/tcp_cubic.c ca->bic_origin_point = cwnd; cwnd 259 net/ipv4/tcp_cubic.c * (ca->last_max_cwnd - cwnd)); cwnd 297 net/ipv4/tcp_cubic.c if (bic_target > cwnd) { cwnd 298 net/ipv4/tcp_cubic.c ca->cnt = cwnd / (bic_target - cwnd); cwnd 300 net/ipv4/tcp_cubic.c ca->cnt = 100 * cwnd; /* very small increment*/ cwnd 315 net/ipv4/tcp_cubic.c delta = (cwnd * scale) >> 3; cwnd 321 net/ipv4/tcp_cubic.c if (ca->tcp_cwnd > cwnd) { /* if bic is slower than tcp */ cwnd 322 net/ipv4/tcp_cubic.c delta = ca->tcp_cwnd - cwnd; cwnd 323 net/ipv4/tcp_cubic.c max_cnt = cwnd / delta; cwnd 17 net/ipv4/tcp_highspeed.c unsigned int cwnd; cwnd 130 net/ipv4/tcp_highspeed.c if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) { cwnd 131 net/ipv4/tcp_highspeed.c while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd && cwnd 134 net/ipv4/tcp_highspeed.c } else if (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) { cwnd 135 net/ipv4/tcp_highspeed.c while (ca->ai && tp->snd_cwnd <= hstcp_aimd_vals[ca->ai-1].cwnd) cwnd 865 net/ipv4/tcp_input.c __u32 cwnd = (dst ? dst_metric(dst, RTAX_INITCWND) : 0); cwnd 867 net/ipv4/tcp_input.c if (!cwnd) cwnd 868 net/ipv4/tcp_input.c cwnd = TCP_INIT_CWND; cwnd 869 net/ipv4/tcp_input.c return min_t(__u32, cwnd, tp->snd_cwnd_clamp); cwnd 144 net/ipv4/tcp_output.c u32 cwnd = tp->snd_cwnd; cwnd 149 net/ipv4/tcp_output.c restart_cwnd = min(restart_cwnd, cwnd); cwnd 151 net/ipv4/tcp_output.c while ((delta -= inet_csk(sk)->icsk_rto) > 0 && cwnd > restart_cwnd) cwnd 152 net/ipv4/tcp_output.c cwnd >>= 1; cwnd 153 net/ipv4/tcp_output.c tp->snd_cwnd = max(cwnd, restart_cwnd); cwnd 1802 net/ipv4/tcp_output.c u32 in_flight, cwnd, halfcwnd; cwnd 1810 net/ipv4/tcp_output.c cwnd = tp->snd_cwnd; cwnd 1811 net/ipv4/tcp_output.c if (in_flight >= cwnd) cwnd 1817 net/ipv4/tcp_output.c halfcwnd = max(cwnd >> 1, 1U); cwnd 1818 net/ipv4/tcp_output.c return min(halfcwnd, cwnd - in_flight); cwnd 702 net/rxrpc/ar-internal.h u8 cwnd; cwnd 45 net/rxrpc/input.c unsigned int cwnd = call->cong_cwnd; cwnd 55 net/rxrpc/input.c cwnd = 1; cwnd 56 net/rxrpc/input.c if (cwnd >= call->cong_ssthresh && cwnd 70 net/rxrpc/input.c summary->cwnd = call->cong_cwnd; cwnd 80 net/rxrpc/input.c cwnd += 1; cwnd 81 net/rxrpc/input.c if (cwnd >= call->cong_ssthresh) { cwnd 102 net/rxrpc/input.c if (cumulative_acks >= cwnd) cwnd 103 net/rxrpc/input.c cwnd++; cwnd 126 net/rxrpc/input.c cwnd = call->cong_ssthresh + 3; cwnd 135 net/rxrpc/input.c cwnd += 1; cwnd 144 net/rxrpc/input.c cwnd = call->cong_ssthresh; cwnd 160 net/rxrpc/input.c if (cwnd < call->cong_ssthresh) cwnd 167 net/rxrpc/input.c if (cwnd >= RXRPC_RXTX_BUFF_SIZE - 1) cwnd 168 net/rxrpc/input.c cwnd = RXRPC_RXTX_BUFF_SIZE - 1; cwnd 169 net/rxrpc/input.c call->cong_cwnd = cwnd; cwnd 682 net/sctp/associola.c peer->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); cwnd 808 net/sctp/associola.c transport->cwnd = asoc->pathmtu; cwnd 694 net/sctp/output.c flight_size >= transport->cwnd) cwnd 824 net/sctp/output.c psize + chunk_len > (packet->transport->cwnd >> 1)) cwnd 526 net/sctp/outqueue.c transport->cwnd, transport->ssthresh, transport->flight_size, cwnd 1731 net/sctp/outqueue.c transport->cwnd, transport->ssthresh, cwnd 629 net/sctp/socket.c trans->cwnd = min(4*asoc->pathmtu, max_t(__u32, cwnd 5281 net/sctp/socket.c info->sctpi_p_cwnd = prim->cwnd; cwnd 5484 net/sctp/socket.c status.sstat_primary.spinfo_cwnd = transport->cwnd; cwnd 5544 net/sctp/socket.c pinfo.spinfo_cwnd = transport->cwnd; cwnd 401 net/sctp/transport.c __u32 cwnd, ssthresh, flight_size, pba, pmtu; cwnd 403 net/sctp/transport.c cwnd = transport->cwnd; cwnd 415 net/sctp/transport.c if (cwnd <= ssthresh) { cwnd 438 net/sctp/transport.c if (flight_size < cwnd) cwnd 442 net/sctp/transport.c cwnd += pmtu; cwnd 444 net/sctp/transport.c cwnd += bytes_acked; cwnd 448 net/sctp/transport.c __func__, transport, bytes_acked, cwnd, ssthresh, cwnd 474 net/sctp/transport.c if (pba > cwnd && flight_size < cwnd) cwnd 475 net/sctp/transport.c pba = cwnd; cwnd 476 net/sctp/transport.c if (pba >= cwnd && flight_size >= cwnd) { cwnd 477 net/sctp/transport.c pba = pba - cwnd; cwnd 478 net/sctp/transport.c cwnd += pmtu; cwnd 484 net/sctp/transport.c transport, bytes_acked, cwnd, ssthresh, cwnd 488 net/sctp/transport.c transport->cwnd = cwnd; cwnd 509 net/sctp/transport.c transport->ssthresh = max(transport->cwnd/2, cwnd 511 net/sctp/transport.c transport->cwnd = asoc->pathmtu; cwnd 537 net/sctp/transport.c transport->ssthresh = max(transport->cwnd/2, cwnd 539 net/sctp/transport.c transport->cwnd = transport->ssthresh; cwnd 557 net/sctp/transport.c transport->ssthresh = max(transport->cwnd/2, cwnd 559 net/sctp/transport.c transport->cwnd = transport->ssthresh; cwnd 573 net/sctp/transport.c transport->cwnd = max(transport->cwnd/2, cwnd 576 net/sctp/transport.c transport->ssthresh = transport->cwnd; cwnd 583 net/sctp/transport.c __func__, transport, reason, transport->cwnd, cwnd 600 net/sctp/transport.c u32 old_cwnd = t->cwnd; cwnd 608 net/sctp/transport.c t->cwnd = max_burst_bytes; cwnd 619 net/sctp/transport.c t->cwnd = t->burst_limited; cwnd 647 net/sctp/transport.c t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); cwnd 399 net/sunrpc/xprt.c req->rq_task->tk_pid, xprt->cong, xprt->cwnd); cwnd 498 net/sunrpc/xprt.c unsigned long cwnd = xprt->cwnd; cwnd 500 net/sunrpc/xprt.c if (result >= 0 && cwnd <= xprt->cong) { cwnd 503 net/sunrpc/xprt.c cwnd += (RPC_CWNDSCALE * RPC_CWNDSCALE + (cwnd >> 1)) / cwnd; cwnd 504 net/sunrpc/xprt.c if (cwnd > RPC_MAXCWND(xprt)) cwnd 505 net/sunrpc/xprt.c cwnd = RPC_MAXCWND(xprt); cwnd 508 net/sunrpc/xprt.c cwnd >>= 1; cwnd 509 net/sunrpc/xprt.c if (cwnd < RPC_CWNDSCALE) cwnd 510 net/sunrpc/xprt.c cwnd = RPC_CWNDSCALE; cwnd 513 net/sunrpc/xprt.c xprt->cong, xprt->cwnd, cwnd); cwnd 514 net/sunrpc/xprt.c xprt->cwnd = cwnd; cwnd 1867 net/sunrpc/xprt.c xprt->cwnd = RPC_INITCWND; cwnd 1362 net/sunrpc/xprtrdma/rpc_rdma.c xprt->cwnd = credits << RPC_CWNDSHIFT; cwnd 76 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt->cwnd = credits << RPC_CWNDSHIFT; cwnd 247 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt->cwnd = RPC_CWNDSHIFT; cwnd 434 net/sunrpc/xprtrdma/transport.c xprt->cwnd = RPC_CWNDSHIFT; cwnd 79 samples/bpf/hbm_kern.h int cwnd; cwnd 99 samples/bpf/hbm_kern.h pkti->cwnd = tp->snd_cwnd; cwnd 107 samples/bpf/hbm_kern.h pkti->cwnd = 0; cwnd 119 samples/bpf/hbm_kern.h pkti->cwnd = 0; cwnd 192 samples/bpf/hbm_kern.h if (pkti->cwnd) { cwnd 194 samples/bpf/hbm_kern.h pkti->cwnd);