Home
last modified time | relevance | path

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

1234

/linux-6.15/net/ipv4/
H A 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()
H A 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, tcp_snd_cwnd(tp), acked); in tcp_veno_cong_avoid()
181 tp->snd_cwnd_cnt += acked; in tcp_veno_cong_avoid()
H A 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, tcp_snd_cwnd(tp), acked); in tcp_yeah_cong_avoid()
H A Dtcp_cong.c455 __bpf_kfunc u32 tcp_slow_start(struct tcp_sock *tp, u32 acked) in tcp_slow_start() argument
457 u32 cwnd = min(tcp_snd_cwnd(tp) + acked, tp->snd_ssthresh); in tcp_slow_start()
459 acked -= cwnd - tcp_snd_cwnd(tp); in tcp_slow_start()
462 return acked; in tcp_slow_start()
469 __bpf_kfunc void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w, u32 acked) in tcp_cong_avoid_ai() argument
477 tp->snd_cwnd_cnt += acked; in tcp_cong_avoid_ai()
495 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid() argument
504 acked = tcp_slow_start(tp, acked); in tcp_reno_cong_avoid()
505 if (!acked) in tcp_reno_cong_avoid()
509 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked); in tcp_reno_cong_avoid()
H A 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()
H A Dtcp_cubic.c214 static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) in bictcp_update() argument
219 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
237 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
324 __bpf_kfunc static void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in cubictcp_cong_avoid() argument
333 acked = tcp_slow_start(tp, acked); in cubictcp_cong_avoid()
334 if (!acked) in cubictcp_cong_avoid()
337 bictcp_update(ca, tcp_snd_cwnd(tp), acked); in cubictcp_cong_avoid()
338 tcp_cong_avoid_ai(tp, ca->cnt, acked); in cubictcp_cong_avoid()
H A 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()
H A 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()
247 tcp_slow_start(tp, acked); in tcp_vegas_cong_avoid()
287 tcp_slow_start(tp, acked); in tcp_vegas_cong_avoid()
H A Dtcp_nv.c180 static void tcpnv_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcpnv_cong_avoid() argument
194 acked = tcp_slow_start(tp, acked); in tcpnv_cong_avoid()
195 if (!acked) in tcpnv_cong_avoid()
201 tcp_cong_avoid_ai(tp, cnt, acked); in tcpnv_cong_avoid()
204 tcp_cong_avoid_ai(tp, cnt, acked); in tcpnv_cong_avoid()
H A 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()
H A 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()
H A Dtcp_bbr.c481 struct sock *sk, const struct rate_sample *rs, u32 acked, u32 *new_cwnd) in bbr_set_cwnd_to_recover_or_restore() argument
500 cwnd = tcp_packets_in_flight(tp) + acked; in bbr_set_cwnd_to_recover_or_restore()
509 *new_cwnd = max(cwnd, tcp_packets_in_flight(tp) + acked); in bbr_set_cwnd_to_recover_or_restore()
520 u32 acked, u32 bw, int gain) in bbr_set_cwnd() argument
526 if (!acked) in bbr_set_cwnd()
529 if (bbr_set_cwnd_to_recover_or_restore(sk, rs, acked, &cwnd)) in bbr_set_cwnd()
542 cwnd = min(cwnd + acked, target_cwnd); in bbr_set_cwnd()
544 cwnd = cwnd + acked; in bbr_set_cwnd()
H A Dtcp_lp.c121 static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_lp_cong_avoid() argument
126 tcp_reno_cong_avoid(sk, ack, acked); in tcp_lp_cong_avoid()
/linux-6.15/net/mac80211/
H A Dstatus.c617 .ack = acked, in ieee80211_report_ack_skb()
636 acked, in ieee80211_report_ack_skb()
640 cookie, acked, in ieee80211_report_ack_skb()
674 if (!acked) in ieee80211_handle_smps_status()
701 bool acked) in ieee80211_handle_teardown_ttlm_status() argument
706 if (!acked) in ieee80211_handle_teardown_ttlm_status()
726 acked = false; in ieee80211_report_used_skb()
758 if (!acked) { in ieee80211_report_used_skb()
772 acked); in ieee80211_report_used_skb()
962 bool acked; in __ieee80211_tx_status() local
[all …]
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c31 extern __u32 tcp_slow_start(struct tcp_sock *tp, __u32 acked) __ksym;
32 extern void tcp_cong_avoid_ai(struct tcp_sock *tp, __u32 w, __u32 acked) __ksym;
272 static void bictcp_update(struct bpf_bictcp *ca, __u32 cwnd, __u32 acked) in bictcp_update() argument
277 ca->ack_cnt += acked; /* count the number of ACKed packets */ in bictcp_update()
295 ca->ack_cnt = acked; /* start counting */ in bictcp_update()
386 void BPF_PROG(bpf_cubic_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() argument
397 acked = tcp_slow_start(tp, acked); in BPF_PROG()
398 if (!acked) in BPF_PROG()
401 bictcp_update(ca, tp->snd_cwnd, acked); in BPF_PROG()
402 tcp_cong_avoid_ai(tp, ca->cnt, acked); in BPF_PROG()
H A Dtcp_ca_kfunc.c25 extern void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) __ksym;
51 void BPF_PROG(cong_avoid, struct sock *sk, u32 ack, u32 acked) in BPF_PROG() argument
53 cubictcp_cong_avoid(sk, ack, acked); in BPF_PROG()
H A Dbpf_dctcp.c237 extern void tcp_reno_cong_avoid(struct sock *sk, __u32 ack, __u32 acked) __ksym;
240 void BPF_PROG(bpf_dctcp_cong_avoid, struct sock *sk, __u32 ack, __u32 acked) in BPF_PROG() argument
242 tcp_reno_cong_avoid(sk, ack, acked); in BPF_PROG()
/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_timestamping_client-only-last-byte.pkt38 // once 10001 is acked at t=20ms.
40 // is called after when SYN is acked. So, we expect the last byte of the first
59 // once 10001 is acked at t=20ms.
/linux-6.15/net/tipc/
H A Dlink.c203 u16 acked; member
259 u16 acked, u16 gap,
439 return l->acked; in tipc_link_acked()
993 l->acked = 0; in tipc_link_reset()
1536 u16 acked, u16 gap, in tipc_link_advance_transmq() argument
1555 trace_tipc_link_retrans(r, acked + 1, acked + gap, &l->transmq); in tipc_link_advance_transmq()
1665 acked = end; in tipc_link_advance_transmq()
1678 r->acked = acked; in tipc_link_advance_transmq()
2481 if (less(acked, r->acked) || (acked == r->acked && !gap && !ga)) in tipc_link_bc_ack_rcv()
2505 u16 from = acked + 1; in tipc_link_bc_nack_rcv()
[all …]
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_fw.c1199 u32 req_mask, u32 *acked, in panthor_fw_wait_acks() argument
1206 *acked = req_mask; in panthor_fw_wait_acks()
1223 *acked = ~(req ^ ack) & req_mask; in panthor_fw_wait_acks()
1238 u32 req_mask, u32 *acked, in panthor_fw_glb_wait_acks() argument
1250 req_mask, acked, timeout_ms); in panthor_fw_glb_wait_acks()
1265 u32 req_mask, u32 *acked, u32 timeout_ms) in panthor_fw_csg_wait_acks() argument
1276 req_mask, acked, timeout_ms); in panthor_fw_csg_wait_acks()
1284 if ((*acked & CSG_STATE_MASK) != CSG_STATE_MASK) in panthor_fw_csg_wait_acks()
1285 *acked &= ~CSG_STATE_MASK; in panthor_fw_csg_wait_acks()
1312 u32 acked; in panthor_fw_ping_work() local
[all …]
/linux-6.15/drivers/net/arcnet/
H A 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()
/linux-6.15/drivers/remoteproc/
H A Dqcom_sysmon.c125 bool acked = false; in sysmon_request_shutdown() local
149 acked = true; in sysmon_request_shutdown()
154 return acked; in sysmon_request_shutdown()
334 bool acked = false; in ssctl_request_shutdown() local
360 acked = true; in ssctl_request_shutdown()
366 return acked; in ssctl_request_shutdown()
/linux-6.15/drivers/net/wireless/ath/wil6210/
H A Dtxrx.h623 static inline void wil_consume_skb(struct sk_buff *skb, bool acked) in wil_consume_skb() argument
626 skb_complete_wifi_ack(skb, acked); in wil_consume_skb()
628 acked ? dev_consume_skb_any(skb) : dev_kfree_skb_any(skb); in wil_consume_skb()
/linux-6.15/net/dccp/ccids/
H A Dccid3.c362 struct tfrc_tx_hist_entry *acked; in ccid3_hc_tx_packet_recv() local
379 acked = tfrc_tx_hist_find_entry(hc->tx_hist, dccp_hdr_ack_seq(skb)); in ccid3_hc_tx_packet_recv()
380 if (acked == NULL) in ccid3_hc_tx_packet_recv()
383 tfrc_tx_hist_purge(&acked->next); in ccid3_hc_tx_packet_recv()
387 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); in ccid3_hc_tx_packet_recv()
/linux-6.15/drivers/net/wireless/ath/ath12k/
H A Ddp_tx.h14 bool acked; member

1234