Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/caif/
A 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()
A 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()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dusb.c477 int head_room, drv_flags = dev->drv->drv_flags; in mt76u_build_rx_skb() local
480 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb()
481 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
491 skb_put_data(skb, data + head_room, MT_SKB_HEAD_LEN); in mt76u_build_rx_skb()
492 data += head_room + MT_SKB_HEAD_LEN; in mt76u_build_rx_skb()
506 skb_reserve(skb, head_room); in mt76u_build_rx_skb()
518 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local
528 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_process_rx_entry()
529 data_len = min_t(int, len, data_len - head_room); in mt76u_process_rx_entry()
/linux-6.3-rc2/include/net/caif/
A Dcfcnfg.h70 bool fcs, int head_room);
A Dcaif_dev.h123 struct cflayer *link_support, int head_room,
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpni-cmd.h254 __le16 head_room; member
269 __le16 head_room; member
A Ddpni.c647 layout->data_head_room = le16_to_cpu(rsp_params->head_room); in dpni_get_buffer_layout()
686 cmd_params->head_room = cpu_to_le16(layout->data_head_room); in dpni_set_buffer_layout()
/linux-6.3-rc2/net/ipv6/
A Dip6_output.c259 unsigned int head_room; in ip6_xmit() local
266 head_room = sizeof(struct ipv6hdr) + hoplen + LL_RESERVED_SPACE(dev); in ip6_xmit()
268 head_room += opt->opt_nflen + opt->opt_flen; in ip6_xmit()
270 if (unlikely(head_room > skb_headroom(skb))) { in ip6_xmit()
271 skb = skb_expand_head(skb, head_room); in ip6_xmit()
/linux-6.3-rc2/net/core/
A Dfilter.c3767 static inline int __bpf_skb_change_head(struct sk_buff *skb, u32 head_room, in __bpf_skb_change_head() argument
3771 u32 new_len = skb->len + head_room; in __bpf_skb_change_head()
3778 ret = skb_cow(skb, head_room); in __bpf_skb_change_head()
3789 __skb_push(skb, head_room); in __bpf_skb_change_head()
3790 memset(skb->data, 0, head_room); in __bpf_skb_change_head()
3798 BPF_CALL_3(bpf_skb_change_head, struct sk_buff *, skb, u32, head_room, in BPF_CALL_3() argument
3801 int ret = __bpf_skb_change_head(skb, head_room, flags); in BPF_CALL_3()
3816 BPF_CALL_3(sk_skb_change_head, struct sk_buff *, skb, u32, head_room, in BPF_CALL_3() argument
3819 return __bpf_skb_change_head(skb, head_room, flags); in BPF_CALL_3()

Completed in 41 milliseconds