Home
last modified time | relevance | path

Searched refs:SKB_WITH_OVERHEAD (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/include/linux/
Dnetlink.h172 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)
174 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
Dskbuff.h229 #define SKB_WITH_OVERHEAD(X) \ macro
232 SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h137 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048))
144 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
Di40e_txrx.c1904 (SKB_WITH_OVERHEAD(PAGE_SIZE) - I40E_RXBUFFER_2048) in i40e_can_reuse_rx_page()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h117 ((NET_SKB_PAD + IAVF_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IAVF_RXBUFFER_2048))
124 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in iavf_compute_pad()
Diavf_txrx.c1199 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IAVF_RXBUFFER_2048) in iavf_can_reuse_rx_page()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Ddma.c213 int buf_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_get_buf()
366 int len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_fill()
481 data_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_process()
Dusb.c425 if (SKB_WITH_OVERHEAD(buf_size) < MT_DMA_HDR_LEN + len) { in mt76u_build_rx_skb()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc.h33 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)
/Linux-v5.4/net/smc/
Dsmc_diag.c240 .min_dump_alloc = SKB_WITH_OVERHEAD(32768), in smc_diag_handler_dump()
/Linux-v5.4/drivers/net/ethernet/intel/igc/
Digc.h130 (SKB_WITH_OVERHEAD(IGC_RXBUFFER_2048) - IGC_SKB_PAD - IGC_TS_HDR_LEN)
Digc_main.c1386 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IGC_RXBUFFER_2048) in igc_can_reuse_rx_page()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h158 (SKB_WITH_OVERHEAD(IXGBEVF_RXBUFFER_2048) - IXGBEVF_SKB_PAD)
Dixgbevf_main.c806 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IXGBEVF_RXBUFFER_2048) in ixgbevf_can_reuse_rx_page()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h83 ((NET_SKB_PAD + IXGBE_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IXGBE_RXBUFFER_2K))
90 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
Dixgbe_main.c1970 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IXGBE_RXBUFFER_3K) in ixgbe_can_reuse_rx_page()
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb.h143 (SKB_WITH_OVERHEAD(IGB_RXBUFFER_2048) - IGB_SKB_PAD - IGB_TS_HDR_LEN)
Digb_main.c7958 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IGB_RXBUFFER_2048) in igb_can_reuse_rx_page()
/Linux-v5.4/net/core/
Dskbuff.c216 size = SKB_WITH_OVERHEAD(ksize(data)); in __alloc_skb()
434 if ((len > SKB_WITH_OVERHEAD(PAGE_SIZE)) || in __netdev_alloc_skb()
505 if ((len > SKB_WITH_OVERHEAD(PAGE_SIZE)) || in __napi_alloc_skb()
1632 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_expand_head()
5722 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_header()
5846 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_nonlinear()
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c205 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD((raw_size) - SMP_CACHE_BYTES)
/Linux-v5.4/net/netlink/
Daf_netlink.c1966 SKB_WITH_OVERHEAD(32768)); in netlink_recvmsg()
/Linux-v5.4/net/ipv4/
Dtcp_input.c5038 end - start >= SKB_WITH_OVERHEAD(SK_MEM_QUANTUM)) { in tcp_collapse_ofo_queue()