Searched refs:SKB_WITH_OVERHEAD (Results 1 – 25 of 29) sorted by relevance
12
208 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)210 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
262 #define SKB_WITH_OVERHEAD(X) \ macro265 SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
57 if (size <= SKB_WITH_OVERHEAD(PAGE_SIZE)) in hfi1_ipoib_prepare_skb()
41 SKB_WITH_OVERHEAD(ICE_RXBUF_2048))57 return SKB_WITH_OVERHEAD(half_page_size) - rx_buf_len; in ice_compute_pad()
809 (SKB_WITH_OVERHEAD(PAGE_SIZE) - ICE_RXBUF_2048) in ice_can_reuse_rx_page()
130 ((NET_SKB_PAD + I40E_RXBUFFER_1536) > SKB_WITH_OVERHEAD(I40E_RXBUFFER_2048))137 pad_size = SKB_WITH_OVERHEAD(page_size) - rx_buf_len; in i40e_compute_pad()
2001 (SKB_WITH_OVERHEAD(PAGE_SIZE) - I40E_RXBUFFER_2048) in i40e_can_reuse_rx_page()
117 ((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()
1224 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IAVF_RXBUFFER_2048) in iavf_can_reuse_rx_page()
30 #define OCTEP_OQ_BUF_SIZE (SKB_WITH_OVERHEAD(PAGE_SIZE))
46 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)48 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
281 int buf_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_get_buf()450 int len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_fill()676 data_len = SKB_WITH_OVERHEAD(q->buf_size); in mt76_dma_rx_process()
482 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
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()
244 .min_dump_alloc = SKB_WITH_OVERHEAD(32768), in smc_diag_handler_dump()
158 (SKB_WITH_OVERHEAD(IXGBEVF_RXBUFFER_2048) - IXGBEVF_SKB_PAD)
799 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IXGBEVF_RXBUFFER_2048) in ixgbevf_can_reuse_rx_page()
83 ((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()
381 (SKB_WITH_OVERHEAD(IGC_RXBUFFER_2048) - IGC_SKB_PAD - IGC_TS_HDR_LEN)
517 size = SKB_WITH_OVERHEAD(osize); in __alloc_skb()572 if (len <= SKB_WITH_OVERHEAD(1024) || in __netdev_alloc_skb()573 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __netdev_alloc_skb()650 if ((!NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) || in __napi_alloc_skb()651 len > SKB_WITH_OVERHEAD(PAGE_SIZE) || in __napi_alloc_skb()665 if (NAPI_HAS_SMALL_PAGE_FRAG && len <= SKB_WITH_OVERHEAD(1024)) { in __napi_alloc_skb()1836 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_expand_head()6189 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_header()6309 size = SKB_WITH_OVERHEAD(ksize(data)); in pskb_carve_inside_nonlinear()
704 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()710 first_frag_size_max = SKB_WITH_OVERHEAD(frag_size_max - headroom); in mlx5e_build_rq_frags_info()
716 max_head_size = SKB_WITH_OVERHEAD(PAGE_SIZE - in veth_convert_skb_to_xdp_buff()1532 max_mtu = SKB_WITH_OVERHEAD(PAGE_SIZE - VETH_XDP_HEADROOM) - in veth_xdp_set()
187 #define dpaa_bp_size(raw_size) (SKB_WITH_OVERHEAD(raw_size) & \190 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD(raw_size)
1285 WARN_ON(len > SKB_WITH_OVERHEAD(buffer_size - NET_SKB_PAD)); in ipa_endpoint_skb_build()
1979 SKB_WITH_OVERHEAD(32768)); in netlink_recvmsg()