Home
last modified time | relevance | path

Searched refs:skb_head (Results 1 – 18 of 18) sorted by relevance

/linux/net/strparser/
H A Dstrparser.c68 kfree_skb(strp->skb_head); in strp_parser_err()
69 strp->skb_head = NULL; in strp_parser_err()
104 head = strp->skb_head; in __strp_recv()
160 strp->skb_head = skb; in __strp_recv()
180 head = strp->skb_head; in __strp_recv()
183 strp->skb_head = head; in __strp_recv()
296 strp->skb_head = NULL; in __strp_recv()
515 if (strp->skb_head) { in strp_done()
516 kfree_skb(strp->skb_head); in strp_done()
517 strp->skb_head = NULL; in strp_done()
/linux/drivers/net/ethernet/
H A Dlantiq_xrx200.c72 struct sk_buff *skb_head; member
254 ch->skb_head = skb; in xrx200_hw_receive()
257 } else if (ch->skb_head) { in xrx200_hw_receive()
258 if (ch->skb_head == ch->skb_tail) in xrx200_hw_receive()
263 ch->skb_head->len += skb->len; in xrx200_hw_receive()
264 ch->skb_head->data_len += skb->len; in xrx200_hw_receive()
265 ch->skb_head->truesize += skb->truesize; in xrx200_hw_receive()
269 ch->skb_head->protocol = eth_type_trans(ch->skb_head, net_dev); in xrx200_hw_receive()
271 net_dev->stats.rx_bytes += ch->skb_head->len; in xrx200_hw_receive()
272 netif_receive_skb(ch->skb_head); in xrx200_hw_receive()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c107 skb_queue_head_init(&ra_list->skb_head); in mwifiex_wmm_allocate_ralist_node()
505 skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { in mwifiex_wmm_del_pkts_in_ralist_node()
506 skb_unlink(skb, &ra_list->skb_head); in mwifiex_wmm_del_pkts_in_ralist_node()
881 skb_queue_tail(&ra_list->skb_head, skb); in mwifiex_wmm_add_buf_txqueue()
1126 !skb_queue_empty(&ptr->skb_head)) in mwifiex_wmm_get_highest_priolist_ptr()
1214 skb_queue_walk_safe(&ptr->skb_head, skb, tmp) { in mwifiex_is_11n_aggragation_possible()
1238 if (skb_queue_empty(&ptr->skb_head)) { in mwifiex_send_single_packet()
1244 skb = skb_dequeue(&ptr->skb_head); in mwifiex_send_single_packet()
1252 if (!skb_queue_empty(&ptr->skb_head)) in mwifiex_send_single_packet()
1253 skb_next = skb_peek(&ptr->skb_head); in mwifiex_send_single_packet()
[all …]
H A Dwmm.h33 if (skb_queue_empty(&ptr->skb_head)) in mwifiex_get_tid()
36 skb = skb_peek(&ptr->skb_head); in mwifiex_get_tid()
51 is_list_empty = skb_queue_empty(&ra_list->skb_head); in mwifiex_wmm_is_ra_list_empty()
H A D11n_aggr.c157 skb_src = skb_peek(&pra_list->skb_head); in mwifiex_11n_aggregate_pkt()
193 skb_src = skb_dequeue(&pra_list->skb_head); in mwifiex_11n_aggregate_pkt()
215 skb_src = skb_peek(&pra_list->skb_head); in mwifiex_11n_aggregate_pkt()
265 skb_queue_tail(&pra_list->skb_head, skb_aggr); in mwifiex_11n_aggregate_pkt()
H A Duap_txrx.c32 if (skb_queue_empty(&ra_list->skb_head)) in mwifiex_uap_del_tx_pkts_in_ralist()
35 skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { in mwifiex_uap_del_tx_pkts_in_ralist()
38 __skb_unlink(skb, &ra_list->skb_head); in mwifiex_uap_del_tx_pkts_in_ralist()
H A Dtdls.c68 skb_queue_tail(&ra_list->skb_head, skb); in mwifiex_restore_tdls_packets()
100 skb_queue_walk_safe(&ra_list->skb_head, skb, in mwifiex_hold_tdls_packets()
104 __skb_unlink(skb, &ra_list->skb_head); in mwifiex_hold_tdls_packets()
H A Dmain.h292 struct sk_buff_head skb_head; member
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.c334 struct sk_buff_head *skb_head; in nfp_flower_queue_ctl_msg() local
337 skb_head = &priv->cmsg_skbs_high; in nfp_flower_queue_ctl_msg()
339 skb_head = &priv->cmsg_skbs_low; in nfp_flower_queue_ctl_msg()
341 if (skb_queue_len(skb_head) >= NFP_FLOWER_WORKQ_MAX_SKBS) { in nfp_flower_queue_ctl_msg()
347 skb_queue_tail(skb_head, skb); in nfp_flower_queue_ctl_msg()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dusb.c342 struct sk_buff *skb_head; in rtw_usb_tx_agg_skb() local
361 skb_head = skb_iter; in rtw_usb_tx_agg_skb()
365 skb_head = dev_alloc_skb(RTW_USB_MAX_XMITBUF_SZ); in rtw_usb_tx_agg_skb()
366 if (!skb_head) { in rtw_usb_tx_agg_skb()
367 skb_head = skb_iter; in rtw_usb_tx_agg_skb()
374 skb_put(skb_head, align_next); in rtw_usb_tx_agg_skb()
375 skb_put_data(skb_head, skb_iter->data, skb_iter->len); in rtw_usb_tx_agg_skb()
388 skb_iter->len + skb_head->len <= RTW_USB_MAX_XMITBUF_SZ && in rtw_usb_tx_agg_skb()
397 rtw_usb_fill_tx_checksum(rtwusb, skb_head, agg_num); in rtw_usb_tx_agg_skb()
400 skb_queue_tail(&txcb->tx_ack_queue, skb_head); in rtw_usb_tx_agg_skb()
[all …]
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2506 dev_kfree_skb_irq(rx->skb_head); in lan743x_rx_process_buffer()
2507 rx->skb_head = NULL; in lan743x_rx_process_buffer()
2515 if (rx->skb_head) in lan743x_rx_process_buffer()
2516 dev_kfree_skb_irq(rx->skb_head); in lan743x_rx_process_buffer()
2517 rx->skb_head = skb; in lan743x_rx_process_buffer()
2518 } else if (rx->skb_head) { in lan743x_rx_process_buffer()
2520 if (skb_shinfo(rx->skb_head)->frag_list) in lan743x_rx_process_buffer()
2523 skb_shinfo(rx->skb_head)->frag_list = skb; in lan743x_rx_process_buffer()
2525 rx->skb_head->len += skb->len; in lan743x_rx_process_buffer()
2526 rx->skb_head->data_len += skb->len; in lan743x_rx_process_buffer()
[all …]
H A Dlan743x_main.h1025 struct sk_buff *skb_head, *skb_tail; member
/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx.c57 ctx->skb_head = NULL; in gve_rx_ctx_clear()
459 ctx->skb_head = skb; in gve_rx_add_frags()
477 if (skb != ctx->skb_head) { in gve_rx_add_frags()
478 ctx->skb_head->len += len; in gve_rx_add_frags()
479 ctx->skb_head->data_len += len; in gve_rx_add_frags()
480 ctx->skb_head->truesize += truesize; in gve_rx_add_frags()
485 return ctx->skb_head; in gve_rx_add_frags()
H A Dgve.h199 struct sk_buff *skb_head; member
/linux/include/net/
H A Dstrparser.h99 struct sk_buff *skb_head; member
/linux/net/packet/
H A Daf_packet.c2188 u8 *skb_head = skb->data; in packet_rcv() local
2235 if (skb_head != skb->data) { in packet_rcv()
2236 skb->data = skb_head; in packet_rcv()
2285 if (skb_head != skb->data && skb_shared(skb)) { in packet_rcv()
2286 skb->data = skb_head; in packet_rcv()
2302 u8 *skb_head = skb->data; in tpacket_rcv() local
2387 skb_head = skb->data; in tpacket_rcv()
2558 if (skb_head != skb->data && skb_shared(skb)) { in tpacket_rcv()
2559 skb->data = skb_head; in tpacket_rcv()
/linux/drivers/net/usb/
H A Dr8152.c2360 struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; in r8152_tx_agg_fill() local
2364 __skb_queue_head_init(&skb_head); in r8152_tx_agg_fill()
2366 skb_queue_splice_init(tx_queue, &skb_head); in r8152_tx_agg_fill()
2379 skb = __skb_dequeue(&skb_head); in r8152_tx_agg_fill()
2386 __skb_queue_head(&skb_head, skb); in r8152_tx_agg_fill()
2394 r8152_csum_workaround(tp, skb, &skb_head); in r8152_tx_agg_fill()
2424 if (!skb_queue_empty(&skb_head)) { in r8152_tx_agg_fill()
2426 skb_queue_splice(&skb_head, tx_queue); in r8152_tx_agg_fill()
2831 struct sk_buff_head skb_head, *tx_queue = &tp->tx_queue; in rtl_drop_queued_tx() local
2837 __skb_queue_head_init(&skb_head); in rtl_drop_queued_tx()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c489 static inline void ath10k_htt_append_frag_list(struct sk_buff *skb_head, in ath10k_htt_append_frag_list() argument
493 skb_shinfo(skb_head)->frag_list = frag_list; in ath10k_htt_append_frag_list()
494 skb_head->data_len = frag_len; in ath10k_htt_append_frag_list()
495 skb_head->len += skb_head->data_len; in ath10k_htt_append_frag_list()