Home
last modified time | relevance | path

Searched refs:tailroom (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_xdp_adjust_tail_grow.c12 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()
/linux-6.6.21/drivers/nfc/nfcmrvl/
Dmain.c101 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()
/linux-6.6.21/drivers/net/usb/
Dgl620a.c141 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()
Dint51x1.c60 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()
Dcdc_eem.c108 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()
Dkalmia.c168 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()
Dlg-vl600.c250 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()
Dzaurus.c52 int tailroom = skb_tailroom(skb); in zaurus_tx_fixup() local
53 if ((padlen + 4) <= tailroom) in zaurus_tx_fixup()
Dnet1080.c426 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()
Dasix_common.c270 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()
Dsr9800.c114 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()
/linux-6.6.21/include/net/bluetooth/
Dbluetooth.h525 size_t headroom, size_t tailroom) in bt_skb_sendmsg() argument
531 skb = bt_skb_send_alloc(sk, size + headroom + tailroom, in bt_skb_sendmsg()
537 skb_tailroom_reserve(skb, mtu, tailroom); in bt_skb_sendmsg()
555 size_t headroom, size_t tailroom) in bt_skb_sendmmsg() argument
559 skb = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); in bt_skb_sendmmsg()
572 tmp = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); in bt_skb_sendmmsg()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_tail.c84 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()
/linux-6.6.21/net/caif/
Dcaif_socket.c54 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()
Dchnl_net.c245 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()
/linux-6.6.21/include/linux/
Dvirtio_caif.h15 __virtio16 tailroom; member
/linux-6.6.21/drivers/net/wireless/intersil/p54/
Dp54.h53 u8 tailroom; member
180 u8 tailroom; member
/linux-6.6.21/include/net/caif/
Dcaif_dev.h70 int *headroom, int *tailroom);
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dusb_mcu.c69 .tailroom = MT_USB_TAIL_SIZE, in mt7663u_mcu_init()
/linux-6.6.21/drivers/usb/gadget/function/
Df_eem.c343 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()
/linux-6.6.21/net/bpf/
Dtest_run.c627 u32 size, u32 headroom, u32 tailroom) in BTF_ID_FLAGS()
632 if (size < ETH_HLEN || size > PAGE_SIZE - headroom - tailroom) in BTF_ID_FLAGS()
639 data = kzalloc(size + headroom + tailroom, GFP_USER); in BTF_ID_FLAGS()
1142 u32 tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bpf_prog_test_run_xdp() local
1191 max_data_sz = 4096 - headroom - tailroom; in bpf_prog_test_run_xdp()
1199 data = bpf_test_init(kattr, size, max_data_sz, headroom, tailroom); in bpf_prog_test_run_xdp()
1206 rxqueue->xdp_rxq.frag_size = headroom + max_data_sz + tailroom; in bpf_prog_test_run_xdp()
/linux-6.6.21/net/batman-adv/
Dfragmentation.c408 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()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmcu.c16 len = ops->headroom + len + ops->tailroom; in __mt76_mcu_msg_alloc()
/linux-6.6.21/drivers/net/
Dvirtio_net.c517 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()
1097 int tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in xdp_linearize_page() local
1100 if (page_off + *len + tailroom > PAGE_SIZE) in xdp_linearize_page()
1125 if ((page_off + buflen + tailroom) > PAGE_SIZE) { in xdp_linearize_page()
1410 unsigned int headroom, tailroom, room; in virtnet_build_xdp_buff_mrg() local
1458 tailroom = headroom ? sizeof(struct skb_shared_info) : 0; in virtnet_build_xdp_buff_mrg()
1459 room = SKB_DATA_ALIGN(headroom + tailroom); in virtnet_build_xdp_buff_mrg()
1637 unsigned int tailroom = headroom ? sizeof(struct skb_shared_info) : 0; in receive_mergeable() local
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
Dsdio_mcu.c79 .tailroom = MT_SDIO_TAIL_SIZE, in mt7921s_mcu_init()

12