Home
last modified time | relevance | path

Searched refs:hlen (Results 226 - 250 of 343) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/drivers/rpmsg/
H A Dqcom_glink_native.c307 const void *hdr, size_t hlen, in qcom_glink_tx_write()
310 glink->tx_pipe->write(glink->tx_pipe, hdr, hlen, data, dlen); in qcom_glink_tx_write()
332 const void *hdr, size_t hlen, in qcom_glink_tx()
335 unsigned int tlen = hlen + dlen; in qcom_glink_tx()
378 qcom_glink_tx_write(glink, hdr, hlen, data, dlen); in qcom_glink_tx()
306 qcom_glink_tx_write(struct qcom_glink *glink, const void *hdr, size_t hlen, const void *data, size_t dlen) qcom_glink_tx_write() argument
331 qcom_glink_tx(struct qcom_glink *glink, const void *hdr, size_t hlen, const void *data, size_t dlen, bool wait) qcom_glink_tx() argument
/kernel/linux/linux-6.6/drivers/net/ieee802154/
H A Dca8210.c1762 int hlen; in ca8210_skb_rx() local
1821 hlen = ieee802154_hdr_push(skb, &hdr); in ca8210_skb_rx()
1823 if (hlen < 0) { in ca8210_skb_rx()
1826 return hlen; in ca8210_skb_rx()
1830 skb->mac_len = hlen; in ca8210_skb_rx()
/kernel/linux/linux-6.6/net/wireless/
H A Dutil.c741 __ieee80211_amsdu_copy(struct sk_buff *skb, unsigned int hlen, in __ieee80211_amsdu_copy() argument
763 frame = dev_alloc_skb(hlen + sizeof(struct ethhdr) + 2 + cur_len); in __ieee80211_amsdu_copy()
768 skb_reserve(frame, hlen + sizeof(struct ethhdr) + 2); in __ieee80211_amsdu_copy()
832 unsigned int hlen = ALIGN(extra_headroom, 4); in ieee80211_amsdu_to_8023s() local
885 frame = __ieee80211_amsdu_copy(skb, hlen, offset, len, in ieee80211_amsdu_to_8023s()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_verifier.c354 unsigned int len = 259, hlen = 128; in bpf_fill_torturous_jumps_insn_1() local
358 for (i = 1; i <= hlen; i++) { in bpf_fill_torturous_jumps_insn_1()
359 insn[i] = BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, i, hlen); in bpf_fill_torturous_jumps_insn_1()
360 insn[i + hlen] = BPF_JMP_A(hlen - i); in bpf_fill_torturous_jumps_insn_1()
/kernel/linux/linux-5.10/net/core/
H A Dskbuff.c2934 unsigned int hlen = 0; in skb_zerocopy_headlen() local
2939 hlen = skb_headlen(from); in skb_zerocopy_headlen()
2940 if (!hlen) in skb_zerocopy_headlen()
2941 hlen = from->len; in skb_zerocopy_headlen()
2945 hlen = from->len; in skb_zerocopy_headlen()
2947 return hlen; in skb_zerocopy_headlen()
2956 * @hlen: size of linear headroom in destination buffer
2961 * The `hlen` as calculated by skb_zerocopy_headlen() specifies the
2970 skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen) in skb_zerocopy() argument
2978 BUG_ON(!from->head_frag && !hlen); in skb_zerocopy()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dskbuff.c3547 unsigned int hlen = 0; in skb_zerocopy_headlen() local
3552 hlen = skb_headlen(from); in skb_zerocopy_headlen()
3553 if (!hlen) in skb_zerocopy_headlen()
3554 hlen = from->len; in skb_zerocopy_headlen()
3558 hlen = from->len; in skb_zerocopy_headlen()
3560 return hlen; in skb_zerocopy_headlen()
3569 * @hlen: size of linear headroom in destination buffer
3574 * The `hlen` as calculated by skb_zerocopy_headlen() specifies the
3583 skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len, int hlen) in skb_zerocopy() argument
3591 BUG_ON(!from->head_frag && !hlen); in skb_zerocopy()
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dmcast.c1595 int hlen = LL_RESERVED_SPACE(dev); in mld_newpack() local
1597 unsigned int size = mtu + hlen + tlen; in mld_newpack()
1609 skb_reserve(skb, hlen); in mld_newpack()
1984 int hlen = LL_RESERVED_SPACE(dev); in igmp6_send() local
2007 skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); in igmp6_send()
2017 skb_reserve(skb, hlen); in igmp6_send()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1285 unsigned int hlen, dlen, plen; in do_rx_iscsi_hdr() local
1302 hlen = ntohs(cpl->len); in do_rx_iscsi_hdr()
1309 if ((hlen + dlen) != plen) { in do_rx_iscsi_hdr()
1312 csk->tid, plen, hlen, dlen, in do_rx_iscsi_hdr()
1317 cxgbi_skcb_rx_pdulen(skb) = (hlen + dlen + 3) & (~0x3); in do_rx_iscsi_hdr()
1324 csk, skb, *bhs, hlen, dlen, in do_rx_iscsi_hdr()
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1286 unsigned int hlen, dlen, plen; in do_rx_iscsi_hdr() local
1303 hlen = ntohs(cpl->len); in do_rx_iscsi_hdr()
1310 if ((hlen + dlen) != plen) { in do_rx_iscsi_hdr()
1313 csk->tid, plen, hlen, dlen, in do_rx_iscsi_hdr()
1318 cxgbi_skcb_rx_pdulen(skb) = (hlen + dlen + 3) & (~0x3); in do_rx_iscsi_hdr()
1325 csk, skb, *bhs, hlen, dlen, in do_rx_iscsi_hdr()
/kernel/linux/linux-5.10/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c202 * @hlen: Number of bytes in haystack.
207 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument
211 if (hlen < nlen) in findstr()
214 for (i = 0; i <= hlen - nlen; i++) { in findstr()
/kernel/linux/linux-5.10/net/batman-adv/
H A Ddistributed-arp-table.c78 __u8 hlen; member
1546 __u8 hlen; in batadv_dat_check_dhcp() member
1562 dhcp_h->hlen != ETH_ALEN) in batadv_dat_check_dhcp()
/kernel/linux/linux-5.10/net/ipv4/
H A Darp.c532 int hlen = LL_RESERVED_SPACE(dev); in arp_create() local
539 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
543 skb_reserve(skb, hlen); in arp_create()
H A Daf_inet.c1460 unsigned int hlen; in inet_gro_receive() local
1467 hlen = off + sizeof(*iph); in inet_gro_receive()
1469 if (skb_gro_header_hard(skb, hlen)) { in inet_gro_receive()
1470 iph = skb_gro_header_slow(skb, hlen, off); in inet_gro_receive()
/kernel/linux/linux-6.6/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c202 * @hlen: Number of bytes in haystack.
207 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument
211 if (hlen < nlen) in findstr()
214 for (i = 0; i <= hlen - nlen; i++) { in findstr()
/kernel/linux/linux-6.6/net/batman-adv/
H A Ddistributed-arp-table.c77 __u8 hlen; member
1484 __u8 hlen; in batadv_dat_check_dhcp() member
1500 dhcp_h->hlen != ETH_ALEN) in batadv_dat_check_dhcp()
/kernel/linux/linux-6.6/net/ipv4/
H A Darp.c553 int hlen = LL_RESERVED_SPACE(dev); in arp_create() local
560 skb = alloc_skb(arp_hdr_len(dev) + hlen + tlen, GFP_ATOMIC); in arp_create()
564 skb_reserve(skb, hlen); in arp_create()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
H A Drxtx.c352 mic_hdr->hlen = cpu_to_be16(28); in vnt_fill_txkey()
354 mic_hdr->hlen = cpu_to_be16(22); in vnt_fill_txkey()
/kernel/linux/linux-6.6/drivers/staging/vt6656/
H A Drxtx.c348 mic_hdr->hlen = cpu_to_be16(28); in vnt_fill_txkey()
350 mic_hdr->hlen = cpu_to_be16(22); in vnt_fill_txkey()
/kernel/linux/linux-5.10/net/packet/
H A Daf_packet.c2528 __be16 proto, unsigned char *addr, int hlen, int copylen, in tpacket_fill_skb()
2547 skb_reserve(skb, hlen); in tpacket_fill_skb()
2690 int hlen, tlen, copylen = 0; in tpacket_snd() local
2769 hlen = LL_RESERVED_SPACE(dev); in tpacket_snd()
2785 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd()
2796 addr, hlen, copylen, &sockc); in tpacket_snd()
2910 int hlen, tlen, linear; in packet_snd() local
2974 hlen = LL_RESERVED_SPACE(dev); in packet_snd()
2978 skb = packet_alloc_skb(sk, hlen + tlen, hlen, le in packet_snd()
2526 tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, void *frame, struct net_device *dev, void *data, int tp_len, __be16 proto, unsigned char *addr, int hlen, int copylen, const struct sockcm_cookie *sockc) tpacket_fill_skb() argument
[all...]
/kernel/linux/linux-6.6/net/packet/
H A Daf_packet.c2579 __be16 proto, unsigned char *addr, int hlen, int copylen, in tpacket_fill_skb()
2598 skb_reserve(skb, hlen); in tpacket_fill_skb()
2742 int hlen, tlen, copylen = 0; in tpacket_snd() local
2821 hlen = LL_RESERVED_SPACE(dev); in tpacket_snd()
2837 hlen + tlen + sizeof(struct sockaddr_ll) + in tpacket_snd()
2848 addr, hlen, copylen, &sockc); in tpacket_snd()
2963 int hlen, tlen, linear; in packet_snd() local
3026 hlen = LL_RESERVED_SPACE(dev); in packet_snd()
3030 skb = packet_alloc_skb(sk, hlen + tlen, hlen, le in packet_snd()
2577 tpacket_fill_skb(struct packet_sock *po, struct sk_buff *skb, void *frame, struct net_device *dev, void *data, int tp_len, __be16 proto, unsigned char *addr, int hlen, int copylen, const struct sockcm_cookie *sockc) tpacket_fill_skb() argument
[all...]
/kernel/linux/linux-6.6/block/
H A Dsed-opal.c575 u32 hlen = be32_to_cpu(hdr->length); in opal_discovery0_end() local
577 print_buffer(dev->resp, hlen); in opal_discovery0_end()
580 if (hlen > IO_BUFFER_LENGTH - sizeof(*hdr)) { in opal_discovery0_end()
582 sizeof(*hdr), hlen, IO_BUFFER_LENGTH); in opal_discovery0_end()
588 len_out = min_t(u64, discv_out->size, hlen); in opal_discovery0_end()
592 discv_out->size = hlen; /* actual size of data */ in opal_discovery0_end()
595 epos += hlen; /* end of buffer */ in opal_discovery0_end()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c2764 u16_t hlen = 0; local
2793 hlen = (u16_t)(8 * (1 + *((u8_t *)udpbuf->payload + 1)));
2798 hlen = (u16_t)(8 * (1 + dest_hdr->_hlen));
2803 hlen = IP6_FRAG_HLEN;
2810 (void)pbuf_header(udpbuf, (s16_t)(-(s16_t)hlen));
2811 offset = (u16_t)(offset + hlen);
2816 offset = (u16_t)(offset - hlen);
/kernel/linux/linux-5.10/net/openvswitch/
H A Dactions.c827 unsigned int hlen = skb_network_offset(skb); in prepare_frag() local
842 data->l2_len = hlen; in prepare_frag()
843 memcpy(&data->l2_data, skb->data, hlen); in prepare_frag()
846 skb_pull(skb, hlen); in prepare_frag()
/kernel/linux/linux-5.10/net/netfilter/ipvs/
H A Dip_vs_sync.c1758 int id = 0, count, hlen; in start_sync_thread() local
1803 hlen = (AF_INET6 == c->mcast_af) ? in start_sync_thread()
1813 65535 - hlen); in start_sync_thread()
1815 c->sync_maxlen = mtu - hlen; in start_sync_thread()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_log_recover.c2910 int hlen; in xlog_valid_rec_header() local
2928 hlen = be32_to_cpu(rhead->h_len); in xlog_valid_rec_header()
2929 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header()

Completed in 74 milliseconds

12345678910>>...14