/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | usb_ops_linux.c | 197 _pkt *pskb = precvbuf->pskb; in r8712_usb_read_port_complete() local 204 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 208 skb_put(pskb, purb->actual_length); in r8712_usb_read_port_complete() 209 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 262 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in r8712_usb_read_port() 264 if (!precvbuf->pskb) { in r8712_usb_read_port() 265 precvbuf->pskb = netdev_alloc_skb(adapter->pnetdev, in r8712_usb_read_port() 267 if (!precvbuf->pskb) in r8712_usb_read_port() 269 tmpaddr = (addr_t)precvbuf->pskb->data; in r8712_usb_read_port() 271 skb_reserve(precvbuf->pskb, in r8712_usb_read_port() [all …]
|
D | rtl8712_recv.c | 40 struct sk_buff *pskb = NULL; in r8712_init_recv_priv() local 68 pskb = netdev_alloc_skb(padapter->pnetdev, MAX_RECVBUF_SZ + in r8712_init_recv_priv() 70 if (pskb) { in r8712_init_recv_priv() 71 tmpaddr = (addr_t)pskb->data; in r8712_init_recv_priv() 73 skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); in r8712_init_recv_priv() 74 skb_queue_tail(&precvpriv->free_recv_skb_queue, pskb); in r8712_init_recv_priv() 76 pskb = NULL; in r8712_init_recv_priv() 970 static void recvbuf2recvframe(struct _adapter *padapter, struct sk_buff *pskb) in recvbuf2recvframe() argument 984 pbuf = pskb->data; in recvbuf2recvframe() 988 transfer_len = pskb->len; in recvbuf2recvframe() [all …]
|
D | recv_linux.c | 49 precvbuf->pskb = NULL; in r8712_os_recvbuf_resource_alloc() 65 if (precvbuf->pskb) in r8712_os_recvbuf_resource_free() 66 dev_kfree_skb_any(precvbuf->pskb); in r8712_os_recvbuf_resource_free()
|
D | rtl8712_recv.h | 94 _pkt *pskb; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_recv.c | 50 struct sk_buff *pskb = NULL; in rtw_hal_init_recv_priv() local 55 pskb = __netdev_alloc_skb(padapter->pnetdev, in rtw_hal_init_recv_priv() 57 if (pskb) { in rtw_hal_init_recv_priv() 58 kmemleak_not_leak(pskb); in rtw_hal_init_recv_priv() 60 pskb); in rtw_hal_init_recv_priv() 62 pskb = NULL; in rtw_hal_init_recv_priv()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 32 static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb) in recvbuf2recvframe() argument 48 transfer_len = (s32)pskb->len; in recvbuf2recvframe() 49 pbuf = pskb->data; in recvbuf2recvframe() 378 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete() 379 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete() 384 precvbuf->pskb = NULL; in usb_read_port_complete() 394 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete() 395 precvbuf->pskb = NULL; in usb_read_port_complete() 448 if (!precvbuf->reuse || !precvbuf->pskb) { in usb_read_port() 449 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in usb_read_port() [all …]
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_input.c | 204 static int nf_hook_bridge_pre(struct sk_buff *skb, struct sk_buff **pskb) in nf_hook_bridge_pre() argument 232 *pskb = skb; in nf_hook_bridge_pre() 261 static rx_handler_result_t br_handle_frame(struct sk_buff **pskb) in br_handle_frame() argument 264 struct sk_buff *skb = *pskb; in br_handle_frame() 310 *pskb = skb; in br_handle_frame() 321 *pskb = skb; in br_handle_frame() 356 return nf_hook_bridge_pre(skb, pskb); in br_handle_frame() 371 static rx_handler_result_t br_handle_frame_dummy(struct sk_buff **pskb) in br_handle_frame_dummy() argument
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvlan_core.c | 312 static int ipvlan_rcv_frame(struct ipvl_addr *addr, struct sk_buff **pskb, in ipvlan_rcv_frame() argument 320 struct sk_buff *skb = *pskb; in ipvlan_rcv_frame() 336 *pskb = skb; in ipvlan_rcv_frame() 681 static rx_handler_result_t ipvlan_handle_mode_l3(struct sk_buff **pskb, in ipvlan_handle_mode_l3() argument 687 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l3() 696 ret = ipvlan_rcv_frame(addr, pskb, false); in ipvlan_handle_mode_l3() 702 static rx_handler_result_t ipvlan_handle_mode_l2(struct sk_buff **pskb, in ipvlan_handle_mode_l2() argument 705 struct sk_buff *skb = *pskb; in ipvlan_handle_mode_l2() 726 ret = ipvlan_handle_mode_l3(pskb, port); in ipvlan_handle_mode_l2() 732 rx_handler_result_t ipvlan_handle_frame(struct sk_buff **pskb) in ipvlan_handle_frame() argument [all …]
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | ctcm_mpc.c | 107 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb); 1041 static void ctcmpc_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcmpc_unpack_skb() argument 1059 header = (struct th_header *)pskb->data; in ctcmpc_unpack_skb() 1068 CTCM_PR_DBGDATA("%s: pskb len: %04x \n", __func__, pskb->len); in ctcmpc_unpack_skb() 1070 pskb->dev = dev; in ctcmpc_unpack_skb() 1071 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcmpc_unpack_skb() 1072 skb_pull(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb() 1087 __skb_push(pskb, TH_HEADER_LENGTH); in ctcmpc_unpack_skb() 1088 skb_queue_tail(&ch->io_queue, pskb); in ctcmpc_unpack_skb() 1103 while ((pskb->len > 0) && !pdu_last_seen) { in ctcmpc_unpack_skb() [all …]
|
D | ctcm_main.c | 75 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcm_unpack_skb() argument 79 __u16 len = *((__u16 *) pskb->data); in ctcm_unpack_skb() 81 skb_put(pskb, 2 + LL_HEADER_LENGTH); in ctcm_unpack_skb() 82 skb_pull(pskb, 2); in ctcm_unpack_skb() 83 pskb->dev = dev; in ctcm_unpack_skb() 84 pskb->ip_summed = CHECKSUM_UNNECESSARY; in ctcm_unpack_skb() 88 struct ll_header *header = (struct ll_header *)pskb->data; in ctcm_unpack_skb() 90 skb_pull(pskb, LL_HEADER_LENGTH); in ctcm_unpack_skb() 110 pskb->protocol = cpu_to_be16(header->type); in ctcm_unpack_skb() 128 if ((header->length > skb_tailroom(pskb)) || in ctcm_unpack_skb() [all …]
|
D | netiucv.c | 597 struct sk_buff *pskb) in netiucv_unpack_skb() argument 603 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb() 604 pskb->dev = dev; in netiucv_unpack_skb() 605 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb() 606 pskb->protocol = cpu_to_be16(ETH_P_IP); in netiucv_unpack_skb() 610 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb() 615 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb() 619 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb() 621 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb() 624 skb_put(pskb, header->next); in netiucv_unpack_skb() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
D | sdio_ops.c | 873 if (!recvbuf->pskb) { in sd_recv_rxfifo() 877 recvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in sd_recv_rxfifo() 879 if (recvbuf->pskb) { in sd_recv_rxfifo() 880 recvbuf->pskb->dev = adapter->pnetdev; in sd_recv_rxfifo() 882 tmpaddr = (SIZE_PTR)recvbuf->pskb->data; in sd_recv_rxfifo() 884 skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in sd_recv_rxfifo() 887 if (!recvbuf->pskb) { in sd_recv_rxfifo() 894 readbuf = recvbuf->pskb->data; in sd_recv_rxfifo() 903 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo() 904 recvbuf->pdata = recvbuf->pskb->data; in sd_recv_rxfifo() [all …]
|
D | rtl8723bs_recv.c | 418 if (!precvbuf->pskb) { in rtl8723bs_init_recv_priv() 422 precvbuf->pskb = rtw_skb_alloc(MAX_RECVBUF_SZ + RECVBUFF_ALIGN_SZ); in rtl8723bs_init_recv_priv() 424 if (precvbuf->pskb) { in rtl8723bs_init_recv_priv() 425 precvbuf->pskb->dev = padapter->pnetdev; in rtl8723bs_init_recv_priv() 427 tmpaddr = (SIZE_PTR)precvbuf->pskb->data; in rtl8723bs_init_recv_priv() 429 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtl8723bs_init_recv_priv() 432 if (!precvbuf->pskb) { in rtl8723bs_init_recv_priv()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_socket.c | 52 struct sk_buff *pskb = (struct sk_buff *)skb; in socket_match() local 80 pskb->mark = sk->sk_mark; in socket_match() 113 struct sk_buff *pskb = (struct sk_buff *)skb; in socket_mt6_v1_v2_v3() local 141 pskb->mark = sk->sk_mark; in socket_mt6_v1_v2_v3()
|
D | xt_cluster.c | 81 struct sk_buff *pskb = (struct sk_buff *)skb; in xt_cluster_mt() local 106 pskb->pkt_type = PACKET_HOST; in xt_cluster_mt()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723com/ |
D | fw_common.c | 225 struct sk_buff *pskb = NULL; in rtl8723_cmd_send_packet() local 230 pskb = __skb_dequeue(&ring->queue); in rtl8723_cmd_send_packet() 231 kfree_skb(pskb); in rtl8723_cmd_send_packet()
|
/kernel/linux/linux-5.10/drivers/staging/octeon/ |
D | ethernet-rx.c | 220 struct sk_buff **pskb = NULL; in cvm_oct_poll() local 248 pskb = (struct sk_buff **) in cvm_oct_poll() 251 prefetch(pskb); in cvm_oct_poll() 262 skb = *pskb; in cvm_oct_poll()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_handlers.h | 14 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb);
|
D | rmnet_handlers.c | 177 rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb) in rmnet_rx_handler() argument 179 struct sk_buff *skb = *pskb; in rmnet_rx_handler()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | vport-netdev.c | 58 static rx_handler_result_t netdev_frame_hook(struct sk_buff **pskb) in netdev_frame_hook() argument 60 struct sk_buff *skb = *pskb; in netdev_frame_hook()
|
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_slave.c | 24 static rx_handler_result_t hsr_handle_frame(struct sk_buff **pskb) in hsr_handle_frame() argument 26 struct sk_buff *skb = *pskb; in hsr_handle_frame()
|
/kernel/linux/linux-5.10/include/net/ |
D | failover.h | 22 rx_handler_result_t (*slave_handle_frame)(struct sk_buff **pskb);
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_device.c | 106 struct sk_buff *skb2, *nskb, *pskb = NULL; in validate_xmit_xfrm() local 196 pskb->next = nskb; in validate_xmit_xfrm() 202 pskb = skb2; in validate_xmit_xfrm()
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_tap.h | 75 rx_handler_result_t tap_handle_frame(struct sk_buff **pskb);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 51 if (precvbuf->pskb) { in rtw_os_recvbuf_resource_free() 52 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()
|