Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
Dmain.c112 int tailroom; in nfcmrvl_nci_register_dev() local
138 tailroom = 1; in nfcmrvl_nci_register_dev()
140 headroom = tailroom = 0; in nfcmrvl_nci_register_dev()
154 headroom, tailroom); in nfcmrvl_nci_register_dev()
/kernel/linux/linux-5.10/drivers/net/usb/
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()
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()
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.c221 int tailroom = skb_tailroom(skb); in asix_tx_fixup() local
242 headroom + tailroom >= 4 + padlen) { in asix_tx_fixup()
245 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()
/kernel/linux/linux-5.10/net/bpf/
Dtest_run.c179 u32 headroom, u32 tailroom) in bpf_test_init() argument
185 if (size < ETH_HLEN || size > PAGE_SIZE - headroom - tailroom) in bpf_test_init()
191 data = kzalloc(size + headroom + tailroom, GFP_USER); in bpf_test_init()
627 u32 tailroom = SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); in bpf_prog_test_run_xdp() local
645 max_data_sz = 4096 - headroom - tailroom; in bpf_prog_test_run_xdp()
647 data = bpf_test_init(kattr, max_data_sz, headroom, tailroom); in bpf_prog_test_run_xdp()
655 xdp.frame_sz = headroom + max_data_sz + tailroom; in bpf_prog_test_run_xdp()
/kernel/linux/linux-5.10/include/linux/
Dvirtio_caif.h15 __virtio16 tailroom; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_tail.c65 int tailroom = 320; /* SKB_DATA_ALIGN(sizeof(struct skb_shared_info))*/; in test_xdp_adjust_tail_grow2() local
111 max_grow = 4096 - XDP_PACKET_HEADROOM - tailroom; /* 3520 */ in test_xdp_adjust_tail_grow2()
/kernel/linux/linux-5.10/net/caif/
Dcaif_socket.c53 int headroom, tailroom, maxframe; member
564 buffer_size = len + cf_sk->headroom + cf_sk->tailroom; in caif_seqpkt_sendmsg()
633 cf_sk->tailroom, in caif_stream_sendmsg()
752 int ifindex, headroom, tailroom; in caif_connect() local
834 &cf_sk->layer, &ifindex, &headroom, &tailroom); in caif_connect()
853 cf_sk->tailroom = tailroom; in caif_connect()
854 cf_sk->maxframe = mtu - (headroom + tailroom); in caif_connect()
Dchnl_net.c250 int llifindex, headroom, tailroom, mtu; in chnl_net_open() local
263 &headroom, &tailroom); in chnl_net_open()
280 dev->needed_tailroom = tailroom + lldev->needed_tailroom; in chnl_net_open()
291 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
/kernel/linux/linux-5.10/include/net/caif/
Dcaif_dev.h70 int *headroom, int *tailroom);
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
Dp54.h53 u8 tailroom; member
180 u8 tailroom; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmcu.c13 int length = ops->headroom + data_len + ops->tailroom; in mt76_mcu_msg_alloc()
Dmt76x02_usb_mcu.c298 .tailroom = 8, in mt76x02u_init_mcu()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dusb_mcu.c57 .tailroom = MT_USB_TAIL_SIZE, in mt7663u_mcu_init()
Dsdio_mcu.c128 .tailroom = MT_USB_TAIL_SIZE, in mt7663s_mcu_init()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_eem.c345 int headroom, tailroom, padlen = 0; in eem_wrap() local
353 tailroom = skb_tailroom(skb); in eem_wrap()
361 if ((tailroom >= (ETH_FCS_LEN + padlen)) && in eem_wrap()
/kernel/linux/linux-5.10/net/batman-adv/
Dfragmentation.c411 unsigned int tailroom = net_dev->needed_tailroom; in batadv_frag_create() local
416 skb_fragment = dev_alloc_skb(ll_reserved + mtu + tailroom); in batadv_frag_create()
/kernel/linux/linux-5.10/net/tipc/
Dnetlink_compat.c79 int tailroom; in tipc_skb_tailroom() local
82 tailroom = skb_tailroom(skb); in tipc_skb_tailroom()
85 if (tailroom < limit) in tipc_skb_tailroom()
86 return tailroom; in tipc_skb_tailroom()
/kernel/linux/linux-5.10/drivers/net/caif/
Dcaif_virtio.c688 virtio_cread(vdev, struct virtio_caif_transf_config, tailroom, in cfv_probe()
690 virtio_cread(vdev, struct virtio_caif_transf_config, tailroom, in cfv_probe()

12