Home
last modified time | relevance | path

Searched refs:BPF_W (Results 1 – 25 of 61) sorted by relevance

123

/tools/testing/selftests/bpf/verifier/
Dcgroup_skb.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
8 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1,
10 BPF_LDX_MEM(BPF_W, BPF_REG_5, BPF_REG_1,
12 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1,
14 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_6,
16 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_1,
18 BPF_LDX_MEM(BPF_W, BPF_REG_8, BPF_REG_1,
20 BPF_LDX_MEM(BPF_W, BPF_REG_9, BPF_REG_1,
37 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1,
[all …]
Dxdp_direct_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
5 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
22 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
23 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
40 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
41 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
58 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
75 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
76 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
[all …]
Dxadd.c6 BPF_STX_XADD(BPF_W, BPF_REG_10, BPF_REG_0, -7),
25 BPF_STX_XADD(BPF_W, BPF_REG_0, BPF_REG_1, 3),
26 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 3),
37 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
38 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
46 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
47 BPF_ST_MEM(BPF_W, BPF_REG_2, 3, 0),
48 BPF_STX_XADD(BPF_W, BPF_REG_2, BPF_REG_0, 1),
49 BPF_STX_XADD(BPF_W, BPF_REG_2, BPF_REG_0, 2),
50 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_2, 1),
[all …]
Dld_abs.c6 BPF_LD_ABS(BPF_W, -0x200000),
18 BPF_LD_ABS(BPF_W, -0x200000),
30 BPF_LD_ABS(BPF_W, -0x200000),
42 BPF_LD_ABS(BPF_W, -0x200000),
54 BPF_LD_ABS(BPF_W, -0x200000),
66 BPF_LD_ABS(BPF_W, -0x200000),
78 BPF_LD_ABS(BPF_W, 0),
88 BPF_LD_ABS(BPF_W, 0),
128 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -64),
129 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_10, -64),
[all …]
Ddirect_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
6 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
18 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
20 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
36 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1,
38 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
46 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
49 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
56 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1,
69 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
[all …]
Dmeta_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)),
20 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
22 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, offsetof(struct xdp_md, data)),
39 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
41 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
59 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
61 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_1, offsetof(struct xdp_md, data)),
76 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
[all …]
Dctx_skb.c4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
7 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
10 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
13 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
16 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
19 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
22 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
25 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
35 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, -4),
53 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
[all …]
Dctx_sk_msg.c4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
14 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
24 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
34 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
44 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
54 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
56 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
58 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
60 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
70 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
[all …]
Dhelper_packet_access.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
5 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
25 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
39 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
40 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
64 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
65 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
85 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, offsetof(struct xdp_md, data)),
86 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
105 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
[all …]
Dlwt.c4 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
6 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
22 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
24 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
40 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
42 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
57 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
59 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
74 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
76 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
[all …]
Dvar_off.c5 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
13 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
26 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
35 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_2, 0),
48 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
57 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_2, 0),
69 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
105 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
171 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
196 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 0),
[all …]
Dld_ind.c6 BPF_LD_IND(BPF_W, BPF_REG_1, -0x200000),
18 BPF_LD_IND(BPF_W, BPF_REG_2, -0x200000),
30 BPF_LD_IND(BPF_W, BPF_REG_3, -0x200000),
42 BPF_LD_IND(BPF_W, BPF_REG_4, -0x200000),
54 BPF_LD_IND(BPF_W, BPF_REG_5, -0x200000),
66 BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000),
Dcgroup_storage.c7 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
22 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
51 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 256),
67 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, -2),
84 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
100 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
117 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
132 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
161 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 256),
177 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, -2),
[all …]
Dcgroup_inv_retcode.c4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
14 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
24 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
64 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
65 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, 4),
Dspin_lock.c4 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0),
18 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 0),
32 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0),
46 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
61 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0),
75 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 1),
91 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0),
121 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0),
150 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0),
164 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6, 0),
[all …]
Dcalls.c33 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1,
44 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
58 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1,
66 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
82 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1,
90 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
100 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_6,
174 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
190 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
207 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
[all …]
Dctx_sk_lookup.c19 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
37 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
55 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
109 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
111 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
113 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
115 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
133 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
151 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
205 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1,
[all …]
Dsock.c5 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 0),
20 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, family)),
34 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, offsetof(struct bpf_sock, type)),
62 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, type)),
81 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, type)),
98 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, family)),
134 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, dst_port)),
300 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetofend(struct bpf_sock, rx_queue_mapping)),
328 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
346 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_tcp_sock, snd_cwnd)),
[all …]
Dref_tracking.c187 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
189 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
196 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_2,
215 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1,
217 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1,
224 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_2,
391 BPF_LD_ABS(BPF_W, 0),
404 BPF_LD_ABS(BPF_W, 0),
423 BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000),
438 BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000),
[all …]
Dand.c31 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0),
42 BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_3, 0),
60 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 512),
Dd_path.c4 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 0),
22 BPF_LDX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 0),
Draw_stack.c109 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0,
111 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_2,
130 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0,
154 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0,
156 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_2,
159 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_3,
184 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0,
186 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_2,
/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c110 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_0, 0),
124 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1,
131 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0,
154 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0,
167 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1,
174 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0,
196 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1,
215 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0,
228 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_1,
235 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0,
[all …]
Dalign.c132 BPF_LDX_MEM(BPF_W, BPF_REG_2, BPF_REG_1, \
134 BPF_LDX_MEM(BPF_W, BPF_REG_3, BPF_REG_1, \
230 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
263 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
276 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
291 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
379 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0),
390 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0),
455 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_6, 0),
507 BPF_LDX_MEM(BPF_W, BPF_REG_6, BPF_REG_5, 0),
[all …]
/tools/testing/selftests/bpf/
Dtest_sock.c52 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
69 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
86 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
103 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
234 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
238 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
264 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,
268 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6,

123