Home
last modified time | relevance | path

Searched refs:acked (Results 1 – 25 of 33) sorted by relevance

12

/net/ipv4/
Dtcp_cong.c378 u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start() argument
380 u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start()
382 acked -= cwnd - tp->snd_cwnd; in tcp_slow_start()
385 return acked; in tcp_slow_start()
392 void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai() argument
400 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
418 void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid() argument
427 acked = tcp_slow_start(tp, acked); in tcp_reno_cong_avoid()
428 if (!acked) in tcp_reno_cong_avoid()
432 tcp_cong_avoid_ai(tp, tp->snd_cwnd, acked); in tcp_reno_cong_avoid()
Dtcp_illinois.c51 u16 acked; /* # packets acked by current ACK */ member
77 ca->acked = 0; in tcp_illinois_init()
89 ca->acked = pkts_acked; in tcp_illinois_acked()
258 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_illinois_cong_avoid() argument
272 tcp_slow_start(tp, acked); in tcp_illinois_cong_avoid()
278 tp->snd_cwnd_cnt += ca->acked; in tcp_illinois_cong_avoid()
279 ca->acked = 1; in tcp_illinois_cong_avoid()
Dtcp_cubic.c226 static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) in bictcp_update() argument
231 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
249 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
336 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() argument
345 acked = tcp_slow_start(tp, acked); in bictcp_cong_avoid()
346 if (!acked) in bictcp_cong_avoid()
349 bictcp_update(ca, tp->snd_cwnd, acked); in bictcp_cong_avoid()
350 tcp_cong_avoid_ai(tp, ca->cnt, acked); in bictcp_cong_avoid()
Dtcp_vegas.c164 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_vegas_cong_avoid() argument
170 tcp_reno_cong_avoid(sk, ack, acked); in tcp_vegas_cong_avoid()
195 tcp_reno_cong_avoid(sk, ack, acked); in tcp_vegas_cong_avoid()
245 tcp_slow_start(tp, acked); in tcp_vegas_cong_avoid()
285 tcp_slow_start(tp, acked); in tcp_vegas_cong_avoid()
Dtcp_veno.c117 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_veno_cong_avoid() argument
123 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
136 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
155 tcp_slow_start(tp, acked); in tcp_veno_cong_avoid()
Dtcp_scalable.c18 static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_scalable_cong_avoid() argument
26 tcp_slow_start(tp, acked); in tcp_scalable_cong_avoid()
Dtcp_highspeed.c111 static void hstcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hstcp_cong_avoid() argument
120 tcp_slow_start(tp, acked); in hstcp_cong_avoid()
Dtcp_hybla.c89 static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hybla_cong_avoid() argument
106 tcp_reno_cong_avoid(sk, ack, acked); in hybla_cong_avoid()
Dtcp_yeah.c70 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_yeah_cong_avoid() argument
79 tcp_slow_start(tp, acked); in tcp_yeah_cong_avoid()
Dtcp_bic.c141 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() argument
150 tcp_slow_start(tp, acked); in bictcp_cong_avoid()
Dtcp_lp.c118 static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_lp_cong_avoid() argument
123 tcp_reno_cong_avoid(sk, ack, acked); in tcp_lp_cong_avoid()
Dtcp_htcp.c231 static void htcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in htcp_cong_avoid() argument
240 tcp_slow_start(tp, acked); in htcp_cong_avoid()
Dtcp_cdg.c260 static void tcp_cdg_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_cdg_cong_avoid() argument
291 tcp_reno_cong_avoid(sk, ack, acked); in tcp_cdg_cong_avoid()
Dtcp_input.c1861 static void tcp_remove_reno_sacks(struct sock *sk, int acked) in tcp_remove_reno_sacks() argument
1865 if (acked > 0) { in tcp_remove_reno_sacks()
1867 if (acked - 1 >= tp->sacked_out) in tcp_remove_reno_sacks()
1870 tp->sacked_out -= acked - 1; in tcp_remove_reno_sacks()
1872 tcp_check_reno_reordering(sk, acked); in tcp_remove_reno_sacks()
2744 static bool tcp_try_undo_partial(struct sock *sk, const int acked, in tcp_try_undo_partial() argument
2753 tcp_update_reordering(sk, tcp_fackets_out(tp) + acked, 1); in tcp_try_undo_partial()
2788 static void tcp_fastretrans_alert(struct sock *sk, const int acked, in tcp_fastretrans_alert() argument
2853 if (tcp_try_undo_partial(sk, acked, prior_unsacked, flag)) in tcp_fastretrans_alert()
3027 static void tcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_cong_avoid() argument
[all …]
Dinet_connection_sock.c510 (!inet_rsk(req)->acked || req->num_timeout >= max_retries); in syn_ack_recalc()
516 *resend = !inet_rsk(req)->acked || in syn_ack_recalc()
617 inet_rsk(req)->acked)) { in reqsk_timer_handler()
Dtcp_minisocks.c759 inet_rsk(req)->acked = 1; in tcp_check_req()
781 inet_rsk(req)->acked = 1; in tcp_check_req()
/net/mac80211/
Dstatus.c455 bool acked, bool dropped) in ieee80211_report_ack_skb() argument
479 cookie, acked, in ieee80211_report_ack_skb()
484 acked, GFP_ATOMIC); in ieee80211_report_ack_skb()
493 skb_complete_wifi_ack(skb, acked); in ieee80211_report_ack_skb()
502 bool acked = info->flags & IEEE80211_TX_STAT_ACK; in ieee80211_report_used_skb() local
505 acked = false; in ieee80211_report_used_skb()
529 acked); in ieee80211_report_used_skb()
534 ieee80211_report_ack_skb(local, info, acked, dropped); in ieee80211_report_used_skb()
623 bool acked, noack_success; in ieee80211_tx_status_noskb() local
629 acked = !!(info->flags & IEEE80211_TX_STAT_ACK); in ieee80211_tx_status_noskb()
[all …]
Dmesh_ps.c537 bool tx, bool acked) in ieee80211_mpsp_trigger_process() argument
543 if (rspi && acked) in ieee80211_mpsp_trigger_process()
548 else if (acked && in ieee80211_mpsp_trigger_process()
/net/tipc/
Dlink.c193 rcv_l->acked = snd_l->snd_nxt - 1; in tipc_link_add_bc_peer()
564 u16 bc_acked = l->bc_rcvlink->acked; in tipc_link_timeout()
692 l->acked = 0; in tipc_link_reset()
952 static bool tipc_link_release_pkts(struct tipc_link *l, u16 acked) in tipc_link_release_pkts() argument
958 if (more(buf_seqno(skb), acked)) in tipc_link_release_pkts()
1432 void tipc_link_bc_ack_rcv(struct tipc_link *l, u16 acked, in tipc_link_bc_ack_rcv() argument
1441 if (!more(acked, l->acked)) in tipc_link_bc_ack_rcv()
1446 if (more(buf_seqno(skb), l->acked)) in tipc_link_bc_ack_rcv()
1452 if (more(buf_seqno(skb), acked)) in tipc_link_bc_ack_rcv()
1459 l->acked = acked; in tipc_link_bc_ack_rcv()
[all …]
Dlink.h212 u16 acked; member
273 void tipc_link_bc_ack_rcv(struct tipc_link *l, u16 acked,
Dbcast.h58 void tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, u32 acked);
Dbcast.c250 void tipc_bcast_ack_rcv(struct net *net, struct tipc_link *l, u32 acked) in tipc_bcast_ack_rcv() argument
258 tipc_link_bc_ack_rcv(l, acked, &xmitq); in tipc_bcast_ack_rcv()
/net/dccp/ccids/
Dccid3.c370 struct tfrc_tx_hist_entry *acked; in ccid3_hc_tx_packet_recv() local
387 acked = tfrc_tx_hist_find_entry(hc->tx_hist, dccp_hdr_ack_seq(skb)); in ccid3_hc_tx_packet_recv()
388 if (acked == NULL) in ccid3_hc_tx_packet_recv()
391 tfrc_tx_hist_purge(&acked->next); in ccid3_hc_tx_packet_recv()
395 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); in ccid3_hc_tx_packet_recv()
/net/dccp/
Doutput.c417 if (inet_rsk(req)->acked) /* increase GSS upon retransmission */ in dccp_make_response()
445 inet_rsk(req)->acked = 1; in dccp_make_response()
Dminisocks.c265 inet_rsk(req)->acked = 0; in dccp_reqsk_init()

12