/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | ipoib_rx.c | 57 if (size <= SKB_WITH_OVERHEAD(PAGE_SIZE)) in hfi1_ipoib_prepare_skb()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.h | 116 ((NET_SKB_PAD + IAVF_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IAVF_RXBUFFER_2048)) 123 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in iavf_compute_pad()
|
H A D | iavf_txrx.c | 1224 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IAVF_RXBUFFER_2048) in iavf_can_reuse_rx_page()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx.h | 43 SKB_WITH_OVERHEAD(ICE_RXBUF_2048)) 59 return SKB_WITH_OVERHEAD(half_page_size) - rx_buf_len; in ice_compute_pad()
|
H A D | ice_txrx.c | 818 (SKB_WITH_OVERHEAD(PAGE_SIZE) - ICE_RXBUF_3072) in ice_can_reuse_rx_page()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.h | 132 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048)) 139 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
|
/openbmc/linux/include/linux/ |
H A D | netlink.h | 270 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) 272 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
|
H A D | skbuff.h | 255 #define SKB_WITH_OVERHEAD(X) \ macro 266 SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_config.h | 30 #define OCTEP_OQ_BUF_SIZE (SKB_WITH_OVERHEAD(PAGE_SIZE))
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.h | 47 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD) 49 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | dma.c | 410 SKB_WITH_OVERHEAD(q->buf_size), in mt76_dma_get_buf() 431 SKB_WITH_OVERHEAD(q->buf_size), in mt76_dma_get_buf() 595 int len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_fill() 843 data_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_process()
|
H A D | usb.c | 480 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 164 ((NET_SKB_PAD + IGB_TS_HDR_LEN + IGB_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IGB_RXBUFFER_2048)) 171 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in igb_compute_pad()
|
/openbmc/linux/net/smc/ |
H A D | smc_diag.c | 244 .min_dump_alloc = SKB_WITH_OVERHEAD(32768), in smc_diag_handler_dump()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 158 (SKB_WITH_OVERHEAD(IXGBEVF_RXBUFFER_2048) - IXGBEVF_SKB_PAD)
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 90 ((NET_SKB_PAD + IXGBE_RXBUFFER_1536) > SKB_WITH_OVERHEAD(IXGBE_RXBUFFER_2K)) 97 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in ixgbe_compute_pad()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mmio.c | 636 len = SKB_WITH_OVERHEAD(q->buf_size); in mt7915_mmio_wed_init_rx_buf() 802 wed->wlan.rx_size = SKB_WITH_OVERHEAD(MT_RX_BUF_SIZE); in mt7915_mmio_wed_init()
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 112 SKB_WITH_OVERHEAD(SKB_SMALL_HEAD_CACHE_SIZE) 657 prefetchw(data + SKB_WITH_OVERHEAD(size)); in __alloc_skb() 711 if (len <= SKB_WITH_OVERHEAD(1024) || in __netdev_alloc_skb() 712 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __netdev_alloc_skb() 788 if ((!NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) || in __napi_alloc_skb() 789 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __napi_alloc_skb() 803 if (NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) { in __napi_alloc_skb() 2102 size = SKB_WITH_OVERHEAD(size); in pskb_expand_head() 6382 size = SKB_WITH_OVERHEAD(size); in pskb_carve_inside_header() 6498 size = SKB_WITH_OVERHEAD(size); in pskb_carve_inside_nonlinear()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 434 (SKB_WITH_OVERHEAD(IGC_RXBUFFER_2048) - IGC_SKB_PAD - IGC_TS_HDR_LEN)
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_wo.c | 102 int buf_len = SKB_WITH_OVERHEAD(q->buf_size); in mtk_wed_wo_dequeue()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 767 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info() 773 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
|
/openbmc/linux/drivers/net/ |
H A D | veth.c | 743 max_head_size = SKB_WITH_OVERHEAD(PAGE_SIZE - in veth_convert_skb_to_xdp_buff() 1603 max_mtu = SKB_WITH_OVERHEAD(PAGE_SIZE - VETH_XDP_HEADROOM) - in veth_xdp_set()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 188 #define dpaa_bp_size(raw_size) (SKB_WITH_OVERHEAD(raw_size) & \ 191 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD(raw_size)
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 1430 WARN_ON(len > SKB_WITH_OVERHEAD(buffer_size - NET_SKB_PAD)); in ipa_endpoint_skb_build()
|
/openbmc/linux/net/netlink/ |
H A D | af_netlink.c | 1954 SKB_WITH_OVERHEAD(32768)); in netlink_recvmsg()
|