Home
last modified time | relevance | path

Searched refs:BPF_JMP_IMM (Results 1 – 25 of 62) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Djump.c6 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1),
8 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 1, 1),
10 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 2, 1),
12 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 3, 1),
14 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 4, 1),
16 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 5, 1),
29 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 2),
31 BPF_JMP_IMM(BPF_JA, 0, 0, 14),
32 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 1, 2),
34 BPF_JMP_IMM(BPF_JA, 0, 0, 11),
[all …]
Ddead_code.c4 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
6 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
8 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, -4),
18 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 1),
19 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 0),
29 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 4),
30 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1),
31 BPF_JMP_IMM(BPF_JA, 0, 0, 2),
44 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 1),
55 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 10, 1),
[all …]
Dsock.c17 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
31 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
58 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
74 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
78 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 2),
92 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
96 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
109 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
113 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 2),
127 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 2),
[all …]
Dhelper_value_access.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
28 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
47 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3),
66 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
106 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
127 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
147 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
167 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
189 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
[all …]
Dloops1.c6 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 4, -2),
18 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 20, -2),
28 BPF_JMP_IMM(BPF_JSLT, BPF_REG_0, 0, 2),
30 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 4, -2),
42 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 4, -2),
53 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 4, -2),
65 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 4, -2),
79 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 4, -3),
91 BPF_JMP_IMM(BPF_JGT, BPF_REG_6, 10000, 2),
103 BPF_JMP_IMM(BPF_JLT, BPF_REG_0, 4, 2),
[all …]
Dbounds_mix_sign_unsign.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
14 BPF_JMP_IMM(BPF_JSGT, BPF_REG_1, 4, 2),
33 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
38 BPF_JMP_IMM(BPF_JSGT, BPF_REG_1, 1, 2),
57 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9),
64 BPF_JMP_IMM(BPF_JSGT, BPF_REG_8, 1, 2),
83 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8),
89 BPF_JMP_IMM(BPF_JSGT, BPF_REG_8, 1, 2),
108 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
113 BPF_JMP_IMM(BPF_JSGT, BPF_REG_1, 1, 2),
[all …]
Djset.c15 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
19 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, -1, 1),
23 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x80000000, 1),
64 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x80000000, 1),
80 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1),
94 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1),
108 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1),
109 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
123 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1),
138 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 3, 1),
[all …]
Dsearch_pruning.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
30 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 2),
48 BPF_JMP_IMM(BPF_JGE, BPF_REG_2, 0, 1),
50 BPF_JMP_IMM(BPF_JGE, BPF_REG_2, 0, 1),
66 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8),
73 BPF_JMP_IMM(BPF_JA, 0, 0, 0),
92 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11),
94 BPF_JMP_IMM(BPF_JEQ, BPF_REG_3, 0xbeef, 2),
101 BPF_JMP_IMM(BPF_JEQ, BPF_REG_5, 0, 2),
119 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8),
[all …]
Dbounds_deduction.c5 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 1, 0),
16 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 1, 1),
18 BPF_JMP_IMM(BPF_JSLE, BPF_REG_0, 1, 1),
30 BPF_JMP_IMM(BPF_JSLE, BPF_REG_0, 0, 0),
41 BPF_JMP_IMM(BPF_JSLE, BPF_REG_0, 0, 1),
43 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 0, 1),
54 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 1, 1),
65 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 0, 1),
77 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 0, 0),
91 BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 0, 1),
[all …]
Dref_tracking.c120 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
132 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
144 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
158 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
174 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3), /* goto end */
199 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 1), /* mark == 0? */
202 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */
227 BPF_JMP_IMM(BPF_JEQ, BPF_REG_6, 0, 4), /* mark == 0? */
228 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */
232 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2), /* sk NULL? */
[all …]
Dvalue_ptr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),
209 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 3),
210 BPF_JMP_IMM(BPF_JA, 0, 0, 4),
214 BPF_JMP_IMM(BPF_JA, 0, 0, -6),
[all …]
Dprecise.c11 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
20 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
27 BPF_JMP_IMM(BPF_JLT, BPF_REG_2, 8, 1),
71 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
80 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
87 BPF_JMP_IMM(BPF_JLT, BPF_REG_2, 8, 1),
123 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
127 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
131 BPF_JMP_IMM(BPF_JEQ, BPF_REG_8, 1, 1),
135 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 0),
[all …]
Dcfg.c13 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
14 BPF_JMP_IMM(BPF_JA, 0, 0, 0),
23 BPF_JMP_IMM(BPF_JA, 0, 0, 1),
32 BPF_JMP_IMM(BPF_JA, 0, 0, -2),
41 BPF_JMP_IMM(BPF_JA, 0, 0, -1),
54 BPF_JMP_IMM(BPF_JA, 0, 0, -4),
67 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, -3),
Darray_access.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
26 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
47 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 5),
49 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES, 3),
69 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9),
71 BPF_JMP_IMM(BPF_JSGT, BPF_REG_1, 0xffffffff, 1),
95 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
112 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
132 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
152 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
[all …]
Dbounds.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 9),
11 BPF_JMP_IMM(BPF_JGT, BPF_REG_1, 0xff, 7),
13 BPF_JMP_IMM(BPF_JGT, BPF_REG_3, 0xff, 5),
34 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 8),
36 BPF_JMP_IMM(BPF_JGT, BPF_REG_1, 0xff, 6),
38 BPF_JMP_IMM(BPF_JGT, BPF_REG_3, 0xff, 4),
67 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
110 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
135 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 4),
[all …]
Druntime_jit.c61 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4),
64 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
83 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4),
86 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
105 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4),
108 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
127 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4),
130 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
149 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 13, 4),
152 BPF_JMP_IMM(BPF_JA, 0, 0, 3),
[all …]
Dunpriv.c45 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 0),
224 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 3),
228 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 1),
253 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1),
256 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 1),
265 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1),
287 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1),
290 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 1),
318 BPF_JMP_IMM(BPF_JEQ, BPF_REG_1, 0, 1),
321 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 1),
[all …]
Dhelper_access_var_len.c83 BPF_JMP_IMM(BPF_JGT, BPF_REG_2, 64, 4),
111 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, 64, 4),
130 BPF_JMP_IMM(BPF_JGT, BPF_REG_2, 64, 5),
151 BPF_JMP_IMM(BPF_JGT, BPF_REG_2, 65, 4),
191 BPF_JMP_IMM(BPF_JGT, BPF_REG_2, 64, 3),
209 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, 64, 3),
227 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10),
232 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val), 4),
253 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 10),
258 BPF_JMP_IMM(BPF_JSGT, BPF_REG_2, sizeof(struct test_val) + 1, 4),
[all …]
Dvalue_or_null.c11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
31 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
51 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
71 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
95 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
116 BPF_JMP_IMM(BPF_JNE, BPF_REG_2, 0, 3),
121 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
137 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 6),
139 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES-1, 1),
Dspin_lock.c10 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
38 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
67 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
97 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
127 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
156 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
165 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
186 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
191 BPF_JMP_IMM(BPF_JNE, BPF_REG_1, 0, 1),
216 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1),
[all …]
Dvalue_illegal_alu.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
26 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
43 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
60 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2),
80 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
Dvalue.c9 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1),
27 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 17),
61 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 11),
63 BPF_JMP_IMM(BPF_JGE, BPF_REG_1, MAX_ENTRIES, 9),
89 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 7),
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sysctl.c86 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 1, 2),
107 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 1, 2),
167 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 3, 2),
194 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 4, 2),
247 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, sizeof("tcp_mem") - 1, 6),
288 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 6),
332 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 16, 14),
386 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 10),
434 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 6),
470 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 6, 6),
[all …]

123