| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | inqueue.c | 124 if (chunk->head_skb == chunk->skb) { in sctp_inq_pop() 133 if (chunk->head_skb) in sctp_inq_pop() 134 chunk->skb = chunk->head_skb; in sctp_inq_pop() 163 chunk->head_skb = chunk->skb; in sctp_inq_pop() 166 if (chunk->head_skb && chunk->skb->data_len == chunk->skb->len) in sctp_inq_pop() 190 if (chunk->head_skb) { in sctp_inq_pop() 193 *head_cb = SCTP_INPUT_CB(chunk->head_skb); in sctp_inq_pop()
|
| H A D | ulpevent.c | 90 if (chunk && chunk->head_skb && !chunk->head_skb->sk) in sctp_ulpevent_set_owner() 91 chunk->head_skb->sk = asoc->base.sk; in sctp_ulpevent_set_owner()
|
| H A D | socket.c | 2096 struct sk_buff *skb, *head_skb; in sctp_recvmsg() local 2133 if (event->chunk && event->chunk->head_skb) in sctp_recvmsg() 2134 head_skb = event->chunk->head_skb; in sctp_recvmsg() 2136 head_skb = skb; in sctp_recvmsg() 2137 sock_recv_ts_and_drops(msg, sk, head_skb); in sctp_recvmsg() 2142 sp->pf->skb_msgname(head_skb, msg->msg_name, addr_len); in sctp_recvmsg()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | xmit_linux.c | 670 struct sk_buff *head_skb; in rtw_coalesce_tx_amsdu() local 677 head_skb = head_xframe->pkt; in rtw_coalesce_tx_amsdu() 679 ieee8023_header_to_rfc1042(head_skb, 0); in rtw_coalesce_tx_amsdu() 681 frag_tail = &skb_shinfo(head_skb)->frag_list; in rtw_coalesce_tx_amsdu() 689 if (head_skb->len & 0x03) in rtw_coalesce_tx_amsdu() 690 pads = 4 - (head_skb->len & 0x03); in rtw_coalesce_tx_amsdu() 701 head_skb->len += skb->len; in rtw_coalesce_tx_amsdu() 702 head_skb->data_len += skb->len; in rtw_coalesce_tx_amsdu() 713 *pktlen = head_skb->len; in rtw_coalesce_tx_amsdu()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | xmit_linux.c | 670 struct sk_buff *head_skb; in rtw_coalesce_tx_amsdu() local 677 head_skb = head_xframe->pkt; in rtw_coalesce_tx_amsdu() 679 ieee8023_header_to_rfc1042(head_skb, 0); in rtw_coalesce_tx_amsdu() 681 frag_tail = &skb_shinfo(head_skb)->frag_list; in rtw_coalesce_tx_amsdu() 689 if (head_skb->len & 0x03) in rtw_coalesce_tx_amsdu() 690 pads = 4 - (head_skb->len & 0x03); in rtw_coalesce_tx_amsdu() 701 head_skb->len += skb->len; in rtw_coalesce_tx_amsdu() 702 head_skb->data_len += skb->len; in rtw_coalesce_tx_amsdu() 713 *pktlen = head_skb->len; in rtw_coalesce_tx_amsdu()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_rx.c | 274 static int rx_recv_jumbo_pkt(struct hinic_rxq *rxq, struct sk_buff *head_skb, in rx_recv_jumbo_pkt() argument 277 struct sk_buff *skb, *curr_skb = head_skb; in rx_recv_jumbo_pkt() 302 if (curr_skb == head_skb) in rx_recv_jumbo_pkt() 303 skb_shinfo(head_skb)->frag_list = skb; in rx_recv_jumbo_pkt() 307 head_skb->len += skb->len; in rx_recv_jumbo_pkt() 308 head_skb->data_len += skb->len; in rx_recv_jumbo_pkt() 309 head_skb->truesize += skb->truesize; in rx_recv_jumbo_pkt()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | skbuff.c | 3813 struct sk_buff *skb_segment(struct sk_buff *head_skb, in skb_segment() argument 3818 struct sk_buff *list_skb = skb_shinfo(head_skb)->frag_list; in skb_segment() 3819 skb_frag_t *frag = skb_shinfo(head_skb)->frags; in skb_segment() 3820 unsigned int mss = skb_shinfo(head_skb)->gso_size; in skb_segment() 3821 unsigned int doffset = head_skb->data - skb_mac_header(head_skb); in skb_segment() 3822 struct sk_buff *frag_skb = head_skb; in skb_segment() 3824 unsigned int tnl_hlen = skb_tnl_header_len(head_skb); in skb_segment() 3827 unsigned int len = head_skb->len; in skb_segment() 3830 int nfrags = skb_shinfo(head_skb)->nr_frags; in skb_segment() 3835 if ((skb_shinfo(head_skb)->gso_type & SKB_GSO_DODGY) && in skb_segment() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ |
| H A D | virtio_net.c | 868 struct sk_buff *head_skb, *curr_skb; in receive_mergeable() local 876 head_skb = NULL; in receive_mergeable() 962 head_skb = page_to_skb(vi, rq, xdp_page, offset, in receive_mergeable() 965 return head_skb; in receive_mergeable() 1015 head_skb = page_to_skb(vi, rq, page, offset, len, truesize, !xdp_prog, in receive_mergeable() 1017 curr_skb = head_skb; in receive_mergeable() 1051 if (curr_skb == head_skb) in receive_mergeable() 1056 head_skb->truesize += nskb->truesize; in receive_mergeable() 1059 if (curr_skb != head_skb) { in receive_mergeable() 1060 head_skb->data_len += len; in receive_mergeable() [all …]
|
| /OK3568_Linux_fs/kernel/include/net/sctp/ |
| H A D | structs.h | 571 struct sk_buff *head_skb; member 1139 return chunk->head_skb ? : skb; in sctp_gso_headskb()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_xmit.c | 6620 static int skb_total_frag_nr(struct sk_buff *head_skb) in skb_total_frag_nr() argument 6625 nr = 1 + skb_shinfo(head_skb)->nr_frags; in skb_total_frag_nr() 6627 skb_walk_frags(head_skb, skb) in skb_total_frag_nr() 6635 struct sk_buff *head_skb, u32 req_sz, s32 offset) in fill_txreq_list_skb() argument 6639 if (skb_total_frag_nr(head_skb) > NUM_PKT_LIST_PER_TXREQ - 2) { in fill_txreq_list_skb() 6640 rtw_skb_linearize(head_skb); in fill_txreq_list_skb() 6644 _fill_txreq_list_skb(padapter, txreq, pkt_list, head_skb, &req_sz, &offset); in fill_txreq_list_skb() 6646 skb_walk_frags(head_skb, skb) in fill_txreq_list_skb()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_xmit.c | 6602 static int skb_total_frag_nr(struct sk_buff *head_skb) in skb_total_frag_nr() argument 6607 nr = 1 + skb_shinfo(head_skb)->nr_frags; in skb_total_frag_nr() 6609 skb_walk_frags(head_skb, skb) in skb_total_frag_nr() 6617 struct sk_buff *head_skb, u32 req_sz, s32 offset) in fill_txreq_list_skb() argument 6621 if (skb_total_frag_nr(head_skb) > NUM_PKT_LIST_PER_TXREQ - 2) { in fill_txreq_list_skb() 6622 rtw_skb_linearize(head_skb); in fill_txreq_list_skb() 6626 _fill_txreq_list_skb(padapter, txreq, pkt_list, head_skb, &req_sz, &offset); in fill_txreq_list_skb() 6628 skb_walk_frags(head_skb, skb) in fill_txreq_list_skb()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 2978 struct sk_buff *head_skb = skb; in hns3_add_frag() local 3012 head_skb->truesize += hns3_buf_size(ring); in hns3_add_frag() 3013 head_skb->data_len += le16_to_cpu(desc->rx.size); in hns3_add_frag() 3014 head_skb->len += le16_to_cpu(desc->rx.size); in hns3_add_frag()
|