Searched refs:pkt_copy (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 245 _pkt *pkt_copy = NULL; in rtl8723bs_recv_tasklet() local 313 pkt_copy = rtw_skb_alloc(alloc_sz); in rtl8723bs_recv_tasklet() 314 if (!pkt_copy) { in rtl8723bs_recv_tasklet() 320 pkt_copy->dev = padapter->pnetdev; in rtl8723bs_recv_tasklet() 321 precvframe->u.hdr.pkt = pkt_copy; in rtl8723bs_recv_tasklet() 322 …skb_reserve(pkt_copy, 8 - ((SIZE_PTR)(pkt_copy->data) & 7));/* force pkt_copy->data at 8-byte alig… in rtl8723bs_recv_tasklet() 323 …skb_reserve(pkt_copy, shift_sz);/* force ip_hdr at 8-byte alignment address according to shift_sz.… in rtl8723bs_recv_tasklet() 324 memcpy(pkt_copy->data, (ptr + rx_report_sz + pattrib->shift_sz), skb_len); in rtl8723bs_recv_tasklet() 325 precvframe->u.hdr.rx_head = pkt_copy->head; in rtl8723bs_recv_tasklet() 326 precvframe->u.hdr.rx_data = precvframe->u.hdr.rx_tail = pkt_copy->data; in rtl8723bs_recv_tasklet() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 41 struct sk_buff *pkt_copy = NULL; in recvbuf2recvframe() local 119 pkt_copy = netdev_alloc_skb(adapt->pnetdev, alloc_sz); in recvbuf2recvframe() 120 if (pkt_copy) { in recvbuf2recvframe() 121 pkt_copy->dev = adapt->pnetdev; in recvbuf2recvframe() 122 precvframe->pkt = pkt_copy; in recvbuf2recvframe() 123 …skb_reserve(pkt_copy, 8 - ((size_t)(pkt_copy->data) & 7));/* force pkt_copy->data at 8-byte alignm… in recvbuf2recvframe() 124 …skb_reserve(pkt_copy, shift_sz);/* force ip_hdr at 8-byte alignment address according to shift_sz.… in recvbuf2recvframe() 125 skb_put_data(pkt_copy, (pbuf + pattrib->drvinfo_sz + RXDESC_SIZE), skb_len); in recvbuf2recvframe() 172 pkt_copy = NULL; in recvbuf2recvframe()
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 979 _pkt *pkt_copy = NULL; in recvbuf2recvframe() local 1034 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe() 1035 if (!pkt_copy) in recvbuf2recvframe() 1038 precvframe->u.hdr.pkt = pkt_copy; in recvbuf2recvframe() 1039 skb_reserve(pkt_copy, 4 - ((addr_t)(pkt_copy->data) % 4)); in recvbuf2recvframe() 1040 skb_reserve(pkt_copy, shift_sz); in recvbuf2recvframe() 1041 memcpy(pkt_copy->data, pbuf, tmp_len); in recvbuf2recvframe() 1043 precvframe->u.hdr.rx_tail = pkt_copy->data; in recvbuf2recvframe() 1044 precvframe->u.hdr.rx_end = pkt_copy->data + alloc_sz; in recvbuf2recvframe() 1058 pkt_copy = NULL; in recvbuf2recvframe()
|