/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_frame.c | 63 NET_SKB_PAD, GFP_ATOMIC); in _fc_frame_alloc() 66 skb_reserve(skb, NET_SKB_PAD + FC_FRAME_HEADROOM); in _fc_frame_alloc()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | cache.h | 14 #define NET_SKB_PAD 32 macro
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_ip.c | 429 skb = sock_wmalloc(sk, 2 + NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_ip_sendmsg() 435 skb_reserve(skb, 2 + NET_SKB_PAD); in l2tp_ip_sendmsg()
|
D | l2tp_ppp.c | 328 skb = sock_wmalloc(sk, NET_SKB_PAD + sizeof(struct iphdr) + in pppol2tp_sendmsg() 336 skb_reserve(skb, NET_SKB_PAD); in pppol2tp_sendmsg() 412 headroom = NET_SKB_PAD + in pppol2tp_xmit()
|
D | l2tp_core.c | 1119 headroom = NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_xmit_skb()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bgmac.h | 363 #define BGMAC_RX_BUF_OFFSET (NET_SKB_PAD + NET_IP_ALIGN - \
|
D | bnx2.c | 5367 rx_space = SKB_DATA_ALIGN(rx_size + BNX2_RX_ALIGN) + NET_SKB_PAD + in bnx2_set_rx_ring_size() 5393 NET_SKB_PAD + SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bnx2_set_rx_ring_size()
|
D | bnx2.h | 6633 return (struct l2_fhdr *)(PTR_ALIGN(data, BNX2_RX_ALIGN) + NET_SKB_PAD); in get_l2_fhdr()
|
D | tg3.c | 201 #define TG3_RX_OFFSET(tp) (NET_SKB_PAD) 16881 tp->rx_offset = NET_SKB_PAD + NET_IP_ALIGN; in tg3_get_invariants() 16885 tp->rx_offset = NET_SKB_PAD; in tg3_get_invariants()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | mvneta.c | 278 #define MVNETA_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD) 1509 MVNETA_MH_SIZE + NET_SKB_PAD, in mvneta_rx() 1513 data + MVNETA_MH_SIZE + NET_SKB_PAD, in mvneta_rx() 1538 skb_reserve(skb, MVNETA_MH_SIZE + NET_SKB_PAD); in mvneta_rx() 2250 mvneta_rxq_offset_set(pp, rxq, NET_SKB_PAD); in mvneta_rxq_init()
|
D | pxa168_eth.c | 185 #define SKB_DMA_REALIGN ((PAGE_SIZE - NET_SKB_PAD) % SMP_CACHE_BYTES)
|
D | mvpp2.c | 379 #define MVPP2_RX_BUF_SIZE(pkt_size) ((pkt_size) + NET_SKB_PAD) 382 ((total_size) - NET_SKB_PAD - MVPP2_SKB_SHINFO_SIZE) 4526 mvpp2_rxq_offset_set(port, rxq->id, NET_SKB_PAD); in mvpp2_rxq_init()
|
D | mv643xx_eth.c | 184 #define SKB_DMA_REALIGN ((PAGE_SIZE - NET_SKB_PAD) % SMP_CACHE_BYTES)
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 446 first_buf->data + NET_SKB_PAD, in bnx2x_tpa_start() 680 return kmalloc(fp->rx_buf_size + NET_SKB_PAD, gfp_mask); in bnx2x_frag_alloc() 780 skb_reserve(skb, pad + NET_SKB_PAD); in bnx2x_tpa_stop() 824 mapping = dma_map_single(&bp->pdev->dev, data + NET_SKB_PAD, in bnx2x_alloc_rx_data() 1002 pad += NET_SKB_PAD; in bnx2x_rx_int() 2028 if (fp->rx_buf_size + NET_SKB_PAD <= PAGE_SIZE) in bnx2x_set_rx_buf_size() 2029 fp->rx_frag_size = fp->rx_buf_size + NET_SKB_PAD; in bnx2x_set_rx_buf_size()
|
D | bnx2x_ethtool.c | 2566 data = rx_buf->data + NET_SKB_PAD + cqe->fast_path_cqe.placement_offset; in bnx2x_run_loopback()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1100 buf = kzalloc(E1000_RXBUFFER_2048 + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings() 1110 buf + NET_SKB_PAD + NET_IP_ALIGN, in e1000_setup_desc_rings() 1448 NET_SKB_PAD + NET_IP_ALIGN, in e1000_run_loopback_test()
|
D | e1000_main.c | 2065 #define E1000_HEADROOM (NET_SKB_PAD + NET_IP_ALIGN)
|
/linux-4.1.27/include/linux/ |
D | skbuff.h | 2030 #ifndef NET_SKB_PAD 2031 #define NET_SKB_PAD max(32, L1_CACHE_BYTES) macro 2424 return pskb_expand_head(skb, ALIGN(delta, NET_SKB_PAD), 0, in __skb_cow()
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 531 length += NET_SKB_PAD; in __netdev_alloc_skb() 535 skb_reserve(skb, NET_SKB_PAD); in __netdev_alloc_skb() 561 length += NET_SKB_PAD + NET_IP_ALIGN; in __napi_alloc_skb() 565 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in __napi_alloc_skb()
|
D | pktgen.c | 2734 skb = __alloc_skb(NET_SKB_PAD + size, GFP_NOWAIT, 0, node); in pktgen_alloc_skb() 2736 skb_reserve(skb, NET_SKB_PAD); in pktgen_alloc_skb()
|
D | dev.c | 4214 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN - skb_headroom(skb)); in napi_reuse_skb()
|
/linux-4.1.27/drivers/net/xen-netback/ |
D | netback.c | 801 alloc_skb(size + NET_SKB_PAD + NET_IP_ALIGN, in xenvif_alloc_skb() 807 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in xenvif_alloc_skb()
|
/linux-4.1.27/drivers/net/ethernet/hisilicon/ |
D | hip04_eth.c | 522 skb_reserve(skb, NET_SKB_PAD + NET_IP_ALIGN); in hip04_rx_poll()
|
/linux-4.1.27/net/bluetooth/ |
D | 6lowpan.c | 330 local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, in recv_pkt()
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilepro.c | 437 unsigned int padding = 128 - NET_SKB_PAD; in tile_net_provide_needed_buffer()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | netcp_core.c | 34 #define NETCP_SOP_OFFSET (NET_IP_ALIGN + NET_SKB_PAD)
|
/linux-4.1.27/drivers/net/ |
D | tun.c | 1037 size_t len = total_len, align = NET_SKB_PAD, linear; in tun_get_user()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 2366 max_mtu = SKB_MAX_HEAD(NET_SKB_PAD + NET_IP_ALIGN); in stmmac_change_mtu()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 492 head_size = SKB_DATA_ALIGN(adapter->rx_buffer_len + NET_SKB_PAD) + in atl1c_set_rxbufsize()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_l3_main.c | 1986 skb->mac_header = NET_SKB_PAD; in qeth_l3_process_inbound_buffer()
|