Home
last modified time | relevance | path

Searched refs:doff (Results 1 – 25 of 96) sorted by relevance

1234

/linux/arch/alpha/lib/
A Dcsum_partial_copy.c181 unsigned long doff, in csum_partial_cfu_src_aligned() argument
195 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
212 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
213 len += doff; in csum_partial_cfu_src_aligned()
222 doff = len; in csum_partial_cfu_src_aligned()
271 len += doff; in csum_partial_cfu_unaligned()
283 mskql(word, len-doff, word); in csum_partial_cfu_unaligned()
305 mskql(word, len-doff, word); in csum_partial_cfu_unaligned()
309 insql(word, doff, word); in csum_partial_cfu_unaligned()
322 if (!doff) { in __csum_and_copy()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Ddacnv50.c32 const u32 doff = nv50_ior_base(dac); in nv50_dac_clock() local
33 nvkm_mask(device, 0x614280 + doff, 0x07070707, 0x00000000); in nv50_dac_clock()
40 const u32 doff = nv50_ior_base(dac); in nv50_dac_sense() local
44 nvkm_wr32(device, 0x61a00c + doff, 0x00100000 | loadval); in nv50_dac_sense()
47 loadval = nvkm_mask(device, 0x61a00c + doff, 0xffffffff, 0x00000000); in nv50_dac_sense()
57 nv50_dac_power_wait(struct nvkm_device *device, const u32 doff) in nv50_dac_power_wait() argument
60 if (!(nvkm_rd32(device, 0x61a004 + doff) & 0x80000000)) in nv50_dac_power_wait()
70 const u32 doff = nv50_ior_base(dac); in nv50_dac_power() local
78 nv50_dac_power_wait(device, doff); in nv50_dac_power()
79 nvkm_mask(device, 0x61a004 + doff, field, state); in nv50_dac_power()
[all …]
A Ddacgf119.c28 const u32 doff = nv50_ior_base(dac); in gf119_dac_clock() local
29 nvkm_mask(device, 0x612280 + doff, 0x07070707, 0x00000000); in gf119_dac_clock()
/linux/net/ipv6/
A Dinet6_hashtables.c117 struct sk_buff *skb, int doff, in lookup_reuseport() argument
128 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
136 struct sk_buff *skb, int doff, in inet6_lhash2_lookup() argument
149 result = lookup_reuseport(net, sk, skb, doff, in inet6_lhash2_lookup()
164 struct sk_buff *skb, int doff, in inet6_lookup_run_bpf() argument
189 struct sk_buff *skb, int doff, in inet6_lookup_listener() argument
200 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener()
209 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
219 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
230 struct sk_buff *skb, int doff, in inet6_lookup() argument
[all …]
/linux/include/net/
A Dinet6_hashtables.h53 struct sk_buff *skb, int doff,
62 struct sk_buff *skb, int doff, in __inet6_lookup() argument
77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup()
82 struct sk_buff *skb, int doff, in __inet6_lookup_skb() argument
94 doff, &ipv6_hdr(skb)->saddr, sport, in __inet6_lookup_skb()
100 struct sk_buff *skb, int doff,
A Dinet_hashtables.h265 struct sk_buff *skb, int doff,
273 struct sk_buff *skb, int doff, in inet_lookup_listener() argument
277 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in inet_lookup_listener()
350 struct sk_buff *skb, int doff, in __inet_lookup() argument
365 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, in __inet_lookup()
371 struct sk_buff *skb, int doff, in inet_lookup() argument
379 sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, in inet_lookup()
389 int doff, in __inet_lookup_skb() argument
402 doff, iph->saddr, sport, in __inet_lookup_skb()
/linux/drivers/net/slip/
A Dslhc.c268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress()
270 hlen = nlen + th->doff * 4; in slhc_compress()
357 || th->doff != cs->cs_tcp.doff in slhc_compress()
359 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ in slhc_compress()
480 if (th->doff > 5) in slhc_compress()
547 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
631 if (thp->doff > 5) { in slhc_uncompress()
632 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress()
633 cp += ((thp->doff) - 5) * 4; in slhc_uncompress()
683 if (cs->cs_tcp.doff > 5) in slhc_remember()
[all …]
/linux/net/ipv6/netfilter/
A Dnf_socket_ipv6.c78 nf_socket_get_sock_v6(struct net *net, struct sk_buff *skb, int doff, in nf_socket_get_sock_v6() argument
86 return inet6_lookup(net, &tcp_hashinfo, skb, doff, in nf_socket_get_sock_v6()
104 int doff = 0; in nf_sk_lookup_slow_v6() local
127 doff = tproto == IPPROTO_TCP ? in nf_sk_lookup_slow_v6()
139 return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, in nf_sk_lookup_slow_v6()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c115 .tcp.doff = 5,
135 .tcp.doff = 5,
157 .tcp.doff = 5,
179 .tcp.doff = 5,
202 .tcp.doff = 5,
228 .tcp.doff = 5,
249 .tcp.doff = 5,
275 .tcp.doff = 5,
297 .tcp.doff = 5,
319 .tcp.doff = 5,
[all …]
A Dkfree_skb.c44 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample()
45 "tcp.doff %x\n", pkt_v6->tcp.doff)) in on_sample()
/linux/net/ipv4/netfilter/
A Dnf_socket_ipv4.c66 nf_socket_get_sock_v4(struct net *net, struct sk_buff *skb, const int doff, in nf_socket_get_sock_v4() argument
74 return inet_lookup(net, &tcp_hashinfo, skb, doff, in nf_socket_get_sock_v4()
96 int doff = 0; in nf_sk_lookup_slow_v4() local
114 doff = iph->protocol == IPPROTO_TCP ? in nf_sk_lookup_slow_v4()
146 return nf_socket_get_sock_v4(net, data_skb, doff, protocol, saddr, in nf_sk_lookup_slow_v4()
/linux/drivers/dma/
A Dfsl-edma-common.c372 edma_writew(edma, (s16)tcd->doff, &regs->tcd[ch].doff); in fsl_edma_set_tcd_regs()
411 tcd->doff = cpu_to_le16(doff); in fsl_edma_fill_tcd()
466 u16 soff, doff, iter; in fsl_edma_prep_dma_cyclic() local
507 doff = 0; in fsl_edma_prep_dma_cyclic()
512 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic()
517 iter, doff, last_sg, true, false, true); in fsl_edma_prep_dma_cyclic()
534 u16 soff, doff, iter; in fsl_edma_prep_slave_sg() local
569 doff = 0; in fsl_edma_prep_slave_sg()
574 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_slave_sg()
582 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg()
[all …]
A Dmpc512x_dma.c153 u32 doff:16; /* Signed destination address offset */ member
636 tcd->doff = 32; in mpc_dma_prep_memcpy()
642 tcd->doff = 16; in mpc_dma_prep_memcpy()
647 tcd->doff = 4; in mpc_dma_prep_memcpy()
652 tcd->doff = 2; in mpc_dma_prep_memcpy()
657 tcd->doff = 1; in mpc_dma_prep_memcpy()
749 tcd->doff = mchan->dwidth; in mpc_dma_prep_slave_sg()
758 tcd->doff = 0; in mpc_dma_prep_slave_sg()
/linux/net/netfilter/
A Dnf_synproxy_core.c31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
37 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
500 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack()
546 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn()
586 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_ack()
624 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_ack()
913 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack_ipv6()
960 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn_ipv6()
1000 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_ack_ipv6()
[all …]
A Dxt_tcpmss.c41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
A Dxt_tcpudp.c108 if (th->doff * 4 < sizeof(_tcph)) { in tcp_mt()
113 th->doff*4 - sizeof(_tcph), in tcp_mt()
/linux/net/ipv4/
A Dinet_hashtables.c256 struct sk_buff *skb, int doff, in lookup_reuseport() argument
265 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
280 struct sk_buff *skb, int doff, in inet_lhash2_lookup() argument
293 result = lookup_reuseport(net, sk, skb, doff, in inet_lhash2_lookup()
308 struct sk_buff *skb, int doff, in inet_lookup_run_bpf() argument
323 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf()
331 struct sk_buff *skb, int doff, in __inet_lookup_listener() argument
342 result = inet_lookup_run_bpf(net, hashinfo, skb, doff, in __inet_lookup_listener()
351 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
361 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
A Dtcp_ipv4.c700 rep.th.doff = sizeof(struct tcphdr) / 4; in tcp_v4_send_reset()
708 skb->len - (th->doff << 2)); in tcp_v4_send_reset()
773 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
787 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
879 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_ack()
894 rep.th.doff = arg.iov[0].iov_len/4; in tcp_v4_send_ack()
1781 if (th->doff < sizeof(struct tcphdr) / 4) in tcp_v4_early_demux()
1841 hdrlen = th->doff * 4; in tcp_add_backlog()
1859 thtail->doff != th->doff || in tcp_add_backlog()
1952 skb->len - th->doff * 4); in tcp_v4_fill_cb()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dgf100.c98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
101 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
112 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
115 if (doff <= 2) { in read_div()
116 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()
A Dgk104.c106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
109 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
110 u32 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()
121 u32 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
126 return read_vco(clk, dsrc + (doff * 4)); in read_div()
/linux/tools/testing/selftests/bpf/progs/
A Dtest_select_reuseport_kern.c120 if ((th->doff << 2) + sizeof(*cmd) > data_check.len) in _select_by_skb_data()
122 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy, in _select_by_skb_data()
/linux/include/linux/
A Dtcp.h31 return th->doff * 4; in __tcp_hdrlen()
46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen()
51 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
/linux/tools/include/uapi/linux/
A Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/linux/include/uapi/linux/
A Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/linux/tools/testing/selftests/bpf/
A Dnetwork_helpers.c32 .tcp.doff = 5,
40 .tcp.doff = 5,

Completed in 45 milliseconds

1234