Home
last modified time | relevance | path

Searched refs:ack_skb (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dcontrol.c642 struct sk_buff *ack_skb; in i2400m_msg_to_dev_cancel_wait() local
646 ack_skb = i2400m->ack_skb; in i2400m_msg_to_dev_cancel_wait()
647 if (ack_skb && !IS_ERR(ack_skb)) in i2400m_msg_to_dev_cancel_wait()
648 kfree_skb(ack_skb); in i2400m_msg_to_dev_cancel_wait()
649 i2400m->ack_skb = ERR_PTR(code); in i2400m_msg_to_dev_cancel_wait()
711 struct sk_buff *ack_skb; in i2400m_msg_to_dev() local
739 i2400m->ack_skb = ERR_PTR(-EINPROGRESS); in i2400m_msg_to_dev()
784 ack_skb = i2400m->ack_skb; in i2400m_msg_to_dev()
785 if (IS_ERR(ack_skb)) in i2400m_msg_to_dev()
786 result = PTR_ERR(ack_skb); in i2400m_msg_to_dev()
[all …]
Dop-rfkill.c75 struct sk_buff *ack_skb; in i2400m_op_rfkill_sw_toggle() local
104 ack_skb = i2400m_msg_to_dev(i2400m, cmd, sizeof(*cmd)); in i2400m_op_rfkill_sw_toggle()
105 result = PTR_ERR(ack_skb); in i2400m_op_rfkill_sw_toggle()
106 if (IS_ERR(ack_skb)) { in i2400m_op_rfkill_sw_toggle()
111 result = i2400m_msg_check_status(wimax_msg_data(ack_skb), in i2400m_op_rfkill_sw_toggle()
130 kfree_skb(ack_skb); in i2400m_op_rfkill_sw_toggle()
Drx.c292 struct sk_buff *ack_skb; in i2400m_rx_ctl_ack() local
296 if (i2400m->ack_skb != ERR_PTR(-EINPROGRESS)) { in i2400m_rx_ctl_ack()
302 ack_skb = wimax_msg_alloc(wimax_dev, NULL, payload, size, GFP_KERNEL); in i2400m_rx_ctl_ack()
306 if (i2400m->ack_skb != ERR_PTR(-EINPROGRESS)) { in i2400m_rx_ctl_ack()
310 if (IS_ERR(ack_skb)) in i2400m_rx_ctl_ack()
312 i2400m->ack_skb = ack_skb; in i2400m_rx_ctl_ack()
318 if (!IS_ERR(ack_skb)) in i2400m_rx_ctl_ack()
319 kfree_skb(ack_skb); in i2400m_rx_ctl_ack()
Ddriver.c119 struct sk_buff *ack_skb; in i2400m_op_msg_from_user() local
124 ack_skb = i2400m_msg_to_dev(i2400m, msg_buf, msg_len); in i2400m_op_msg_from_user()
125 result = PTR_ERR(ack_skb); in i2400m_op_msg_from_user()
126 if (IS_ERR(ack_skb)) in i2400m_op_msg_from_user()
128 result = wimax_msg_send(&i2400m->wimax_dev, ack_skb); in i2400m_op_msg_from_user()
Di2400m.h621 struct sk_buff *ack_skb; /* protected by rx_lock */ member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dtxrx.c336 struct sk_buff *ack_skb; in mwifiex_parse_tx_status_event() local
343 ack_skb = idr_remove(&priv->ack_status_frames, tx_status->tx_token_id); in mwifiex_parse_tx_status_event()
346 if (ack_skb) { in mwifiex_parse_tx_status_event()
347 tx_info = MWIFIEX_SKB_TXCB(ack_skb); in mwifiex_parse_tx_status_event()
351 skb_complete_wifi_ack(ack_skb, !tx_status->status); in mwifiex_parse_tx_status_event()
354 memmove(ack_skb->data + in mwifiex_parse_tx_status_event()
357 ack_skb->data + in mwifiex_parse_tx_status_event()
360 ETH_ALEN, ack_skb->len - in mwifiex_parse_tx_status_event()
364 ack_skb->len = ack_skb->len - ETH_ALEN; in mwifiex_parse_tx_status_event()
370 ack_skb->data + in mwifiex_parse_tx_status_event()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Dcfg.c3531 struct sk_buff *ack_skb; in ieee80211_attach_ack_skb() local
3534 ack_skb = skb_copy(skb, gfp); in ieee80211_attach_ack_skb()
3535 if (!ack_skb) in ieee80211_attach_ack_skb()
3539 id = idr_alloc(&local->ack_status_frames, ack_skb, in ieee80211_attach_ack_skb()
3544 kfree_skb(ack_skb); in ieee80211_attach_ack_skb()
3551 IEEE80211_SKB_CB(ack_skb)->ack.cookie = *cookie; in ieee80211_attach_ack_skb()
Dtx.c2478 struct sk_buff *ack_skb; in ieee80211_store_ack_skb() local
2482 ack_skb = skb_clone_sk(skb); in ieee80211_store_ack_skb()
2484 ack_skb = skb_clone(skb, GFP_ATOMIC); in ieee80211_store_ack_skb()
2486 if (ack_skb) { in ieee80211_store_ack_skb()
2491 id = idr_alloc(&local->ack_status_frames, ack_skb, in ieee80211_store_ack_skb()
2500 IEEE80211_SKB_CB(ack_skb)->ack.cookie = *cookie; in ieee80211_store_ack_skb()
2503 kfree_skb(ack_skb); in ieee80211_store_ack_skb()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_input.c1209 static bool tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, in tcp_check_dsack() argument
1218 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack()
1769 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_sacktag_write_queue() argument
1773 const unsigned char *ptr = (skb_transport_header(ack_skb) + in tcp_sacktag_write_queue()
1774 TCP_SKB_CB(ack_skb)->sacked); in tcp_sacktag_write_queue()
1791 found_dup_sack = tcp_check_dsack(sk, ack_skb, sp_wire, in tcp_sacktag_write_queue()
1798 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue()
1824 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue()