Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dusb.c478 int head_room, drv_flags = dev->drv->drv_flags; in mt76u_build_rx_skb() local
481 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_build_rx_skb()
482 if (SKB_WITH_OVERHEAD(buf_size) < head_room + len) { in mt76u_build_rx_skb()
492 skb_put_data(skb, data + head_room, MT_SKB_HEAD_LEN); in mt76u_build_rx_skb()
493 data += head_room + MT_SKB_HEAD_LEN; in mt76u_build_rx_skb()
507 skb_reserve(skb, head_room); in mt76u_build_rx_skb()
519 int len, nsgs = 1, head_room, drv_flags = dev->drv->drv_flags; in mt76u_process_rx_entry() local
529 head_room = drv_flags & MT_DRV_RX_DMA_HDR ? 0 : MT_DMA_HDR_LEN; in mt76u_process_rx_entry()
530 data_len = min_t(int, len, data_len - head_room); in mt76u_process_rx_entry()
/linux-6.1.9/include/net/caif/
Dcfcnfg.h70 bool fcs, int head_room);
Dcaif_dev.h123 struct cflayer *link_support, int head_room,
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpni-cmd.h247 __le16 head_room; member
262 __le16 head_room; member
Ddpni.c643 layout->data_head_room = le16_to_cpu(rsp_params->head_room); in dpni_get_buffer_layout()
682 cmd_params->head_room = cpu_to_le16(layout->data_head_room); in dpni_set_buffer_layout()
/linux-6.1.9/net/ipv6/
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.1.9/net/core/
Dfilter.c3742 static inline int __bpf_skb_change_head(struct sk_buff *skb, u32 head_room, in __bpf_skb_change_head() argument
3746 u32 new_len = skb->len + head_room; in __bpf_skb_change_head()
3753 ret = skb_cow(skb, head_room); in __bpf_skb_change_head()
3764 __skb_push(skb, head_room); in __bpf_skb_change_head()
3765 memset(skb->data, 0, head_room); in __bpf_skb_change_head()
3773 BPF_CALL_3(bpf_skb_change_head, struct sk_buff *, skb, u32, head_room, in BPF_CALL_3() argument
3776 int ret = __bpf_skb_change_head(skb, head_room, flags); in BPF_CALL_3()
3791 BPF_CALL_3(sk_skb_change_head, struct sk_buff *, skb, u32, head_room, in BPF_CALL_3() argument
3794 return __bpf_skb_change_head(skb, head_room, flags); in BPF_CALL_3()