Home
last modified time | relevance | path

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

/Linux-v5.4/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()
713 struct sk_buff *ack_skb; in i2400m_msg_to_dev() local
741 i2400m->ack_skb = ERR_PTR(-EINPROGRESS); in i2400m_msg_to_dev()
786 ack_skb = i2400m->ack_skb; in i2400m_msg_to_dev()
787 if (IS_ERR(ack_skb)) in i2400m_msg_to_dev()
788 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
/Linux-v5.4/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 …]
/Linux-v5.4/net/mac80211/
Dcfg.c3422 struct sk_buff *ack_skb; in ieee80211_attach_ack_skb() local
3425 ack_skb = skb_copy(skb, gfp); in ieee80211_attach_ack_skb()
3426 if (!ack_skb) in ieee80211_attach_ack_skb()
3430 id = idr_alloc(&local->ack_status_frames, ack_skb, in ieee80211_attach_ack_skb()
3435 kfree_skb(ack_skb); in ieee80211_attach_ack_skb()
3442 IEEE80211_SKB_CB(ack_skb)->ack.cookie = *cookie; in ieee80211_attach_ack_skb()
Dtx.c2721 struct sk_buff *ack_skb = skb_clone_sk(skb); in ieee80211_build_hdr() local
2723 if (ack_skb) { in ieee80211_build_hdr()
2728 id = idr_alloc(&local->ack_status_frames, ack_skb, in ieee80211_build_hdr()
2736 kfree_skb(ack_skb); in ieee80211_build_hdr()
/Linux-v5.4/net/ipv4/
Dtcp_input.c1092 static bool tcp_check_dsack(struct sock *sk, const struct sk_buff *ack_skb, in tcp_check_dsack() argument
1101 if (before(start_seq_0, TCP_SKB_CB(ack_skb)->ack_seq)) { in tcp_check_dsack()
1658 tcp_sacktag_write_queue(struct sock *sk, const struct sk_buff *ack_skb, in tcp_sacktag_write_queue() argument
1662 const unsigned char *ptr = (skb_transport_header(ack_skb) + in tcp_sacktag_write_queue()
1663 TCP_SKB_CB(ack_skb)->sacked); in tcp_sacktag_write_queue()
1680 found_dup_sack = tcp_check_dsack(sk, ack_skb, sp_wire, in tcp_sacktag_write_queue()
1691 if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window)) in tcp_sacktag_write_queue()
1717 if ((TCP_SKB_CB(ack_skb)->ack_seq != tp->snd_una) && in tcp_sacktag_write_queue()