Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/net/ipv4/
Dtcp_scalable.c18 static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_scalable_cong_avoid() argument
26 acked = tcp_slow_start(tp, acked); in tcp_scalable_cong_avoid()
27 if (!acked) in tcp_scalable_cong_avoid()
31 acked); in tcp_scalable_cong_avoid()
Dtcp_veno.c119 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_veno_cong_avoid() argument
125 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
138 tcp_reno_cong_avoid(sk, ack, acked); in tcp_veno_cong_avoid()
157 acked = tcp_slow_start(tp, acked); in tcp_veno_cong_avoid()
158 if (!acked) in tcp_veno_cong_avoid()
167 tcp_cong_avoid_ai(tp, tp->snd_cwnd, acked); in tcp_veno_cong_avoid()
181 tp->snd_cwnd_cnt += acked; in tcp_veno_cong_avoid()
Dtcp_cong.c396 u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start() argument
398 u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start()
400 acked -= cwnd - tp->snd_cwnd; in tcp_slow_start()
403 return acked; in tcp_slow_start()
410 void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai() argument
418 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
436 void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid() argument
445 acked = tcp_slow_start(tp, acked); in tcp_reno_cong_avoid()
446 if (!acked) in tcp_reno_cong_avoid()
450 tcp_cong_avoid_ai(tp, tp->snd_cwnd, acked); in tcp_reno_cong_avoid()
Dtcp_yeah.c58 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_yeah_cong_avoid() argument
67 acked = tcp_slow_start(tp, acked); in tcp_yeah_cong_avoid()
68 if (!acked) in tcp_yeah_cong_avoid()
75 acked); in tcp_yeah_cong_avoid()
78 tcp_cong_avoid_ai(tp, tp->snd_cwnd, acked); in tcp_yeah_cong_avoid()
Dtcp_illinois.c52 u16 acked; /* # packets acked by current ACK */ member
78 ca->acked = 0; in tcp_illinois_init()
91 ca->acked = sample->pkts_acked; in tcp_illinois_acked()
260 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_illinois_cong_avoid() argument
274 tcp_slow_start(tp, acked); in tcp_illinois_cong_avoid()
280 tp->snd_cwnd_cnt += ca->acked; in tcp_illinois_cong_avoid()
281 ca->acked = 1; in tcp_illinois_cong_avoid()
Dtcp_cubic.c221 static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) in bictcp_update() argument
226 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
244 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
331 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() argument
340 acked = tcp_slow_start(tp, acked); in bictcp_cong_avoid()
341 if (!acked) in bictcp_cong_avoid()
344 bictcp_update(ca, tp->snd_cwnd, acked); in bictcp_cong_avoid()
345 tcp_cong_avoid_ai(tp, ca->cnt, acked); in bictcp_cong_avoid()
Dtcp_vegas.c165 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_vegas_cong_avoid() argument
171 tcp_reno_cong_avoid(sk, ack, acked); in tcp_vegas_cong_avoid()
196 tcp_reno_cong_avoid(sk, ack, acked); in tcp_vegas_cong_avoid()
246 tcp_slow_start(tp, acked); in tcp_vegas_cong_avoid()
286 tcp_slow_start(tp, acked); in tcp_vegas_cong_avoid()
Dtcp_bic.c140 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() argument
149 acked = tcp_slow_start(tp, acked); in bictcp_cong_avoid()
150 if (!acked) in bictcp_cong_avoid()
154 tcp_cong_avoid_ai(tp, ca->cnt, acked); in bictcp_cong_avoid()
Dtcp_nv.c181 static void tcpnv_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcpnv_cong_avoid() argument
195 acked = tcp_slow_start(tp, acked); in tcpnv_cong_avoid()
196 if (!acked) in tcpnv_cong_avoid()
202 tcp_cong_avoid_ai(tp, cnt, acked); in tcpnv_cong_avoid()
205 tcp_cong_avoid_ai(tp, cnt, acked); in tcpnv_cong_avoid()
Dtcp_highspeed.c112 static void hstcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hstcp_cong_avoid() argument
121 tcp_slow_start(tp, acked); in hstcp_cong_avoid()
Dtcp_hybla.c90 static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hybla_cong_avoid() argument
107 tcp_reno_cong_avoid(sk, ack, acked); in hybla_cong_avoid()
Dtcp_bbr.c478 struct sock *sk, const struct rate_sample *rs, u32 acked, u32 *new_cwnd) in bbr_set_cwnd_to_recover_or_restore() argument
497 cwnd = tcp_packets_in_flight(tp) + acked; in bbr_set_cwnd_to_recover_or_restore()
506 *new_cwnd = max(cwnd, tcp_packets_in_flight(tp) + acked); in bbr_set_cwnd_to_recover_or_restore()
517 u32 acked, u32 bw, int gain) in bbr_set_cwnd() argument
523 if (!acked) in bbr_set_cwnd()
526 if (bbr_set_cwnd_to_recover_or_restore(sk, rs, acked, &cwnd)) in bbr_set_cwnd()
539 cwnd = min(cwnd + acked, target_cwnd); in bbr_set_cwnd()
541 cwnd = cwnd + acked; in bbr_set_cwnd()
Dtcp_lp.c119 static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_lp_cong_avoid() argument
124 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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h160 void (*cong_avoid)(struct sock *sk, __u32 ack, __u32 acked);
188 static __always_inline __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) in tcp_slow_start() argument
190 __u32 cwnd = min(tp->snd_cwnd + acked, tp->snd_ssthresh); in tcp_slow_start()
192 acked -= cwnd - tp->snd_cwnd; in tcp_slow_start()
195 return acked; in tcp_slow_start()
214 static __always_inline void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) in tcp_cong_avoid_ai() argument
222 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
/kernel/linux/linux-5.10/net/mac80211/
Dstatus.c615 bool acked, bool dropped) in ieee80211_report_ack_skb() argument
645 acked, in ieee80211_report_ack_skb()
649 cookie, acked, in ieee80211_report_ack_skb()
656 acked, GFP_ATOMIC); in ieee80211_report_ack_skb()
668 skb_complete_wifi_ack(skb, acked); in ieee80211_report_ack_skb()
678 bool acked = info->flags & IEEE80211_TX_STAT_ACK; in ieee80211_report_used_skb() local
681 acked = false; in ieee80211_report_used_skb()
718 acked); in ieee80211_report_used_skb()
723 ieee80211_report_ack_skb(local, info, acked, dropped); in ieee80211_report_used_skb()
728 skb->wifi_acked = acked; in ieee80211_report_used_skb()
[all …]
Dmesh_ps.c539 bool tx, bool acked) in ieee80211_mpsp_trigger_process() argument
545 if (rspi && acked) in ieee80211_mpsp_trigger_process()
550 else if (acked && in ieee80211_mpsp_trigger_process()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c273 __u32 acked) in bictcp_update() argument
278 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
296 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
387 void BPF_STRUCT_OPS(bictcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_STRUCT_OPS() argument
398 acked = tcp_slow_start(tp, acked); in BPF_STRUCT_OPS()
399 if (!acked) in BPF_STRUCT_OPS()
402 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_STRUCT_OPS()
403 tcp_cong_avoid_ai(tp, ca->cnt, acked); in BPF_STRUCT_OPS()
Dbpf_dctcp.c198 void BPF_PROG(tcp_reno_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() argument
207 acked = tcp_slow_start(tp, acked); in BPF_PROG()
208 if (!acked) in BPF_PROG()
212 tcp_cong_avoid_ai(tp, tp->snd_cwnd, acked); in BPF_PROG()
/kernel/linux/linux-5.10/net/tipc/
Dlink.c190 u16 acked; member
253 u16 acked, u16 gap,
364 rcv_l->acked = snd_l->snd_nxt - 1; in tipc_link_add_bc_peer()
433 return l->acked; in tipc_link_acked()
814 u16 bc_acked = l->bc_rcvlink->acked; in tipc_link_timeout()
980 l->acked = 0; in tipc_link_reset()
1201 if (link_is_bc_sndlink(l) && !less(r->acked, msg_seqno(hdr))) in link_retransmit_failure()
1521 u16 acked, u16 gap, in tipc_link_advance_transmq() argument
1531 u16 nacked = acked, ngap = gap, gack_cnt = 0; in tipc_link_advance_transmq()
1535 u16 end = r->acked, start = end, offset = r->last_gap; in tipc_link_advance_transmq()
[all …]
/kernel/linux/linux-5.10/drivers/net/arcnet/
Dcapmode.c185 static int ack_tx(struct net_device *dev, int acked) in ack_tx() argument
193 lp->outgoing.skb->protocol, acked); in ack_tx()
213 ackpkt->soft.cap.mes.ack = acked; in ack_tx()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dtxrx.h621 static inline void wil_consume_skb(struct sk_buff *skb, bool acked) in wil_consume_skb() argument
624 skb_complete_wifi_ack(skb, acked); in wil_consume_skb()
626 acked ? dev_consume_skb_any(skb) : dev_kfree_skb_any(skb); in wil_consume_skb()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddp_tx.h14 bool acked; member
/kernel/linux/linux-5.10/net/dccp/ccids/
Dccid3.c357 struct tfrc_tx_hist_entry *acked; in ccid3_hc_tx_packet_recv() local
374 acked = tfrc_tx_hist_find_entry(hc->tx_hist, dccp_hdr_ack_seq(skb)); in ccid3_hc_tx_packet_recv()
375 if (acked == NULL) in ccid3_hc_tx_packet_recv()
378 tfrc_tx_hist_purge(&acked->next); in ccid3_hc_tx_packet_recv()
382 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); in ccid3_hc_tx_packet_recv()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_balloon.c98 wait_queue_head_t acked; member
149 wake_up(&vb->acked); in balloon_ack()
164 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
190 wait_event(vb->acked, virtqueue_get_buf(vq, &unused)); in virtballoon_free_page_report()
902 init_waitqueue_head(&vb->acked); in virtballoon_probe()

123