/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_adjust_tail_grow.c | 12 int tailroom = 512; in _xdp_adjust_tail_grow() local 14 int tailroom = 320; in _xdp_adjust_tail_grow() local 27 offset = 4096 - 256 - tailroom - data_len; in _xdp_adjust_tail_grow()
|
/openbmc/linux/drivers/nfc/nfcmrvl/ |
H A D | main.c | 101 int tailroom; in nfcmrvl_nci_register_dev() local 127 tailroom = 1; in nfcmrvl_nci_register_dev() 129 headroom = tailroom = 0; in nfcmrvl_nci_register_dev() 143 headroom, tailroom); in nfcmrvl_nci_register_dev()
|
/openbmc/linux/drivers/net/usb/ |
H A D | gl620a.c | 141 int tailroom = skb_tailroom(skb); in genelink_tx_fixup() local 149 && ((headroom + tailroom) >= (padlen + (4 + 4*1)))) { in genelink_tx_fixup() 150 if ((headroom < (4 + 4*1)) || (tailroom < padlen)) { in genelink_tx_fixup()
|
H A D | int51x1.c | 60 int tailroom = skb_tailroom(skb); in int51x1_tx_fixup() local 76 (headroom + tailroom >= need_tail + INT51X1_HEADER_SIZE)) { in int51x1_tx_fixup() 77 if (headroom < INT51X1_HEADER_SIZE || tailroom < need_tail) { in int51x1_tx_fixup()
|
H A D | cdc_eem.c | 108 int tailroom = skb_tailroom(skb); in eem_tx_fixup() local 110 if ((tailroom >= ETH_FCS_LEN + padlen) && in eem_tx_fixup() 114 if ((headroom + tailroom) in eem_tx_fixup()
|
H A D | kalmia.c | 168 int tailroom = skb_tailroom(skb); in kalmia_tx_fixup() local 170 if ((tailroom >= KALMIA_ALIGN_SIZE) && (headroom in kalmia_tx_fixup() 174 if ((headroom + tailroom) > (KALMIA_HEADER_LENGTH in kalmia_tx_fixup()
|
H A D | lg-vl600.c | 250 int tailroom = skb_tailroom(skb); in vl600_tx_fixup() local 252 if (tailroom >= full_len - skb->len - sizeof(*frame) && in vl600_tx_fixup() 257 if (headroom + tailroom + skb->len >= full_len) { in vl600_tx_fixup()
|
H A D | net1080.c | 426 int tailroom = skb_tailroom(skb); in net1080_tx_fixup() local 428 if (padlen <= tailroom && in net1080_tx_fixup() 434 (headroom + tailroom)) { in net1080_tx_fixup()
|
H A D | zaurus.c | 52 int tailroom = skb_tailroom(skb); in zaurus_tx_fixup() local 53 if ((padlen + 4) <= tailroom) in zaurus_tx_fixup()
|
H A D | asix_common.c | 270 int tailroom = skb_tailroom(skb); in asix_tx_fixup() local 291 headroom + tailroom >= 4 + padlen) { in asix_tx_fixup() 294 tailroom < padlen) { in asix_tx_fixup()
|
H A D | sr9800.c | 114 int tailroom = skb_tailroom(skb); in sr_tx_fixup() local 122 if ((!skb_cloned(skb)) && ((headroom + tailroom) >= (4 + padlen))) { in sr_tx_fixup() 123 if ((headroom < 4) || (tailroom < padlen)) { in sr_tx_fixup()
|
/openbmc/linux/include/net/bluetooth/ |
H A D | bluetooth.h | 529 size_t headroom, size_t tailroom) in bt_skb_sendmsg() argument 535 skb = bt_skb_send_alloc(sk, size + headroom + tailroom, in bt_skb_sendmsg() 541 skb_tailroom_reserve(skb, mtu, tailroom); in bt_skb_sendmsg() 559 size_t headroom, size_t tailroom) in bt_skb_sendmmsg() argument 563 skb = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); in bt_skb_sendmmsg() 576 tmp = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); in bt_skb_sendmmsg()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_adjust_tail.c | 84 int tailroom = 512; in test_xdp_adjust_tail_grow2() local 86 int tailroom = 320; in test_xdp_adjust_tail_grow2() local 126 max_grow = 4096 - XDP_PACKET_HEADROOM - tailroom; /* 3520 */ in test_xdp_adjust_tail_grow2()
|
/openbmc/linux/net/caif/ |
H A D | caif_socket.c | 54 int headroom, tailroom, maxframe; member 555 buffer_size = len + cf_sk->headroom + cf_sk->tailroom; in caif_seqpkt_sendmsg() 624 cf_sk->tailroom, in caif_stream_sendmsg() 743 int ifindex, headroom, tailroom; in caif_connect() local 825 &cf_sk->layer, &ifindex, &headroom, &tailroom); in caif_connect() 844 cf_sk->tailroom = tailroom; in caif_connect() 845 cf_sk->maxframe = mtu - (headroom + tailroom); in caif_connect()
|
H A D | chnl_net.c | 245 int llifindex, headroom, tailroom, mtu; in chnl_net_open() local 258 &headroom, &tailroom); in chnl_net_open() 275 dev->needed_tailroom = tailroom + lldev->needed_tailroom; in chnl_net_open() 286 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
|
/openbmc/linux/include/linux/ |
H A D | virtio_caif.h | 15 __virtio16 tailroom; member
|
/openbmc/linux/drivers/net/wireless/intersil/p54/ |
H A D | p54.h | 53 u8 tailroom; member 180 u8 tailroom; member
|
/openbmc/linux/include/net/caif/ |
H A D | caif_dev.h | 70 int *headroom, int *tailroom);
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | usb_mcu.c | 69 .tailroom = MT_USB_TAIL_SIZE, in mt7663u_mcu_init()
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_eem.c | 343 int headroom, tailroom, padlen = 0; in eem_wrap() local 351 tailroom = skb_tailroom(skb); in eem_wrap() 359 if ((tailroom >= (ETH_FCS_LEN + padlen)) && in eem_wrap()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 628 u32 size, u32 headroom, u32 tailroom) in BTF_ID_FLAGS() 633 if (size < ETH_HLEN || size > PAGE_SIZE - headroom - tailroom) in BTF_ID_FLAGS() 640 data = kzalloc(size + headroom + tailroom, GFP_USER); in BTF_ID_FLAGS() 1149 u32 tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bpf_prog_test_run_xdp() local 1198 max_data_sz = 4096 - headroom - tailroom; in bpf_prog_test_run_xdp() 1206 data = bpf_test_init(kattr, size, max_data_sz, headroom, tailroom); in bpf_prog_test_run_xdp() 1213 rxqueue->xdp_rxq.frag_size = headroom + max_data_sz + tailroom; in bpf_prog_test_run_xdp()
|
/openbmc/linux/net/batman-adv/ |
H A D | fragmentation.c | 408 unsigned int tailroom = net_dev->needed_tailroom; in batadv_frag_create() local 413 skb_fragment = dev_alloc_skb(ll_reserved + mtu + tailroom); in batadv_frag_create()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mcu.c | 16 len = ops->headroom + len + ops->tailroom; in __mt76_mcu_msg_alloc()
|
/openbmc/linux/drivers/net/ |
H A D | virtio_net.c | 517 int tailroom, shinfo_size; in page_to_skb() local 533 tailroom = truesize - headroom - hdr_padded_len - len; in page_to_skb() 538 if (!NET_IP_ALIGN && len > GOOD_COPY_LEN && tailroom >= shinfo_size) { in page_to_skb() 1094 int tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in xdp_linearize_page() local 1097 if (page_off + *len + tailroom > PAGE_SIZE) in xdp_linearize_page() 1122 if ((page_off + buflen + tailroom) > PAGE_SIZE) { in xdp_linearize_page() 1416 unsigned int headroom, tailroom, room; in virtnet_build_xdp_buff_mrg() local 1464 tailroom = headroom ? sizeof(struct skb_shared_info) : 0; in virtnet_build_xdp_buff_mrg() 1465 room = SKB_DATA_ALIGN(headroom + tailroom); in virtnet_build_xdp_buff_mrg() 1647 unsigned int tailroom = headroom ? sizeof(struct skb_shared_info) : 0; in receive_mergeable() local [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | sdio_mcu.c | 79 .tailroom = MT_SDIO_TAIL_SIZE, in mt7921s_mcu_init()
|