/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | jump.c | 18 BPF_MOV64_IMM(BPF_REG_0, 0), 46 BPF_MOV64_IMM(BPF_REG_0, 0), 133 BPF_MOV64_IMM(BPF_REG_0, 0), 150 BPF_MOV64_IMM(BPF_REG_0, 0), 156 BPF_MOV64_IMM(BPF_REG_0, 0), 162 BPF_MOV64_IMM(BPF_REG_0, 0), 168 BPF_MOV64_IMM(BPF_REG_0, 0), 174 BPF_MOV64_IMM(BPF_REG_0, 0), 184 BPF_MOV64_IMM(BPF_REG_0, 1), 187 BPF_MOV64_IMM(BPF_REG_0, 2), [all …]
|
H A D | ctx_sk_lookup.c | 5 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_1, 254 BPF_MOV32_IMM(BPF_REG_0, 0), 268 BPF_MOV32_IMM(BPF_REG_0, 0), 281 BPF_MOV32_IMM(BPF_REG_0, 0), 295 BPF_MOV32_IMM(BPF_REG_0, 0), 308 BPF_MOV32_IMM(BPF_REG_0, 0), 322 BPF_MOV32_IMM(BPF_REG_0, 0), 336 BPF_MOV32_IMM(BPF_REG_0, 0), 349 BPF_MOV32_IMM(BPF_REG_0, 0), 363 BPF_MOV32_IMM(BPF_REG_0, 0), [all …]
|
H A D | ctx_skb.c | 4 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 6 BPF_JMP_IMM(BPF_JGE, BPF_REG_0, 0, 1), 90 BPF_MOV64_IMM(BPF_REG_0, 0), 284 BPF_MOV64_IMM(BPF_REG_0, 0), 296 BPF_MOV64_IMM(BPF_REG_0, 0), 307 BPF_MOV64_IMM(BPF_REG_0, 0), 326 BPF_MOV64_IMM(BPF_REG_0, 0), 343 BPF_MOV64_IMM(BPF_REG_0, 0), 363 BPF_MOV64_IMM(BPF_REG_0, 0), 394 BPF_MOV64_IMM(BPF_REG_0, 0), [all …]
|
H A D | atomic_cmpxchg.c | 8 BPF_MOV64_IMM(BPF_REG_0, 2), 12 BPF_MOV64_IMM(BPF_REG_0, 2), 17 BPF_MOV64_IMM(BPF_REG_0, 3), 21 BPF_MOV64_IMM(BPF_REG_0, 3), 25 BPF_MOV64_IMM(BPF_REG_0, 4), 30 BPF_MOV64_IMM(BPF_REG_0, 5), 33 BPF_MOV64_IMM(BPF_REG_0, 0), 45 BPF_MOV32_IMM(BPF_REG_0, 2), 49 BPF_MOV32_IMM(BPF_REG_0, 2), 54 BPF_MOV32_IMM(BPF_REG_0, 3), [all …]
|
H A D | map_kptr.c | 9 BPF_MOV64_IMM(BPF_REG_0, 0), 29 BPF_MOV64_IMM(BPF_REG_0, 0), 49 BPF_MOV64_IMM(BPF_REG_0, 0), 80 BPF_MOV64_IMM(BPF_REG_0, 0), 112 BPF_MOV64_IMM(BPF_REG_0, 0), 193 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 194 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_0, 0), 214 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 217 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 32), 237 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), [all …]
|
H A D | dead_code.c | 7 BPF_MOV64_IMM(BPF_REG_0, 7), 19 BPF_MOV64_IMM(BPF_REG_0, 7), 34 BPF_MOV64_IMM(BPF_REG_0, 7), 36 BPF_MOV64_IMM(BPF_REG_0, 1), 45 BPF_MOV64_IMM(BPF_REG_0, 7), 56 BPF_MOV64_IMM(BPF_REG_0, 7), 59 BPF_MOV64_IMM(BPF_REG_0, 12), 68 BPF_MOV64_IMM(BPF_REG_0, 7), 73 BPF_MOV64_IMM(BPF_REG_0, 12), 82 BPF_MOV64_IMM(BPF_REG_0, 7), [all …]
|
H A D | jit.c | 4 BPF_MOV64_IMM(BPF_REG_0, 1), 17 BPF_MOV64_IMM(BPF_REG_0, 2), 26 BPF_MOV64_IMM(BPF_REG_0, 1), 41 BPF_MOV64_IMM(BPF_REG_0, 2), 50 BPF_MOV64_IMM(BPF_REG_0, 2), 55 BPF_MOV64_IMM(BPF_REG_0, 1), 64 BPF_MOV64_IMM(BPF_REG_0, 1), 68 BPF_MOV64_IMM(BPF_REG_0, 2), 82 BPF_MOV64_IMM(BPF_REG_0, 1), 87 BPF_MOV64_IMM(BPF_REG_0, 1), [all …]
|
H A D | calls.c | 5 BPF_MOV64_IMM(BPF_REG_0, 1), 15 BPF_MOV64_IMM(BPF_REG_0, 1), 18 BPF_MOV64_IMM(BPF_REG_0, 1), 130 BPF_MOV64_IMM(BPF_REG_0, 0), 144 BPF_MOV64_IMM(BPF_REG_0, 0), 150 BPF_MOV64_IMM(BPF_REG_0, 0), 315 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_0, 0), 340 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_0, 0), 364 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_0, 0), 961 BPF_MOV64_REG(BPF_REG_0, BPF_REG_0), [all …]
|
H A D | basic_instr.c | 23 BPF_MOV32_IMM(BPF_REG_0, 2), 25 BPF_MOV32_IMM(BPF_REG_0, 1), 35 BPF_MOV64_IMM(BPF_REG_0, 1), 55 BPF_MOV64_IMM(BPF_REG_0, 1), 77 BPF_MOV64_IMM(BPF_REG_0, 1), 86 BPF_MOV64_IMM(BPF_REG_0, 1), 96 BPF_LD_IMM64(BPF_REG_0, 1), 109 BPF_LD_IMM64(BPF_REG_0, 1), 123 BPF_LD_IMM64(BPF_REG_0, 1), 137 BPF_LD_IMM64(BPF_REG_0, 1), [all …]
|
H A D | ld_abs.c | 7 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1), 19 BPF_MOV64_REG(BPF_REG_0, BPF_REG_2), 31 BPF_MOV64_REG(BPF_REG_0, BPF_REG_3), 43 BPF_MOV64_REG(BPF_REG_0, BPF_REG_4), 89 BPF_MOV64_IMM(BPF_REG_0, 42), 110 BPF_MOV32_IMM(BPF_REG_0, 256), 127 BPF_MOV32_IMM(BPF_REG_0, 18), 140 BPF_MOV32_IMM(BPF_REG_0, 22), 151 BPF_MOV32_IMM(BPF_REG_0, 256), 153 BPF_MOV32_IMM(BPF_REG_0, 0), [all …]
|
H A D | direct_value_access.c | 4 BPF_MOV64_IMM(BPF_REG_0, 1), 16 BPF_MOV64_IMM(BPF_REG_0, 1), 28 BPF_MOV64_IMM(BPF_REG_0, 1), 40 BPF_MOV64_IMM(BPF_REG_0, 1), 52 BPF_MOV64_IMM(BPF_REG_0, 1), 64 BPF_MOV64_IMM(BPF_REG_0, 1), 77 BPF_MOV64_IMM(BPF_REG_0, 1), 89 BPF_MOV64_IMM(BPF_REG_0, 1), 101 BPF_MOV64_IMM(BPF_REG_0, 1), 113 BPF_MOV64_IMM(BPF_REG_0, 1), [all …]
|
H A D | atomic_and.c | 12 BPF_MOV64_IMM(BPF_REG_0, 2), 15 BPF_MOV64_IMM(BPF_REG_0, 0), 17 BPF_MOV64_IMM(BPF_REG_0, 1), 25 BPF_MOV64_IMM(BPF_REG_0, 123), 33 BPF_MOV64_IMM(BPF_REG_0, 3), 42 BPF_MOV64_IMM(BPF_REG_0, 1), 45 BPF_MOV64_IMM(BPF_REG_0, 0), 54 BPF_MOV64_IMM(BPF_REG_0, 0), 63 BPF_MOV32_IMM(BPF_REG_0, 3), 88 BPF_MOV64_IMM(BPF_REG_0, 3), [all …]
|
H A D | jmp32.c | 13 BPF_MOV64_IMM(BPF_REG_0, 2), 45 BPF_MOV64_IMM(BPF_REG_0, 2), 67 BPF_MOV64_IMM(BPF_REG_0, 0), 286 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 357 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 428 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 499 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 570 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 641 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), 712 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_0, 0), [all …]
|
H A D | precise.c | 4 BPF_MOV64_IMM(BPF_REG_0, 1), 11 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1), 14 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), 20 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, 1), 23 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 63 BPF_MOV64_IMM(BPF_REG_0, 1), 73 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), 132 BPF_MOV64_IMM(BPF_REG_0, 0), 149 BPF_MOV64_IMM(BPF_REG_0, -1), 176 BPF_MOV64_IMM(BPF_REG_0, -1), [all …]
|
H A D | atomic_or.c | 12 BPF_MOV64_IMM(BPF_REG_0, 2), 15 BPF_MOV64_IMM(BPF_REG_0, 0), 17 BPF_MOV64_IMM(BPF_REG_0, 1), 25 BPF_MOV64_IMM(BPF_REG_0, 123), 33 BPF_MOV64_IMM(BPF_REG_0, 3), 42 BPF_MOV64_IMM(BPF_REG_0, 1), 45 BPF_MOV64_IMM(BPF_REG_0, 0), 54 BPF_MOV64_IMM(BPF_REG_0, 0), 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1), 63 BPF_MOV32_IMM(BPF_REG_0, 3), [all …]
|
H A D | atomic_xor.c | 11 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0x101, 2), 12 BPF_MOV64_IMM(BPF_REG_0, 2), 15 BPF_MOV64_IMM(BPF_REG_0, 0), 17 BPF_MOV64_IMM(BPF_REG_0, 1), 25 BPF_MOV64_IMM(BPF_REG_0, 123), 33 BPF_MOV64_IMM(BPF_REG_0, 3), 42 BPF_MOV64_IMM(BPF_REG_0, 1), 45 BPF_MOV64_IMM(BPF_REG_0, 0), 54 BPF_MOV64_IMM(BPF_REG_0, 0), 55 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 1), [all …]
|
H A D | atomic_fetch.c | 15 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 17 BPF_MOV64_IMM(BPF_REG_0, 0), 39 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 41 BPF_MOV64_IMM(BPF_REG_0, 0), 63 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 65 BPF_MOV64_IMM(BPF_REG_0, 0), 86 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 1), 88 BPF_MOV64_IMM(BPF_REG_0, 0), 108 BPF_MOV64_IMM(BPF_REG_0, 1), \ 113 BPF_MOV64_IMM(BPF_REG_0, 2), \ [all …]
|
H A D | bpf_st_mem.c | 5 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8), 6 BPF_ALU64_IMM(BPF_ADD, BPF_REG_0, -42), 22 BPF_MOV64_IMM(BPF_REG_0, 0), 24 BPF_ALU64_REG(BPF_ADD, BPF_REG_0, BPF_REG_1), 26 BPF_ALU64_REG(BPF_ADD, BPF_REG_0, BPF_REG_1), 28 BPF_ALU64_REG(BPF_ADD, BPF_REG_0, BPF_REG_1), 46 BPF_JMP_IMM(BPF_JLE, BPF_REG_0, 16, 2), 47 BPF_MOV64_IMM(BPF_REG_0, 0), 49 BPF_ALU64_IMM(BPF_SUB, BPF_REG_0, 32), 53 BPF_ALU64_REG(BPF_ADD, BPF_REG_0, BPF_REG_10), [all …]
|
H A D | perf_event_sample_period.c | 4 BPF_MOV64_IMM(BPF_REG_0, 0), 6 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_1, 9 BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_1, 20 BPF_MOV64_IMM(BPF_REG_0, 0), 22 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1, 25 BPF_LDX_MEM(BPF_H, BPF_REG_0, BPF_REG_1, 36 BPF_MOV64_IMM(BPF_REG_0, 0), 38 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 41 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_1, 52 BPF_MOV64_IMM(BPF_REG_0, 0), [all …]
|
H A D | atomic_xchg.c | 11 BPF_MOV64_IMM(BPF_REG_0, 1), 14 BPF_LDX_MEM(BPF_DW, BPF_REG_0, BPF_REG_10, -8), 15 BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 4, 2), 16 BPF_MOV64_IMM(BPF_REG_0, 2), 19 BPF_MOV64_IMM(BPF_REG_0, 0), 34 BPF_MOV32_IMM(BPF_REG_0, 1), 37 BPF_LDX_MEM(BPF_W, BPF_REG_0, BPF_REG_10, -4), 38 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_0, 4, 2), 39 BPF_MOV32_IMM(BPF_REG_0, 2), 42 BPF_MOV32_IMM(BPF_REG_0, 0),
|
H A D | ld_imm64.c | 5 BPF_LD_IMM64(BPF_REG_0, 0), 6 BPF_LD_IMM64(BPF_REG_0, 0), 7 BPF_LD_IMM64(BPF_REG_0, 1), 8 BPF_LD_IMM64(BPF_REG_0, 1), 9 BPF_MOV64_IMM(BPF_REG_0, 2), 20 BPF_LD_IMM64(BPF_REG_0, 0), 21 BPF_LD_IMM64(BPF_REG_0, 0), 22 BPF_LD_IMM64(BPF_REG_0, 1), 23 BPF_LD_IMM64(BPF_REG_0, 1), 35 BPF_LD_IMM64(BPF_REG_0, 0), [all …]
|
H A D | atomic_fetch_add.c | 4 BPF_MOV64_IMM(BPF_REG_0, 0), 12 BPF_MOV64_IMM(BPF_REG_0, 1), 18 BPF_MOV64_IMM(BPF_REG_0, 2), 26 BPF_MOV64_IMM(BPF_REG_0, 0), 34 BPF_MOV64_IMM(BPF_REG_0, 1), 40 BPF_MOV64_IMM(BPF_REG_0, 2), 48 BPF_MOV64_IMM(BPF_REG_0, 0), 60 BPF_MOV64_IMM(BPF_REG_0, 0), 74 BPF_MOV64_IMM(BPF_REG_0, 0), 75 BPF_ATOMIC_OP(BPF_DW, BPF_ADD | BPF_FETCH, BPF_REG_2, BPF_REG_0, -8), [all …]
|
H A D | jset.c | 27 BPF_MOV64_IMM(BPF_REG_0, 2), 67 BPF_MOV64_IMM(BPF_REG_0, 2), 79 BPF_MOV64_IMM(BPF_REG_0, 1), 80 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 93 BPF_MOV64_IMM(BPF_REG_0, 0), 94 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 108 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 137 BPF_ALU64_IMM(BPF_OR, BPF_REG_0, 2), 140 BPF_MOV64_IMM(BPF_REG_0, 0), 152 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 50 BPF_MOV64_IMM(BPF_REG_0, 1), 61 BPF_MOV64_IMM(BPF_REG_0, 1), 72 BPF_MOV64_IMM(BPF_REG_0, 0), 89 BPF_MOV64_IMM(BPF_REG_0, 0), 93 BPF_MOV64_IMM(BPF_REG_0, 1), 921 BPF_LD_IMM64(BPF_REG_0, 1281 BPF_LD_IMM64(BPF_REG_0, 1284 BPF_LD_IMM64(BPF_REG_0, 1287 BPF_LD_IMM64(BPF_REG_0, 1332 BPF_LD_IMM64(BPF_REG_0, [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 49 BPF_MOV64_IMM(BPF_REG_0, 1), 61 BPF_MOV64_IMM(BPF_REG_0, 1), 73 BPF_MOV64_IMM(BPF_REG_0, 1), 94 BPF_MOV64_IMM(BPF_REG_0, 0), 118 BPF_MOV64_IMM(BPF_REG_0, 1), 135 BPF_MOV64_IMM(BPF_REG_0, 0), 139 BPF_MOV64_IMM(BPF_REG_0, 1), 143 BPF_MOV64_IMM(BPF_REG_0, 0), 158 BPF_MOV64_IMM(BPF_REG_0, 1), 178 BPF_MOV64_IMM(BPF_REG_0, 0), [all …]
|