/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | calls.c | 27 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 42 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 57 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 72 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 87 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 102 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 106 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), 121 BPF_MOV64_REG(BPF_REG_1, BPF_REG_10), 128 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), 148 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), [all …]
|
H A D | map_kptr.c | 5 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 7 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 25 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 27 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 45 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 47 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 54 BPF_MOV64_REG(BPF_REG_3, BPF_REG_0), 76 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 78 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 85 BPF_MOV64_REG(BPF_REG_3, BPF_REG_0), [all …]
|
H A D | ld_abs.c | 4 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 7 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1), 16 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 19 BPF_MOV64_REG(BPF_REG_0, BPF_REG_2), 28 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 31 BPF_MOV64_REG(BPF_REG_0, BPF_REG_3), 40 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 43 BPF_MOV64_REG(BPF_REG_0, BPF_REG_4), 52 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 55 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5), [all …]
|
H A D | precise.c | 6 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 7 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 14 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), 16 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 17 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 23 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 26 BPF_MOV64_REG(BPF_REG_2, BPF_REG_9), 31 BPF_MOV64_REG(BPF_REG_1, BPF_REG_FP), 65 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), 66 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), [all …]
|
H A D | atomic_fetch.c | 7 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 13 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 31 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 35 BPF_MOV64_REG(BPF_REG_9, BPF_REG_1), 37 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 55 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 61 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 78 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 82 BPF_MOV64_REG(BPF_REG_9, BPF_REG_1), 84 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), [all …]
|
H A D | atomic_cmpxchg.c | 117 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10), 137 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10), 157 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10), 161 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10), 178 BPF_MOV64_REG(BPF_REG_0, BPF_REG_10), 182 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
|
H A D | jmp32.c | 796 BPF_MOV64_REG(BPF_REG_8, BPF_REG_1), 797 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 802 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 803 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 823 BPF_MOV64_REG(BPF_REG_8, BPF_REG_1), 824 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 829 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 830 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 851 BPF_MOV64_REG(BPF_REG_8, BPF_REG_1), 852 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), [all …]
|
H A D | ctx_skb.c | 46 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 52 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), 70 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 76 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), 93 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 99 BPF_MOV64_REG(BPF_REG_1, BPF_REG_0), 322 BPF_MOV64_REG(BPF_REG_0, BPF_REG_2), 339 BPF_MOV64_REG(BPF_REG_0, BPF_REG_2), 356 BPF_MOV64_REG(BPF_REG_0, BPF_REG_2), 359 BPF_MOV64_REG(BPF_REG_1, BPF_REG_2), [all …]
|
H A D | jump.c | 4 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 28 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 56 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 143 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), 144 BPF_MOV64_REG(BPF_REG_3, BPF_REG_2), 391 BPF_MOV64_REG(BPF_REG_0, BPF_REG_4),
|
H A D | basic_instr.c | 10 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1), 198 BPF_MOV64_REG(BPF_REG_2, BPF_REG_2), 211 BPF_MOV64_REG(BPF_REG_2, BPF_REG_3),
|
H A D | dead_code.c | 139 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1), 154 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1),
|
H A D | event_output.c | 30 BPF_MOV64_REG(BPF_REG_4, BPF_REG_10), \
|
H A D | atomic_or.c | 95 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1),
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 230 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), 235 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 271 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), 276 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 313 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), 320 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 368 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), 374 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 417 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), 422 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), [all …]
|
H A D | test_sock.c | 53 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 66 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 79 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 92 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 199 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 229 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 259 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 290 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), 321 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
|
H A D | test_verifier.c | 197 insn[i++] = BPF_MOV64_REG(BPF_REG_6, BPF_REG_1); in bpf_fill_ld_abs_vlan_push_pop() 204 insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_6); in bpf_fill_ld_abs_vlan_push_pop() 217 insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_6); in bpf_fill_ld_abs_vlan_push_pop() 247 insn[i++] = BPF_MOV64_REG(BPF_REG_6, BPF_REG_1); in bpf_fill_jump_around_ld_abs() 273 insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_0); in bpf_fill_rand_ld_dw() 290 insn[i++] = BPF_MOV64_REG(BPF_REG_6, BPF_REG_1); in bpf_fill_scale1() 296 insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_10); in bpf_fill_scale1() 321 insn[i++] = BPF_MOV64_REG(BPF_REG_6, BPF_REG_1); in bpf_fill_scale2() 328 insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_10); in bpf_fill_scale2() 474 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), \ [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | align.c | 139 BPF_MOV64_REG(BPF_REG_0, BPF_REG_2), \ 183 BPF_MOV64_REG(BPF_REG_4, BPF_REG_3), 185 BPF_MOV64_REG(BPF_REG_4, BPF_REG_3), 187 BPF_MOV64_REG(BPF_REG_4, BPF_REG_3), 189 BPF_MOV64_REG(BPF_REG_4, BPF_REG_3), 213 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2), 219 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5), 256 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2), 259 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5), 268 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2), [all …]
|
H A D | sockopt.c | 289 BPF_MOV64_REG(BPF_REG_2, BPF_REG_6), 378 BPF_MOV64_REG(BPF_REG_2, BPF_REG_6), 688 BPF_MOV64_REG(BPF_REG_2, BPF_REG_6), 725 BPF_MOV64_REG(BPF_REG_2, BPF_REG_6), 830 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 876 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6),
|
/openbmc/linux/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 85 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), in prog_load() 94 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), in prog_load() 101 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), in prog_load() 110 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), in prog_load() 136 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), in prog_load() 137 BPF_MOV64_REG(BPF_REG_3, BPF_REG_10), in prog_load() 148 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), in prog_load()
|
H A D | test_cgrp2_attach.c | 46 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), /* save r6 so it's not clobbered by BPF_CALL */ in prog_load() 51 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in prog_load() 62 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in prog_load()
|
H A D | test_cgrp2_sock.c | 34 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), in prog_load() 56 BPF_MOV64_REG(BPF_REG_3, BPF_REG_0), in prog_load() 61 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), in prog_load() 68 BPF_MOV64_REG(BPF_REG_1, BPF_REG_6), in prog_load()
|
H A D | sock_example.c | 49 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1), in test_sock() 52 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in test_sock()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | gen_loader.c | 121 emit(gen, BPF_MOV64_REG(BPF_REG_6, BPF_REG_1)); in bpf_gen__init() 124 emit(gen, BPF_MOV64_REG(BPF_REG_1, BPF_REG_10)); in bpf_gen__init() 152 emit(gen, BPF_MOV64_REG(BPF_REG_0, BPF_REG_7)); in bpf_gen__init() 274 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_sys_bpf() 320 emit(gen, BPF_MOV64_REG(BPF_REG_3, reg1)); in emit_debug() 322 emit(gen, BPF_MOV64_REG(BPF_REG_4, reg2)); in emit_debug() 351 emit(gen, BPF_MOV64_REG(BPF_REG_9, BPF_REG_1)); in __emit_sys_close() 553 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_find_attach_target() 627 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_bpf_find_by_name_kind() 647 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_4)); in emit_bpf_kallsyms_lookup_name() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_uninit.c | 31 : __imm_insn(mov64_reg, BPF_MOV64_REG(BPF_REG_0, -1)) in read_invalid_register()
|
H A D | syscall.c | 66 BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), in bpf_prog()
|