headroom 598 arch/um/drivers/vector_kern.c int linear = vp->max_packet + vp->headroom + SAFETY_MARGIN; headroom 623 arch/um/drivers/vector_kern.c skb_reserve(result, vp->headroom); headroom 1330 arch/um/drivers/vector_kern.c vp->req_size = vp->max_packet + vp->headroom + SAFETY_MARGIN; headroom 1518 arch/um/drivers/vector_kern.c .headroom = get_headroom(def), headroom 95 arch/um/drivers/vector_kern.h int headroom; headroom 247 drivers/firmware/efi/libstub/arm-stub.c static const u64 headroom = EFI_RT_VIRTUAL_LIMIT - headroom 256 drivers/firmware/efi/libstub/arm-stub.c (((headroom >> 21) * rnd) >> (32 - 21)); headroom 684 drivers/net/caif/caif_virtio.c virtio_cread(vdev, struct virtio_caif_transf_config, headroom, headroom 686 drivers/net/caif/caif_virtio.c virtio_cread(vdev, struct virtio_caif_transf_config, headroom, headroom 1723 drivers/net/ethernet/cadence/macb_main.c int headroom = skb_headroom(*skb); headroom 1738 drivers/net/ethernet/cadence/macb_main.c else if (!cloned && headroom + tailroom >= ETH_FCS_LEN) headroom 1748 drivers/net/ethernet/cadence/macb_main.c if (!cloned && headroom + tailroom >= padlen) { headroom 2758 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c u16 headroom; headroom 2770 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c headroom = (u16)(bl->priv_data_size + DPAA_PARSE_RESULTS_SIZE + headroom 2773 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c return ALIGN(headroom, DPAA_FD_DATA_ALIGNMENT); headroom 1865 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (xdpf->headroom < needed_headroom) headroom 1878 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (aligned_start >= xdpf->data - xdpf->headroom) headroom 491 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h unsigned int headroom = DPAA2_ETH_SWA_SIZE; headroom 497 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h return headroom; headroom 507 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h headroom += DPAA2_ETH_TX_HWA_SIZE; headroom 509 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h return headroom; headroom 262 drivers/net/ethernet/intel/i40e/i40e_xsk.c hr = umem->headroom + XDP_PACKET_HEADROOM; headroom 270 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); headroom 299 drivers/net/ethernet/intel/i40e/i40e_xsk.c hr = umem->headroom + XDP_PACKET_HEADROOM; headroom 307 drivers/net/ethernet/intel/i40e/i40e_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); headroom 455 drivers/net/ethernet/intel/i40e/i40e_xsk.c hr = rx_ring->xsk_umem->headroom + XDP_PACKET_HEADROOM; headroom 473 drivers/net/ethernet/intel/i40e/i40e_xsk.c rx_ring->xsk_umem->headroom); headroom 1084 drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c u32 headroom, int strategy) headroom 3511 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c u32 headroom, headroom 3519 drivers/net/ethernet/intel/ixgbe/ixgbe_common.c pbsize -= headroom; headroom 101 drivers/net/ethernet/intel/ixgbe/ixgbe_common.h u32 headroom, int strategy); headroom 234 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c hr = rx_ring->xsk_umem->headroom + XDP_PACKET_HEADROOM; headroom 252 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c rx_ring->xsk_umem->headroom); headroom 270 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c hr = umem->headroom + XDP_PACKET_HEADROOM; headroom 278 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); headroom 297 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c hr = umem->headroom + XDP_PACKET_HEADROOM; headroom 305 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c bi->handle = xsk_umem_adjust_offset(umem, handle, umem->headroom); headroom 654 drivers/net/ethernet/mellanox/mlx5/core/en.h u16 headroom; headroom 15 drivers/net/ethernet/mellanox/mlx5/core/en/params.c u16 headroom = NET_IP_ALIGN; headroom 18 drivers/net/ethernet/mellanox/mlx5/core/en/params.c headroom += XDP_PACKET_HEADROOM; headroom 20 drivers/net/ethernet/mellanox/mlx5/core/en/params.c headroom += xsk->headroom; headroom 22 drivers/net/ethernet/mellanox/mlx5/core/en/params.c headroom += MLX5_RX_HEADROOM; headroom 25 drivers/net/ethernet/mellanox/mlx5/core/en/params.c return headroom; headroom 10 drivers/net/ethernet/mellanox/mlx5/core/en/params.h u16 headroom; headroom 94 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c u16 rx_headroom = rq->buff.headroom - rq->buff.umem_headroom; headroom 115 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c frag_size = rq->buff.headroom + cqe_bcnt32; headroom 157 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c u16 rx_headroom = rq->buff.headroom - rq->buff.umem_headroom; headroom 171 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c frag_size = rq->buff.headroom + cqe_bcnt; headroom 93 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c return umem->headroom <= 0xffff && umem->chunk_size_nohr <= 0xffff; headroom 98 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c xsk->headroom = umem->headroom; headroom 99 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.c xsk->chunk_size = umem->chunk_size_nohr + umem->headroom; headroom 426 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->buff.headroom = mlx5e_get_rq_headroom(mdev, params, xsk); headroom 427 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->buff.umem_headroom = xsk ? xsk->headroom : 0; headroom 580 drivers/net/ethernet/mellanox/mlx5/core/en_main.c wqe->data[0].addr = cpu_to_be64(dma_offset + rq->buff.headroom); headroom 348 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c frag->offset + rq->buff.headroom); headroom 1041 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u32 frag_size, u16 headroom, headroom 1051 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb_reserve(skb, headroom); headroom 1062 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u16 rx_headroom = rq->buff.headroom; headroom 1287 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u16 rx_headroom = rq->buff.headroom; headroom 850 drivers/net/ethernet/socionext/netsec.c dma_handle = page_pool_get_dma_addr(page) + xdpf->headroom + headroom 6611 drivers/net/ethernet/sun/niu.c unsigned long align, headroom; headroom 6647 drivers/net/ethernet/sun/niu.c headroom = align + sizeof(struct tx_pkt_hdr); headroom 6650 drivers/net/ethernet/sun/niu.c tp = skb_push(skb, headroom); headroom 467 drivers/net/ethernet/ti/cpsw.c dma += xdpf->headroom + sizeof(struct xdp_frame); headroom 471 drivers/net/ethernet/ti/cpsw.c if (sizeof(*xmeta) > xdpf->headroom) { headroom 680 drivers/net/ethernet/ti/cpsw.c int headroom = CPSW_HEADROOM; headroom 744 drivers/net/ethernet/ti/cpsw.c headroom = xdp.data - xdp.data_hard_start; headroom 758 drivers/net/ethernet/ti/cpsw.c skb_reserve(skb, headroom); headroom 1184 drivers/net/usb/aqc111.c int headroom = 0; headroom 1196 drivers/net/usb/aqc111.c headroom = (skb->len + sizeof(tx_desc)) % 8; headroom 1197 drivers/net/usb/aqc111.c if (headroom != 0) headroom 1198 drivers/net/usb/aqc111.c padding_size = 8 - headroom; headroom 1216 drivers/net/usb/aqc111.c headroom = skb_headroom(skb); headroom 1219 drivers/net/usb/aqc111.c if (!(headroom >= sizeof(tx_desc) && tailroom >= padding_size)) { headroom 220 drivers/net/usb/asix_common.c int headroom = skb_headroom(skb); headroom 242 drivers/net/usb/asix_common.c headroom + tailroom >= 4 + padlen) { headroom 244 drivers/net/usb/asix_common.c if (headroom < 4 || headroom 1423 drivers/net/usb/ax88179_178a.c int headroom; headroom 1431 drivers/net/usb/ax88179_178a.c headroom = skb_headroom(skb) - 8; headroom 1433 drivers/net/usb/ax88179_178a.c if ((skb_header_cloned(skb) || headroom < 0) && headroom 1434 drivers/net/usb/ax88179_178a.c pskb_expand_head(skb, headroom < 0 ? 8 : 0, 0, GFP_ATOMIC)) { headroom 107 drivers/net/usb/cdc_eem.c int headroom = skb_headroom(skb); headroom 111 drivers/net/usb/cdc_eem.c (headroom >= EEM_HEAD)) headroom 114 drivers/net/usb/cdc_eem.c if ((headroom + tailroom) headroom 140 drivers/net/usb/gl620a.c int headroom = skb_headroom(skb); headroom 149 drivers/net/usb/gl620a.c && ((headroom + tailroom) >= (padlen + (4 + 4*1)))) { headroom 150 drivers/net/usb/gl620a.c if ((headroom < (4 + 4*1)) || (tailroom < padlen)) { headroom 59 drivers/net/usb/int51x1.c int headroom = skb_headroom(skb); headroom 76 drivers/net/usb/int51x1.c (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { headroom 77 drivers/net/usb/int51x1.c if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { headroom 167 drivers/net/usb/kalmia.c int headroom = skb_headroom(skb); headroom 170 drivers/net/usb/kalmia.c if ((tailroom >= KALMIA_ALIGN_SIZE) && (headroom headroom 174 drivers/net/usb/kalmia.c if ((headroom + tailroom) > (KALMIA_HEADER_LENGTH headroom 249 drivers/net/usb/lg-vl600.c int headroom = skb_headroom(skb); headroom 253 drivers/net/usb/lg-vl600.c headroom >= sizeof(*frame)) headroom 257 drivers/net/usb/lg-vl600.c if (headroom + tailroom + skb->len >= full_len) { headroom 426 drivers/net/usb/net1080.c int headroom = skb_headroom(skb); headroom 430 drivers/net/usb/net1080.c sizeof(struct nc_header) <= headroom) headroom 435 drivers/net/usb/net1080.c (headroom + tailroom)) { headroom 113 drivers/net/usb/sr9800.c int headroom = skb_headroom(skb); headroom 122 drivers/net/usb/sr9800.c if ((!skb_cloned(skb)) && ((headroom + tailroom) >= (4 + padlen))) { headroom 123 drivers/net/usb/sr9800.c if ((headroom < 4) || (tailroom < padlen)) { headroom 368 drivers/net/veth.c static struct sk_buff *veth_build_skb(void *head, int headroom, int len, headroom 374 drivers/net/veth.c buflen = SKB_DATA_ALIGN(headroom + len) + headroom 381 drivers/net/veth.c skb_reserve(skb, headroom); headroom 512 drivers/net/veth.c void *hard_start = frame->data - frame->headroom; headroom 517 drivers/net/veth.c unsigned int headroom; headroom 574 drivers/net/veth.c headroom = sizeof(struct xdp_frame) + frame->headroom - delta; headroom 575 drivers/net/veth.c skb = veth_build_skb(head, headroom, len, 0); headroom 597 drivers/net/veth.c u32 pktlen, headroom, act, metalen; headroom 614 drivers/net/veth.c headroom = skb_headroom(skb) - mac_len; headroom 617 drivers/net/veth.c skb_is_nonlinear(skb) || headroom < XDP_PACKET_HEADROOM) { headroom 354 drivers/net/virtio_net.c unsigned int headroom) headroom 356 drivers/net/virtio_net.c return (void *)(unsigned long)((headroom << MRG_CTX_HEADER_SHIFT) | truesize); headroom 457 drivers/net/virtio_net.c if (unlikely(xdpf->headroom < vi->hdr_len)) headroom 640 drivers/net/virtio_net.c unsigned int headroom = vi->hdr_len + header_offset; headroom 641 drivers/net/virtio_net.c unsigned int buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + headroom 670 drivers/net/virtio_net.c headroom = vi->hdr_len + header_offset; headroom 671 drivers/net/virtio_net.c buflen = SKB_DATA_ALIGN(GOOD_PACKET_LEN + headroom) + headroom 736 drivers/net/virtio_net.c skb_reserve(skb, headroom - delta); headroom 794 drivers/net/virtio_net.c unsigned int headroom = mergeable_ctx_to_headroom(ctx); headroom 823 drivers/net/virtio_net.c headroom < virtnet_get_headroom(vi))) { headroom 1169 drivers/net/virtio_net.c unsigned int headroom = virtnet_get_headroom(vi); headroom 1170 drivers/net/virtio_net.c unsigned int tailroom = headroom ? sizeof(struct skb_shared_info) : 0; headroom 1171 drivers/net/virtio_net.c unsigned int room = SKB_DATA_ALIGN(headroom + tailroom); headroom 1186 drivers/net/virtio_net.c buf += headroom; /* advance address leaving hole at front of pkt */ headroom 1200 drivers/net/virtio_net.c ctx = mergeable_len_to_ctx(len, headroom); headroom 2906 drivers/net/virtio_net.c unsigned int headroom = virtnet_get_headroom(vi); headroom 2907 drivers/net/virtio_net.c unsigned int tailroom = headroom ? sizeof(struct skb_shared_info) : 0; headroom 2914 drivers/net/virtio_net.c SKB_DATA_ALIGN(headroom + tailroom))); headroom 302 drivers/net/wireless/ath/ath9k/wmi.c u16 headroom = sizeof(struct htc_frame_hdr) + headroom 311 drivers/net/wireless/ath/ath9k/wmi.c skb = alloc_skb(headroom + cmd_len, GFP_ATOMIC); headroom 315 drivers/net/wireless/ath/ath9k/wmi.c skb_reserve(skb, headroom); headroom 268 drivers/net/wireless/ath/wil6210/txrx.c u32 i, int headroom) headroom 275 drivers/net/wireless/ath/wil6210/txrx.c struct sk_buff *skb = dev_alloc_skb(sz + headroom); headroom 280 drivers/net/wireless/ath/wil6210/txrx.c skb_reserve(skb, headroom); headroom 625 drivers/net/wireless/ath/wil6210/txrx.c int headroom = ndev->type == ARPHRD_IEEE80211_RADIOTAP ? headroom 631 drivers/net/wireless/ath/wil6210/txrx.c rc = wil_vring_alloc_skb(wil, v, v->swtail, headroom); headroom 178 drivers/net/wireless/intel/ipw2x00/libipw_tx.c int headroom, gfp_t gfp_mask) headroom 192 drivers/net/wireless/intel/ipw2x00/libipw_tx.c txb->fragments[i] = __dev_alloc_skb(txb_size + headroom, headroom 198 drivers/net/wireless/intel/ipw2x00/libipw_tx.c skb_reserve(txb->fragments[i], headroom); headroom 85 drivers/net/wireless/intersil/p54/fwio.c priv->headroom = desc->headroom; headroom 52 drivers/net/wireless/intersil/p54/p54.h u8 headroom; headroom 179 drivers/net/wireless/intersil/p54/p54.h u8 headroom; headroom 88 drivers/net/wireless/intersil/p54/txrx.c u16 len = priv->headroom + skb->len + priv->tailroom + 3; headroom 137 drivers/net/wireless/intersil/p54/txrx.c data->req_id = cpu_to_le32(target_addr + priv->headroom); headroom 167 drivers/net/wireless/marvell/mwifiex/11n_aggr.c int headroom = adapter->intf_hdr_len; headroom 186 drivers/net/wireless/marvell/mwifiex/11n_aggr.c skb_reserve(skb_aggr, headroom + sizeof(struct txpd)); headroom 241 drivers/net/wireless/marvell/mwifiex/11n_aggr.c skb_push(skb_aggr, headroom); headroom 14 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c const u32 flags = readl(&ipc->shm_region->headroom.hdr.flags); headroom 25 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c shm_reg_hdr = &ipc->shm_region->headroom.hdr; headroom 59 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c flags = readl(&ipc->shm_region->headroom.hdr.flags); headroom 72 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c flags = readl(&ipc->shm_region->headroom.hdr.flags); headroom 128 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c shm_reg_hdr = &ipc->shm_region->headroom.hdr; headroom 25 drivers/net/wireless/quantenna/qtnfmac/shm_ipc_defs.h u8 headroom[QTN_IPC_REG_HDR_SZ]; headroom 29 drivers/net/wireless/quantenna/qtnfmac/shm_ipc_defs.h union qtnf_shm_ipc_region_headroom headroom; headroom 111 drivers/nfc/nfcmrvl/main.c int headroom; headroom 137 drivers/nfc/nfcmrvl/main.c headroom = NCI_SPI_HDR_LEN; headroom 140 drivers/nfc/nfcmrvl/main.c headroom = tailroom = 0; headroom 143 drivers/nfc/nfcmrvl/main.c headroom += NFCMRVL_HCI_EVENT_HEADER_SIZE; headroom 154 drivers/nfc/nfcmrvl/main.c headroom, tailroom); headroom 5053 drivers/s390/net/qeth_core_main.c int headroom = 0; headroom 5072 drivers/s390/net/qeth_core_main.c headroom = ETH_HLEN; headroom 5076 drivers/s390/net/qeth_core_main.c headroom = sizeof(struct qeth_hdr); headroom 5098 drivers/s390/net/qeth_core_main.c skb = napi_alloc_skb(&card->napi, linear + headroom); headroom 5102 drivers/s390/net/qeth_core_main.c if (headroom) headroom 5103 drivers/s390/net/qeth_core_main.c skb_reserve(skb, headroom); headroom 2173 drivers/s390/net/qeth_l3_main.c unsigned int headroom; headroom 2209 drivers/s390/net/qeth_l3_main.c headroom = sizeof(struct qeth_hdr_tso) + VLAN_HLEN; headroom 2211 drivers/s390/net/qeth_l3_main.c headroom = sizeof(struct qeth_hdr_tso); headroom 2213 drivers/s390/net/qeth_l3_main.c headroom = sizeof(struct qeth_hdr) + VLAN_HLEN; headroom 2217 drivers/s390/net/qeth_l3_main.c headroom = sizeof(struct qeth_hdr) - ETH_HLEN; headroom 2225 drivers/s390/net/qeth_l3_main.c card->dev->needed_headroom = headroom; headroom 1897 drivers/scsi/cxgbi/libcxgbi.c int headroom = SKB_TX_ISCSI_PDU_HEADER_MAX; headroom 1907 drivers/scsi/cxgbi/libcxgbi.c headroom += min_t(unsigned int, headroom 1911 drivers/scsi/cxgbi/libcxgbi.c tdata->skb = alloc_skb(cdev->skb_tx_rsvd + headroom, GFP_ATOMIC); headroom 1938 drivers/scsi/cxgbi/libcxgbi.c task, opcode, tdata->skb, cdev->skb_tx_rsvd, headroom, headroom 2205 drivers/scsi/cxgbi/libcxgbi.c unsigned int headroom = SKB_MAX_HEAD(cdev->skb_tx_rsvd); headroom 2207 drivers/scsi/cxgbi/libcxgbi.c unsigned int max = max(max_def, headroom); headroom 339 drivers/usb/gadget/function/f_eem.c int headroom, tailroom, padlen = 0; headroom 346 drivers/usb/gadget/function/f_eem.c headroom = skb_headroom(skb); headroom 356 drivers/usb/gadget/function/f_eem.c (headroom >= EEM_HLEN) && !skb_cloned(skb)) headroom 694 drivers/vhost/net.c int headroom = vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0; headroom 696 drivers/vhost/net.c int pad = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + headroom + nvq->sock_hlen); headroom 960 fs/fs-writeback.c unsigned long filepages, headroom, dirty, writeback; headroom 962 fs/fs-writeback.c mem_cgroup_wb_stats(wb, &filepages, &headroom, &dirty, headroom 1110 include/linux/skbuff.h struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, headroom 1112 include/linux/skbuff.h static inline struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, headroom 1115 include/linux/skbuff.h return __pskb_copy_fclone(skb, headroom, gfp_mask, false); headroom 1120 include/linux/skbuff.h unsigned int headroom); headroom 3113 include/linux/skbuff.h static inline int __skb_cow(struct sk_buff *skb, unsigned int headroom, headroom 3118 include/linux/skbuff.h if (headroom > skb_headroom(skb)) headroom 3119 include/linux/skbuff.h delta = headroom - skb_headroom(skb); headroom 3139 include/linux/skbuff.h static inline int skb_cow(struct sk_buff *skb, unsigned int headroom) headroom 3141 include/linux/skbuff.h return __skb_cow(skb, headroom, skb_cloned(skb)); headroom 3154 include/linux/skbuff.h static inline int skb_cow_head(struct sk_buff *skb, unsigned int headroom) headroom 3156 include/linux/skbuff.h return __skb_cow(skb, headroom, skb_header_cloned(skb)); headroom 4346 include/linux/skbuff.h int new_headroom, headroom; headroom 4349 include/linux/skbuff.h headroom = skb_headroom(skb); headroom 4355 include/linux/skbuff.h SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); headroom 14 include/linux/virtio_caif.h u16 headroom; headroom 70 include/net/caif/caif_dev.h int *headroom, int *tailroom); headroom 533 include/net/dst.h int headroom) headroom 537 include/net/dst.h if (skb->len > encap_mtu - headroom) headroom 538 include/net/dst.h skb_dst_update_pmtu_no_confirm(skb, encap_mtu - headroom); headroom 28 include/net/lwtunnel.h __u16 headroom; headroom 102 include/net/lwtunnel.h lwtunnel_output_redirect(lwtstate)) && lwtstate->headroom < mtu) headroom 103 include/net/lwtunnel.h return lwtstate->headroom; headroom 78 include/net/xdp.h u16 headroom; headroom 102 include/net/xdp.h int headroom; headroom 108 include/net/xdp.h headroom = xdp->data - xdp->data_hard_start; headroom 111 include/net/xdp.h if (unlikely((headroom - metasize) < sizeof(*xdp_frame))) headroom 119 include/net/xdp.h xdp_frame->headroom = headroom - sizeof(*xdp_frame); headroom 50 include/net/xdp_sock.h u32 headroom; headroom 71 include/uapi/linux/if_xdp.h __u32 headroom; headroom 65 include/uapi/linux/xdp_diag.h __u32 headroom; headroom 172 kernel/bpf/cpumap.c hard_start_headroom = sizeof(struct xdp_frame) + xdpf->headroom; headroom 6805 lib/test_bpf.c u32 headroom = NET_SKB_PAD + NET_IP_ALIGN + ETH_HLEN; headroom 6820 lib/test_bpf.c skb[i] = dev_alloc_skb(headroom + data_size); headroom 6828 lib/test_bpf.c skb_reserve(skb[i], headroom); headroom 733 mm/page-writeback.c unsigned long filepages, unsigned long headroom) headroom 740 mm/page-writeback.c mdtc->avail = filepages + min(headroom, other_clean); headroom 1616 mm/page-writeback.c unsigned long filepages, headroom, writeback; headroom 1622 mm/page-writeback.c mem_cgroup_wb_stats(wb, &filepages, &headroom, headroom 1625 mm/page-writeback.c mdtc_calc_avail(mdtc, filepages, headroom); headroom 1953 mm/page-writeback.c unsigned long filepages, headroom, writeback; headroom 1955 mm/page-writeback.c mem_cgroup_wb_stats(wb, &filepages, &headroom, &mdtc->dirty, headroom 1957 mm/page-writeback.c mdtc_calc_avail(mdtc, filepages, headroom); headroom 330 net/ax25/ax25_out.c int headroom; headroom 337 net/ax25/ax25_out.c headroom = ax25_addr_size(ax25->digipeat); headroom 339 net/ax25/ax25_out.c if (skb_headroom(skb) < headroom) { headroom 340 net/ax25/ax25_out.c if ((skbn = skb_realloc_headroom(skb, headroom)) == NULL) { headroom 353 net/ax25/ax25_out.c ptr = skb_push(skb, headroom); headroom 109 net/bpf/test_run.c u32 headroom, u32 tailroom) headroom 114 net/bpf/test_run.c if (size < ETH_HLEN || size > PAGE_SIZE - headroom - tailroom) headroom 117 net/bpf/test_run.c data = kzalloc(size + headroom + tailroom, GFP_USER); headroom 121 net/bpf/test_run.c if (copy_from_user(data + headroom, data_in, size)) { headroom 53 net/caif/caif_socket.c int headroom, tailroom, maxframe; headroom 563 net/caif/caif_socket.c buffer_size = len + cf_sk->headroom + cf_sk->tailroom; headroom 571 net/caif/caif_socket.c skb_reserve(skb, cf_sk->headroom); headroom 631 net/caif/caif_socket.c size + cf_sk->headroom + headroom 638 net/caif/caif_socket.c skb_reserve(skb, cf_sk->headroom); headroom 751 net/caif/caif_socket.c int ifindex, headroom, tailroom; headroom 833 net/caif/caif_socket.c &cf_sk->layer, &ifindex, &headroom, &tailroom); headroom 848 net/caif/caif_socket.c cf_sk->headroom = LL_RESERVED_SPACE_EXTRA(dev, headroom); headroom 853 net/caif/caif_socket.c cf_sk->maxframe = mtu - (headroom + tailroom); headroom 263 net/caif/chnl_net.c int llifindex, headroom, tailroom, mtu; headroom 276 net/caif/chnl_net.c &headroom, &tailroom); headroom 294 net/caif/chnl_net.c dev->hard_header_len = headroom + lldev->hard_header_len + headroom 304 net/caif/chnl_net.c mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); headroom 423 net/core/lwt_bpf.c u32 headroom = nla_get_u32(tb[LWT_BPF_XMIT_HEADROOM]); headroom 425 net/core/lwt_bpf.c if (headroom > LWT_BPF_MAX_HEADROOM) { headroom 430 net/core/lwt_bpf.c newts->headroom = headroom; headroom 726 net/core/skbuff.c int headroom, tailroom; headroom 737 net/core/skbuff.c headroom = skb_headroom(skb); headroom 748 net/core/skbuff.c level, skb->len, headroom, skb_headlen(skb), tailroom, headroom 768 net/core/skbuff.c if (full_pkt && headroom) headroom 770 net/core/skbuff.c 16, 1, skb->head, headroom, false); headroom 1548 net/core/skbuff.c struct sk_buff *__pskb_copy_fclone(struct sk_buff *skb, int headroom, headroom 1551 net/core/skbuff.c unsigned int size = skb_headlen(skb) + headroom; headroom 1559 net/core/skbuff.c skb_reserve(n, headroom); headroom 1701 net/core/skbuff.c struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) headroom 1704 net/core/skbuff.c int delta = headroom - skb_headroom(skb); headroom 3663 net/core/skbuff.c unsigned int headroom; headroom 3743 net/core/skbuff.c headroom = skb_headroom(head_skb); headroom 3800 net/core/skbuff.c if (skb_cow_head(nskb, doffset + headroom)) { headroom 3809 net/core/skbuff.c nskb = __alloc_skb(hsize + doffset + headroom, headroom 3816 net/core/skbuff.c skb_reserve(nskb, headroom); headroom 3828 net/core/skbuff.c skb_headers_offset_update(nskb, skb_headroom(nskb) - headroom); headroom 496 net/core/xdp.c xdpf->headroom = 0; headroom 214 net/decnet/dn_neigh.c int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3; headroom 220 net/decnet/dn_neigh.c if (skb_headroom(skb) < headroom) { headroom 221 net/decnet/dn_neigh.c struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); headroom 262 net/decnet/dn_neigh.c int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; headroom 268 net/decnet/dn_neigh.c if (skb_headroom(skb) < headroom) { headroom 269 net/decnet/dn_neigh.c struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); headroom 305 net/decnet/dn_neigh.c int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; headroom 310 net/decnet/dn_neigh.c if (skb_headroom(skb) < headroom) { headroom 311 net/decnet/dn_neigh.c struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); headroom 547 net/ipv4/ip_tunnel.c u32 headroom = sizeof(struct iphdr); headroom 618 net/ipv4/ip_tunnel.c headroom += LL_RESERVED_SPACE(rt->dst.dev) + rt->dst.header_len; headroom 619 net/ipv4/ip_tunnel.c if (headroom > dev->needed_headroom) headroom 620 net/ipv4/ip_tunnel.c dev->needed_headroom = headroom; headroom 452 net/ipv6/seg6_iptunnel.c newts->headroom = seg6_lwt_headroom(tuninfo); headroom 58 net/ipv6/seg6_local.c int headroom; headroom 666 net/ipv6/seg6_local.c slwt->headroom += len; headroom 941 net/ipv6/seg6_local.c slwt->headroom += desc->static_headroom; headroom 993 net/ipv6/seg6_local.c newts->headroom = slwt->headroom; headroom 1065 net/iucv/af_iucv.c size_t headroom = 0; headroom 1145 net/iucv/af_iucv.c headroom = sizeof(struct af_iucv_trans_hdr) + headroom 1155 net/iucv/af_iucv.c headroom = sizeof(struct iucv_array) * headroom 1157 net/iucv/af_iucv.c linear = PAGE_SIZE - headroom; headroom 1160 net/iucv/af_iucv.c skb = sock_alloc_send_pskb(sk, headroom + linear, len - linear, headroom 1164 net/iucv/af_iucv.c if (headroom) headroom 1165 net/iucv/af_iucv.c skb_reserve(skb, headroom); headroom 1269 net/iucv/af_iucv.c size_t headroom, linear; headroom 1274 net/iucv/af_iucv.c headroom = 0; headroom 1277 net/iucv/af_iucv.c headroom = sizeof(struct iucv_array) * (MAX_SKB_FRAGS + 1); headroom 1278 net/iucv/af_iucv.c linear = PAGE_SIZE - headroom; headroom 1280 net/iucv/af_iucv.c skb = alloc_skb_with_frags(headroom + linear, len - linear, headroom 1286 net/iucv/af_iucv.c if (headroom) headroom 1287 net/iucv/af_iucv.c skb_reserve(skb, headroom); headroom 1063 net/l2tp/l2tp_core.c int headroom; headroom 1072 net/l2tp/l2tp_core.c headroom = NET_SKB_PAD + sizeof(struct iphdr) + headroom 1074 net/l2tp/l2tp_core.c if (skb_cow_head(skb, headroom)) { headroom 357 net/l2tp/l2tp_ppp.c int uhlen, headroom; headroom 370 net/l2tp/l2tp_ppp.c headroom = NET_SKB_PAD + headroom 375 net/l2tp/l2tp_ppp.c if (skb_cow_head(skb, headroom)) headroom 1992 net/mac80211/tx.c int headroom; headroom 1997 net/mac80211/tx.c headroom = local->tx_headroom; headroom 1999 net/mac80211/tx.c headroom += sdata->encrypt_headroom; headroom 2000 net/mac80211/tx.c headroom -= skb_headroom(skb); headroom 2001 net/mac80211/tx.c headroom = max_t(int, 0, headroom); headroom 2003 net/mac80211/tx.c if (ieee80211_skb_resize(sdata, skb, headroom, may_encrypt)) { headroom 3146 net/mac80211/tx.c struct sk_buff *skb, int headroom) headroom 3148 net/mac80211/tx.c if (skb_headroom(skb) < headroom) { headroom 3151 net/mac80211/tx.c if (pskb_expand_head(skb, headroom, 0, GFP_ATOMIC)) { headroom 3605 net/mac80211/util.c int headroom = IEEE80211_ENCRYPT_HEADROOM; headroom 3612 net/mac80211/util.c if (cs && headroom < cs->hdr_len) headroom 3613 net/mac80211/util.c headroom = cs->hdr_len; headroom 3617 net/mac80211/util.c if (cs && headroom < cs->hdr_len) headroom 3618 net/mac80211/util.c headroom = cs->hdr_len; headroom 3620 net/mac80211/util.c return headroom; headroom 215 net/mpls/mpls_iptunnel.c newts->headroom = mpls_encap_size(tun_encap_info); headroom 343 net/xdp/xdp_umem.c u32 chunk_size = mr->chunk_size, headroom = mr->headroom; headroom 389 net/xdp/xdp_umem.c if (headroom >= chunk_size - XDP_PACKET_HEADROOM) headroom 396 net/xdp/xdp_umem.c umem->headroom = headroom; headroom 397 net/xdp/xdp_umem.c umem->chunk_size_nohr = chunk_size - headroom; headroom 144 net/xdp/xsk.c u64 offset = xs->umem->headroom; headroom 226 net/xdp/xsk.c u64 offset = xs->umem->headroom; headroom 731 net/xdp/xsk.c __u32 headroom; headroom 59 net/xdp/xsk_diag.c du.chunk_size = umem->chunk_size_nohr + umem->headroom; headroom 60 net/xdp/xsk_diag.c du.headroom = umem->headroom; headroom 69 samples/bpf/xdp_adjust_tail_kern.c int headroom = (int)sizeof(struct iphdr) + (int)sizeof(struct icmphdr); headroom 71 samples/bpf/xdp_adjust_tail_kern.c if (bpf_xdp_adjust_head(xdp, 0 - headroom)) headroom 76 samples/bpf/xdp_adjust_tail_kern.c if (data + (ICMP_TOOBIG_SIZE + headroom) > data_end) headroom 85 samples/bpf/xdp_adjust_tail_kern.c orig_eth = data + headroom; headroom 107 samples/bpf/xdp_adjust_tail_kern.c ICMP_TOOBIG_SIZE + headroom - sizeof(struct ethhdr)); headroom 71 tools/include/uapi/linux/if_xdp.h __u32 headroom; headroom 236 tools/lib/bpf/xsk.c mr.headroom = umem->config.frame_headroom;