Searched refs:SKB_WITH_OVERHEAD (Results 1 – 22 of 22) sorted by relevance
172 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE)174 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL)
229 #define SKB_WITH_OVERHEAD(X) \ macro232 SKB_WITH_OVERHEAD((PAGE_SIZE << (ORDER)) - (X))
137 ((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()
1904 (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()
1199 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IAVF_RXBUFFER_2048) in iavf_can_reuse_rx_page()
213 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()
425 if (SKB_WITH_OVERHEAD(buf_size) < MT_DMA_HDR_LEN + len) { in mt76u_build_rx_skb()
33 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - ENETC_RXB_PAD)
240 .min_dump_alloc = SKB_WITH_OVERHEAD(32768), in smc_diag_handler_dump()
130 (SKB_WITH_OVERHEAD(IGC_RXBUFFER_2048) - IGC_SKB_PAD - IGC_TS_HDR_LEN)
1386 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IGC_RXBUFFER_2048) in igc_can_reuse_rx_page()
158 (SKB_WITH_OVERHEAD(IXGBEVF_RXBUFFER_2048) - IXGBEVF_SKB_PAD)
806 (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()
1970 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IXGBE_RXBUFFER_3K) in ixgbe_can_reuse_rx_page()
143 (SKB_WITH_OVERHEAD(IGB_RXBUFFER_2048) - IGB_SKB_PAD - IGB_TS_HDR_LEN)
7958 (SKB_WITH_OVERHEAD(PAGE_SIZE) - IGB_RXBUFFER_2048) in igb_can_reuse_rx_page()
216 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()
205 #define dpaa_bp_size(raw_size) SKB_WITH_OVERHEAD((raw_size) - SMP_CACHE_BYTES)
1966 SKB_WITH_OVERHEAD(32768)); in netlink_recvmsg()
5038 end - start >= SKB_WITH_OVERHEAD(SK_MEM_QUANTUM)) { in tcp_collapse_ofo_queue()