Home
last modified time | relevance | path

Searched refs:hlen (Results 1 - 25 of 343) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/drivers/macintosh/
H A Dwindfarm_pid.c37 int i, hlen = st->param.history_len; in wf_pid_run() local
44 for (i = 0; i < hlen; i++) { in wf_pid_run()
51 st->index = (st->index + 1) % hlen; in wf_pid_run()
57 for (i = 0, integ = 0; i < hlen; i++) in wf_pid_run()
58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run()
63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run()
92 int i, hlen = st->param.history_len; in wf_cpu_pid_run() local
99 for (i = 0; i < hlen; in wf_cpu_pid_run()
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dwindfarm_pid.c37 int i, hlen = st->param.history_len; in wf_pid_run() local
44 for (i = 0; i < hlen; i++) { in wf_pid_run()
51 st->index = (st->index + 1) % hlen; in wf_pid_run()
57 for (i = 0, integ = 0; i < hlen; i++) in wf_pid_run()
58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run()
63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run()
92 int i, hlen = st->param.history_len; in wf_cpu_pid_run() local
99 for (i = 0; i < hlen; in wf_cpu_pid_run()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dflow_dissector.c114 * @hlen: packet header length, if @data is NULL use skb_headlen(skb)
120 const void *data, int hlen) in __skb_flow_get_ports()
126 hlen = skb_headlen(skb); in __skb_flow_get_ports()
133 sizeof(_ports), data, hlen, &_ports); in __skb_flow_get_ports()
163 * @hlen: packet header length
167 const void *data, int thoff, int hlen) in skb_flow_get_icmp_tci()
171 ih = __skb_header_pointer(skb, thoff, sizeof(_ih), data, hlen, &_ih); in skb_flow_get_icmp_tci()
194 int thoff, int hlen) in __skb_flow_dissect_icmp()
205 skb_flow_get_icmp_tci(skb, key_icmp, data, thoff, hlen); in __skb_flow_dissect_icmp()
211 int nhoff, int hlen) in __skb_flow_dissect_ah()
119 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, const void *data, int hlen) __skb_flow_get_ports() argument
165 skb_flow_get_icmp_tci(const struct sk_buff *skb, struct flow_dissector_key_icmp *key_icmp, const void *data, int thoff, int hlen) skb_flow_get_icmp_tci() argument
191 __skb_flow_dissect_icmp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int thoff, int hlen) __skb_flow_dissect_icmp() argument
208 __skb_flow_dissect_ah(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_ah() argument
230 __skb_flow_dissect_esp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_esp() argument
252 __skb_flow_dissect_l2tpv3(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_l2tpv3() argument
491 __skb_flow_dissect_mpls(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen, int lse_index, bool *entropy_label) __skb_flow_dissect_mpls() argument
549 __skb_flow_dissect_arp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_arp() argument
605 __skb_flow_dissect_cfm(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) __skb_flow_dissect_cfm() argument
770 __skb_flow_dissect_batadv(const struct sk_buff *skb, struct flow_dissector_key_control *key_control, const void *data, __be16 *p_proto, int *p_nhoff, int hlen, unsigned int flags) __skb_flow_dissect_batadv() argument
802 __skb_flow_dissect_tcp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int thoff, int hlen) __skb_flow_dissect_tcp() argument
827 __skb_flow_dissect_ports(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, u8 ip_proto, int hlen) __skb_flow_dissect_ports() argument
971 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, __be16 proto, int nhoff, int hlen, unsigned int flags) bpf_flow_dissect() argument
1024 __skb_flow_dissect(const struct net *net, const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) __skb_flow_dissect() argument
1871 __skb_get_poff(const struct sk_buff *skb, const void *data, const struct flow_keys_basic *keys, int hlen) __skb_get_poff() argument
[all...]
/kernel/linux/linux-5.10/drivers/bluetooth/
H A Dh4_recv.h13 u8 hlen; /* Header length */ member
22 .hlen = HCI_ACL_HDR_SIZE, \
29 .hlen = HCI_SCO_HDR_SIZE, \
36 .hlen = HCI_EVENT_HDR_SIZE, \
66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
98 if (skb->len == (&pkts[i])->hlen) { in h4_recv_buf()
H A Dhci_uart.h118 u8 hlen; /* Header length */ member
127 .hlen = HCI_ACL_HDR_SIZE, \
134 .hlen = HCI_SCO_HDR_SIZE, \
141 .hlen = HCI_EVENT_HDR_SIZE, \
148 .hlen = HCI_ISO_HDR_SIZE, \
/kernel/linux/linux-6.6/drivers/bluetooth/
H A Dh4_recv.h13 u8 hlen; /* Header length */ member
22 .hlen = HCI_ACL_HDR_SIZE, \
29 .hlen = HCI_SCO_HDR_SIZE, \
36 .hlen = HCI_EVENT_HDR_SIZE, \
66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
98 if (skb->len == (&pkts[i])->hlen) { in h4_recv_buf()
H A Dhci_uart.h129 u8 hlen; /* Header length */ member
138 .hlen = HCI_ACL_HDR_SIZE, \
145 .hlen = HCI_SCO_HDR_SIZE, \
152 .hlen = HCI_EVENT_HDR_SIZE, \
159 .hlen = HCI_ISO_HDR_SIZE, \
/kernel/linux/linux-5.10/net/core/
H A Dflow_dissector.c110 * @hlen: packet header length, if @data is NULL use skb_headlen(skb)
116 void *data, int hlen) in __skb_flow_get_ports()
122 hlen = skb_headlen(skb); in __skb_flow_get_ports()
129 sizeof(_ports), data, hlen, &_ports); in __skb_flow_get_ports()
159 * @hlen: packet header length
163 void *data, int thoff, int hlen) in skb_flow_get_icmp_tci()
167 ih = __skb_header_pointer(skb, thoff, sizeof(_ih), data, hlen, &_ih); in skb_flow_get_icmp_tci()
190 void *data, int thoff, int hlen) in __skb_flow_dissect_icmp()
201 skb_flow_get_icmp_tci(skb, key_icmp, data, thoff, hlen); in __skb_flow_dissect_icmp()
406 void *target_container, void *data, int nhoff, int hlen, in __skb_flow_dissect_mpls()
115 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto, void *data, int hlen) __skb_flow_get_ports() argument
161 skb_flow_get_icmp_tci(const struct sk_buff *skb, struct flow_dissector_key_icmp *key_icmp, void *data, int thoff, int hlen) skb_flow_get_icmp_tci() argument
187 __skb_flow_dissect_icmp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int thoff, int hlen) __skb_flow_dissect_icmp() argument
404 __skb_flow_dissect_mpls(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int nhoff, int hlen, int lse_index, bool *entropy_label) __skb_flow_dissect_mpls() argument
462 __skb_flow_dissect_arp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int nhoff, int hlen) __skb_flow_dissect_arp() argument
658 __skb_flow_dissect_batadv(const struct sk_buff *skb, struct flow_dissector_key_control *key_control, void *data, __be16 *p_proto, int *p_nhoff, int hlen, unsigned int flags) __skb_flow_dissect_batadv() argument
690 __skb_flow_dissect_tcp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int thoff, int hlen) __skb_flow_dissect_tcp() argument
714 __skb_flow_dissect_ports(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, int nhoff, u8 ip_proto, int hlen) __skb_flow_dissect_ports() argument
856 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, __be16 proto, int nhoff, int hlen, unsigned int flags) bpf_flow_dissect() argument
904 __skb_flow_dissect(const struct net *net, const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) __skb_flow_dissect() argument
1629 __skb_get_poff(const struct sk_buff *skb, void *data, const struct flow_keys_basic *keys, int hlen) __skb_get_poff() argument
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dgre_offload.c122 unsigned int hlen, grehlen; in gre_gro_receive() local
134 hlen = off + sizeof(*greh); in gre_gro_receive()
136 if (skb_gro_header_hard(skb, hlen)) { in gre_gro_receive()
137 greh = skb_gro_header_slow(skb, hlen, off); in gre_gro_receive()
174 hlen = off + grehlen; in gre_gro_receive()
175 if (skb_gro_header_hard(skb, hlen)) { in gre_gro_receive()
176 greh = skb_gro_header_slow(skb, hlen, off); in gre_gro_receive()
H A Dtcp_offload.c190 unsigned int hlen; in tcp_gro_receive() local
196 hlen = off + sizeof(*th); in tcp_gro_receive()
198 if (skb_gro_header_hard(skb, hlen)) { in tcp_gro_receive()
199 th = skb_gro_header_slow(skb, hlen, off); in tcp_gro_receive()
208 hlen = off + thlen; in tcp_gro_receive()
209 if (skb_gro_header_hard(skb, hlen)) { in tcp_gro_receive()
210 th = skb_gro_header_slow(skb, hlen, off); in tcp_gro_receive()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvpstate.c54 h->hlen = nvbios_rd08(b, h->offset + 0x1); in nvbios_vpstate_parse()
61 if (h->hlen > 0x10) in nvbios_vpstate_parse()
65 if (h->hlen > 0x11) in nvbios_vpstate_parse()
84 offset = h->offset + h->hlen + idx * (h->elen + (h->slen * h->scount)); in nvbios_vpstate_entry()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvpstate.c54 h->hlen = nvbios_rd08(b, h->offset + 0x1); in nvbios_vpstate_parse()
61 if (h->hlen > 0x10) in nvbios_vpstate_parse()
65 if (h->hlen > 0x11) in nvbios_vpstate_parse()
84 offset = h->offset + h->hlen + idx * (h->elen + (h->slen * h->scount)); in nvbios_vpstate_entry()
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_tx.c294 int hlen; in gve_skb_fifo_bytes_required() local
296 hlen = skb_is_gso(skb) ? skb_checksum_start_offset(skb) + in gve_skb_fifo_bytes_required()
300 hlen); in gve_skb_fifo_bytes_required()
302 align_hdr_pad = L1_CACHE_ALIGN(hlen) - hlen; in gve_skb_fifo_bytes_required()
360 u16 hlen, u64 addr) in gve_tx_fill_pkt_desc()
378 pkt_desc->pkt.seg_len = cpu_to_be16(hlen); in gve_tx_fill_pkt_desc()
414 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb() local
433 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : in gve_tx_add_skb()
440 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, hlen); in gve_tx_add_skb()
357 gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, struct sk_buff *skb, bool is_gso, int l4_hdr_offset, u32 desc_cnt, u16 hlen, u64 addr) gve_tx_fill_pkt_desc() argument
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dnetfilter.c127 unsigned int mtu, hlen; in br_ip6_fragment() local
134 hlen = err; in br_ip6_fragment()
143 if (mtu < hlen + sizeof(struct frag_hdr) + 8) in br_ip6_fragment()
145 mtu -= hlen + sizeof(struct frag_hdr); in br_ip6_fragment()
160 if (first_len - hlen > mtu || in br_ip6_fragment()
169 skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
177 err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, in br_ip6_fragment()
209 ip6_frag_init(skb, hlen, mtu, skb->dev->needed_tailroom, in br_ip6_fragment()
/kernel/linux/linux-6.6/net/ipv6/
H A Dnetfilter.c133 unsigned int mtu, hlen; in br_ip6_fragment() local
140 hlen = err; in br_ip6_fragment()
149 if (mtu < hlen + sizeof(struct frag_hdr) + 8) in br_ip6_fragment()
151 mtu -= hlen + sizeof(struct frag_hdr); in br_ip6_fragment()
166 if (first_len - hlen > mtu || in br_ip6_fragment()
175 skb_headroom(frag2) < (hlen + hroom + sizeof(struct frag_hdr))) in br_ip6_fragment()
183 err = ip6_fraglist_init(skb, hlen, prevhdr, nexthdr, frag_id, in br_ip6_fragment()
215 ip6_frag_init(skb, hlen, mtu, skb->dev->needed_tailroom, in br_ip6_fragment()
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c241 u_int32_t hlen; in computeRegs() local
288 hlen = hvis + hfp + hsl + hbp; in computeRegs()
289 over = hlen & 0x0F; in computeRegs()
291 dprintk(KERN_DEBUG "WL: vis=%u, hf=%u, hs=%u, hb=%u, total=%u\n", hvis, hfp, hsl, hbp, hlen); in computeRegs()
295 hlen -= over; in computeRegs()
299 hlen += 4; in computeRegs()
302 hlen += 16; in computeRegs()
306 /* maybe cve2 has requirement 800 < hlen < 1184 */ in computeRegs()
314 dprintk(KERN_DEBUG "PG: vis=%04X, hf=%02X, hs=%02X, hb=%02X, total=%04X\n", hvis, hfp, hsl, hbp, hlen); in computeRegs()
319 hlen in computeRegs()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c241 u_int32_t hlen; in computeRegs() local
288 hlen = hvis + hfp + hsl + hbp; in computeRegs()
289 over = hlen & 0x0F; in computeRegs()
291 dprintk(KERN_DEBUG "WL: vis=%u, hf=%u, hs=%u, hb=%u, total=%u\n", hvis, hfp, hsl, hbp, hlen); in computeRegs()
295 hlen -= over; in computeRegs()
299 hlen += 4; in computeRegs()
302 hlen += 16; in computeRegs()
306 /* maybe cve2 has requirement 800 < hlen < 1184 */ in computeRegs()
314 dprintk(KERN_DEBUG "PG: vis=%04X, hf=%02X, hs=%02X, hb=%02X, total=%04X\n", hvis, hfp, hsl, hbp, hlen); in computeRegs()
319 hlen in computeRegs()
[all...]
/kernel/linux/linux-6.6/include/net/
H A Dgro.h148 static inline int skb_gro_header_hard(struct sk_buff *skb, unsigned int hlen) in skb_gro_header_hard() argument
150 return NAPI_GRO_CB(skb)->frag0_len < hlen; in skb_gro_header_hard()
159 static inline void *skb_gro_header_slow(struct sk_buff *skb, unsigned int hlen, in skb_gro_header_slow() argument
162 if (!pskb_may_pull(skb, hlen)) in skb_gro_header_slow()
170 unsigned int hlen, unsigned int offset) in skb_gro_header()
175 if (skb_gro_header_hard(skb, hlen)) in skb_gro_header()
176 ptr = skb_gro_header_slow(skb, hlen, offset); in skb_gro_header()
415 unsigned int hlen, off; in udp_gro_udphdr() local
418 hlen = off + sizeof(*uh); in udp_gro_udphdr()
419 uh = skb_gro_header(skb, hlen, of in udp_gro_udphdr()
169 skb_gro_header(struct sk_buff *skb, unsigned int hlen, unsigned int offset) skb_gro_header() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dtrace_rx.h72 __field(u32, hlen)
81 __entry->hlen = packet->hlen;
87 "[%s] ctxt %d eflags 0x%llx etype %d,%s hlen %d tlen %d updegr %d etail %d",
92 __entry->hlen,
H A Dtrace_misc.h117 __field(u32, hlen)
125 __entry->hlen = packet->hlen;
131 "[%s] ctxt %d eflags 0x%llx hlen %d tlen %d updegr %d etail %d",
135 __entry->hlen,
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dnlattr.c167 int hlen, alen; in libbpf_nla_dump_errormsg() local
174 hlen = sizeof(*err); in libbpf_nla_dump_errormsg()
178 hlen += nlmsg_len(&err->msg); in libbpf_nla_dump_errormsg()
180 attr = (struct nlattr *) ((void *) err + hlen); in libbpf_nla_dump_errormsg()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dtrace_rx.h31 __field(u32, hlen)
40 __entry->hlen = packet->hlen;
46 "[%s] ctxt %d eflags 0x%llx etype %d,%s hlen %d tlen %d updegr %d etail %d",
51 __entry->hlen,
H A Dtrace_misc.h76 __field(u32, hlen)
84 __entry->hlen = packet->hlen;
90 "[%s] ctxt %d eflags 0x%llx hlen %d tlen %d updegr %d etail %d",
94 __entry->hlen,
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dnlattr.c167 int hlen, alen; in libbpf_nla_dump_errormsg() local
174 hlen = sizeof(*err); in libbpf_nla_dump_errormsg()
178 hlen += nlmsg_len(&err->msg); in libbpf_nla_dump_errormsg()
180 attr = (struct nlattr *) ((void *) err + hlen); in libbpf_nla_dump_errormsg()
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_tx.c352 int hlen; in gve_skb_fifo_bytes_required() local
354 hlen = skb_is_gso(skb) ? skb_checksum_start_offset(skb) + tcp_hdrlen(skb) : in gve_skb_fifo_bytes_required()
358 hlen); in gve_skb_fifo_bytes_required()
360 align_hdr_pad = L1_CACHE_ALIGN(hlen) - hlen; in gve_skb_fifo_bytes_required()
446 u16 hlen, u64 addr, u16 pkt_len) in gve_tx_fill_pkt_desc()
464 pkt_desc->pkt.seg_len = cpu_to_be16(hlen); in gve_tx_fill_pkt_desc()
510 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb_copy() local
528 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : in gve_tx_add_skb_copy()
535 pad_bytes = gve_tx_fifo_pad_alloc_one_frag(&tx->tx_fifo, hlen); in gve_tx_add_skb_copy()
443 gve_tx_fill_pkt_desc(union gve_tx_desc *pkt_desc, u16 csum_offset, u8 ip_summed, bool is_gso, int l4_hdr_offset, u32 desc_cnt, u16 hlen, u64 addr, u16 pkt_len) gve_tx_fill_pkt_desc() argument
586 int hlen, num_descriptors, l4_hdr_offset; gve_tx_add_skb_no_copy() local
[all...]

Completed in 14 milliseconds

12345678910>>...14