/net/ipv4/ |
H A D | tcp_highspeed.c | 102 struct hstcp *ca = inet_csk_ca(sk); local 104 ca->ai = 0; 114 struct hstcp *ca = inet_csk_ca(sk); local 125 * hstcp_aimd_vals[ca->ai-1].cwnd < 127 * hstcp_aimd_vals[ca->ai].cwnd 129 if (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd) { 130 while (tp->snd_cwnd > hstcp_aimd_vals[ca->ai].cwnd && 131 ca->ai < HSTCP_AIMD_MAX - 1) 132 ca->ai++; 133 } else if (ca 153 const struct hstcp *ca = inet_csk_ca(sk); local [all...] |
H A D | tcp_bic.c | 60 static inline void bictcp_reset(struct bictcp *ca) argument 62 ca->cnt = 0; 63 ca->last_max_cwnd = 0; 64 ca->last_cwnd = 0; 65 ca->last_time = 0; 66 ca->epoch_start = 0; 67 ca->delayed_ack = 2 << ACK_RATIO_SHIFT; 72 struct bictcp *ca = inet_csk_ca(sk); local 74 bictcp_reset(ca); 75 ca 84 bictcp_update(struct bictcp *ca, u32 cwnd) argument 144 struct bictcp *ca = inet_csk_ca(sk); local 164 struct bictcp *ca = inet_csk_ca(sk); local 186 const struct bictcp *ca = inet_csk_ca(sk); local 205 struct bictcp *ca = inet_csk_ca(sk); local [all...] |
H A D | tcp_cong.c | 38 int tcp_register_congestion_control(struct tcp_congestion_ops *ca) argument 43 if (!ca->ssthresh || !ca->cong_avoid) { 44 pr_err("%s does not implement required ops\n", ca->name); 49 if (tcp_ca_find(ca->name)) { 50 pr_notice("%s already registered\n", ca->name); 53 list_add_tail_rcu(&ca->list, &tcp_cong_list); 54 pr_info("%s registered\n", ca->name); 68 void tcp_unregister_congestion_control(struct tcp_congestion_ops *ca) argument 71 list_del_rcu(&ca 80 struct tcp_congestion_ops *ca; local 123 struct tcp_congestion_ops *ca; local 158 struct tcp_congestion_ops *ca; local 173 struct tcp_congestion_ops *ca; local 186 struct tcp_congestion_ops *ca; local 204 struct tcp_congestion_ops *ca; local 244 struct tcp_congestion_ops *ca; local [all...] |
H A D | tcp_dctcp.c | 76 static void dctcp_reset(const struct tcp_sock *tp, struct dctcp *ca) argument 78 ca->next_seq = tp->snd_nxt; 80 ca->acked_bytes_ecn = 0; 81 ca->acked_bytes_total = 0; 91 struct dctcp *ca = inet_csk_ca(sk); local 93 ca->prior_snd_una = tp->snd_una; 94 ca->prior_rcv_nxt = tp->rcv_nxt; 96 ca->dctcp_alpha = min(dctcp_alpha_on_init, DCTCP_MAX_ALPHA); 98 ca->delayed_ack_reserved = 0; 99 ca 114 const struct dctcp *ca = inet_csk_ca(sk); local 128 struct dctcp *ca = inet_csk_ca(sk); local 158 struct dctcp *ca = inet_csk_ca(sk); local 189 struct dctcp *ca = inet_csk_ca(sk); local 228 struct dctcp *ca = inet_csk_ca(sk); local 244 struct dctcp *ca = inet_csk_ca(sk); local 282 const struct dctcp *ca = inet_csk_ca(sk); local [all...] |
H A D | tcp_hybla.c | 35 struct hybla *ca = inet_csk_ca(sk); local 37 ca->rho_3ls = max_t(u32, 40 ca->rho = ca->rho_3ls >> 3; 41 ca->rho2_7ls = (ca->rho_3ls * ca->rho_3ls) << 1; 42 ca->rho2 = ca->rho2_7ls >> 7; 48 struct hybla *ca local 69 struct hybla *ca = inet_csk_ca(sk); local 92 struct hybla *ca = inet_csk_ca(sk); local [all...] |
H A D | tcp_vegas.c | 291 const struct vegas *ca = inet_csk_ca(sk); local 294 .tcpv_enabled = ca->doing_vegas_now, 295 .tcpv_rttcnt = ca->cntRTT, 296 .tcpv_rtt = ca->baseRTT, 297 .tcpv_minrtt = ca->minRTT,
|
H A D | tcp_htcp.c | 48 static inline u32 htcp_cong_time(const struct htcp *ca) argument 50 return jiffies - ca->last_cong; 53 static inline u32 htcp_ccount(const struct htcp *ca) argument 55 return htcp_cong_time(ca) / ca->minRTT; 58 static inline void htcp_reset(struct htcp *ca) argument 60 ca->undo_last_cong = ca->last_cong; 61 ca->undo_maxRTT = ca 70 struct htcp *ca = inet_csk_ca(sk); local 85 struct htcp *ca = inet_csk_ca(sk); local 106 struct htcp *ca = inet_csk_ca(sk); local 147 htcp_beta_update(struct htcp *ca, u32 minRTT, u32 maxRTT) argument 173 htcp_alpha_update(struct htcp *ca) argument 210 struct htcp *ca = inet_csk_ca(sk); local 225 const struct htcp *ca = inet_csk_ca(sk); local 234 struct htcp *ca = inet_csk_ca(sk); local 259 struct htcp *ca = inet_csk_ca(sk); local 273 struct htcp *ca = inet_csk_ca(sk); local [all...] |
H A D | tcp_illinois.c | 59 struct illinois *ca = inet_csk_ca(sk); local 61 ca->end_seq = tp->snd_nxt; 62 ca->cnt_rtt = 0; 63 ca->sum_rtt = 0; 70 struct illinois *ca = inet_csk_ca(sk); local 72 ca->alpha = ALPHA_MAX; 73 ca->beta = BETA_BASE; 74 ca->base_rtt = 0x7fffffff; 75 ca->max_rtt = 0; 77 ca 87 struct illinois *ca = inet_csk_ca(sk); local 112 max_delay(const struct illinois *ca) argument 118 avg_delay(const struct illinois *ca) argument 138 alpha(struct illinois *ca, u32 da, u32 dm) argument 223 struct illinois *ca = inet_csk_ca(sk); local 244 struct illinois *ca = inet_csk_ca(sk); local 261 struct illinois *ca = inet_csk_ca(sk); local 296 struct illinois *ca = inet_csk_ca(sk); local 306 const struct illinois *ca = inet_csk_ca(sk); local [all...] |
H A D | tcp_westwood.c | 262 const struct westwood *ca = inet_csk_ca(sk); local 267 .tcpv_rtt = jiffies_to_usecs(ca->rtt), 268 .tcpv_minrtt = jiffies_to_usecs(ca->rtt_min),
|
H A D | tcp_cubic.c | 107 static inline void bictcp_reset(struct bictcp *ca) argument 109 ca->cnt = 0; 110 ca->last_max_cwnd = 0; 111 ca->last_cwnd = 0; 112 ca->last_time = 0; 113 ca->bic_origin_point = 0; 114 ca->bic_K = 0; 115 ca->delay_min = 0; 116 ca->epoch_start = 0; 117 ca 135 struct bictcp *ca = inet_csk_ca(sk); local 145 struct bictcp *ca = inet_csk_ca(sk); local 208 bictcp_update(struct bictcp *ca, u32 cwnd) argument 312 struct bictcp *ca = inet_csk_ca(sk); local 330 struct bictcp *ca = inet_csk_ca(sk); local 348 struct bictcp *ca = inet_csk_ca(sk); local 364 struct bictcp *ca = inet_csk_ca(sk); local 403 struct bictcp *ca = inet_csk_ca(sk); local [all...] |
/net/bluetooth/bnep/ |
H A D | sock.c | 55 struct bnep_connadd_req ca; local 69 if (copy_from_user(&ca, argp, sizeof(ca))) 72 nsock = sockfd_lookup(ca.sock, &err); 80 ca.device[sizeof(ca.device)-1] = 0; 82 err = bnep_add_connection(&ca, nsock); 84 if (copy_to_user(argp, &ca, sizeof(ca)))
|
/net/bluetooth/cmtp/ |
H A D | sock.c | 68 struct cmtp_connadd_req ca; local 83 if (copy_from_user(&ca, argp, sizeof(ca))) 86 nsock = sockfd_lookup(ca.sock, &err); 95 err = cmtp_add_connection(&ca, nsock); 97 if (copy_to_user(argp, &ca, sizeof(ca)))
|
/net/bluetooth/hidp/ |
H A D | sock.c | 52 struct hidp_connadd_req ca; local 67 if (copy_from_user(&ca, argp, sizeof(ca))) 70 csock = sockfd_lookup(ca.ctrl_sock, &err); 74 isock = sockfd_lookup(ca.intr_sock, &err); 80 err = hidp_connection_add(&ca, csock, isock); 81 if (!err && copy_to_user(argp, &ca, sizeof(ca))) 165 struct compat_hidp_connadd_req ca; local 170 if (copy_from_user(&ca, (voi [all...] |
/net/ipv6/ |
H A D | sit.c | 295 unsigned int cmax, c = 0, ca, len; local 313 ca = t->prl_count < cmax ? t->prl_count : cmax; 321 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC);
|