Home
last modified time | relevance | path

Searched refs:head_room (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/caif/
Dcaif_dev.c312 struct cflayer *link_support, int head_room, in caif_enroll_dev() argument
354 head_room); in caif_enroll_dev()
371 int head_room = 0; in caif_device_notify() local
391 head_room = 1; in caif_device_notify()
399 res = caif_enroll_dev(dev, caifdev, link_support, head_room, in caif_device_notify()
Dcfcnfg.c49 int head_room; member
349 *proto_head = protohead[param.linktype] + phy->head_room; in caif_connect_client()
458 bool fcs, int head_room) in cfcnfg_add_phy_layer() argument
493 phyinfo->head_room = head_room; in cfcnfg_add_phy_layer()
/kernel/linux/linux-5.10/include/net/caif/
Dcfcnfg.h70 bool fcs, int head_room);
Dcaif_dev.h123 struct cflayer *link_support, int head_room,
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dusb.c531 int head_room, drv_flags = dev->drv->drv_flags; in mt76u_build_rx_skb() local
534 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb()
535 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
545 skb_put_data(skb, data + head_room, MT_SKB_HEAD_LEN); in mt76u_build_rx_skb()
546 data += head_room + MT_SKB_HEAD_LEN; in mt76u_build_rx_skb()
560 skb_reserve(skb, head_room); in mt76u_build_rx_skb()
572 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local
582 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_process_rx_entry()
583 data_len = min_t(int, len, data_len - head_room); in mt76u_process_rx_entry()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpni-cmd.h243 __le16 head_room; member
258 __le16 head_room; member
Ddpni.c641 layout->data_head_room = le16_to_cpu(rsp_params->head_room); in dpni_get_buffer_layout()
680 cmd_params->head_room = cpu_to_le16(layout->data_head_room); in dpni_set_buffer_layout()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_output.c270 unsigned int head_room; in ip6_xmit() local
277 head_room = sizeof(struct ipv6hdr) + LL_RESERVED_SPACE(dst->dev); in ip6_xmit()
279 head_room += opt->opt_nflen + opt->opt_flen; in ip6_xmit()
281 if (unlikely(skb_headroom(skb) < head_room)) { in ip6_xmit()
282 struct sk_buff *skb2 = skb_realloc_headroom(skb, head_room); in ip6_xmit()
/kernel/linux/linux-5.10/net/core/
Dfilter.c3772 static inline int __bpf_skb_change_head(struct sk_buff *skb, u32 head_room, in __bpf_skb_change_head() argument
3776 u32 new_len = skb->len + head_room; in __bpf_skb_change_head()
3783 ret = skb_cow(skb, head_room); in __bpf_skb_change_head()
3794 __skb_push(skb, head_room); in __bpf_skb_change_head()
3795 memset(skb->data, 0, head_room); in __bpf_skb_change_head()
3803 BPF_CALL_3(bpf_skb_change_head, struct sk_buff *, skb, u32, head_room, in BPF_CALL_3() argument
3806 int ret = __bpf_skb_change_head(skb, head_room, flags); in BPF_CALL_3()
3821 BPF_CALL_3(sk_skb_change_head, struct sk_buff *, skb, u32, head_room, in BPF_CALL_3() argument
3824 int ret = __bpf_skb_change_head(skb, head_room, flags); in BPF_CALL_3()