/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_skb.c | 285 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 297 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 308 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 372 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 383 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_1, 395 BPF_STX_MEM(BPF_B, BPF_REG_1, BPF_REG_0, 397 BPF_STX_MEM(BPF_B, BPF_REG_1, BPF_REG_0, 399 BPF_STX_MEM(BPF_B, BPF_REG_1, BPF_REG_0, 401 BPF_STX_MEM(BPF_B, BPF_REG_1, BPF_REG_0, 403 BPF_STX_MEM(BPF_B, BPF_REG_1, BPF_REG_0, [all …]
|
H A D | bpf_loop_inline.c | 218 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -40), 219 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -32), 220 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24), 223 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -40), 224 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -32), 225 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24), 232 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -56), 233 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -48), 234 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -40),
|
H A D | atomic_fetch.c | 9 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_9, 0), 16 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0), 33 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_9, 0), 40 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0), 57 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_9, 0), 64 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0), 80 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_9, 0), 87 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0),
|
H A D | atomic_cmpxchg.c | 93 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 139 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 159 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 180 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), 199 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -8), 220 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -8),
|
H A D | jump.c | 5 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_1, -8), 146 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_3, -8), 148 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_2, -8), 152 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_3, -8), 154 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_2, -8), 158 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_3, -8), 160 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_2, -8), 164 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_3, -8), 166 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_2, -8), 170 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_3, -8), [all …]
|
H A D | ld_abs.c | 128 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -64), 131 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -60), 133 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -56), 141 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -56), 144 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -52), 146 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -48),
|
H A D | calls.c | 716 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_0, 0), 735 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_0, 0), 1015 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 1262 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, 0), 1393 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_0, 0), 1447 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_0, 0), 1501 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_0, 0), 1538 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_0, 0), 1551 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 1610 BPF_STX_MEM(BPF_DW, BPF_REG_6, BPF_REG_0, 0), [all …]
|
H A D | basic_stx_ldx.c | 4 BPF_STX_MEM(BPF_B, BPF_REG_10, -1, -1), 13 BPF_STX_MEM(BPF_B, 14, BPF_REG_10, -1),
|
H A D | precise.c | 174 BPF_STX_MEM(BPF_DW, BPF_REG_3, BPF_REG_0, -8), 238 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), 251 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_3, 0),
|
H A D | atomic_bounds.c | 15 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8),
|
H A D | ctx_sk_lookup.c | 471 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 0), 484 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 0), 497 BPF_STX_MEM(BPF_H, BPF_REG_1, BPF_REG_0, 0), 510 BPF_STX_MEM(BPF_B, BPF_REG_1, BPF_REG_0, 0), 523 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0,
|
H A D | event_output.c | 29 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -8), \
|
H A D | wide_access.c | 6 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, \
|
H A D | atomic_or.c | 85 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8),
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 151 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 215 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 233 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 274 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 316 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 317 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 8), 371 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 372 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 8), 420 BPF_STX_MEM(BPF_DW, BPF_REG_7, BPF_REG_0, 0), 498 BPF_STX_MEM(BPF_B, BPF_REG_7, BPF_REG_0, 7), [all …]
|
H A D | test_verifier.c | 297 insn[i++] = BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_6, in bpf_fill_scale1() 329 insn[i++] = BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_6, in bpf_fill_scale2() 467 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_2, -8), \ 468 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -16), \ 469 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -24), \ 470 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -32), \ 471 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -40), \ 472 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -48), \
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 136 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 159 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 179 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 220 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 240 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 261 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 266 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 306 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 327 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, 331 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_0, [all …]
|
H A D | raw_tp_writable_test_run.c | 16 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_0, 0), in serial_test_raw_tp_writable_test_run()
|
H A D | cgroup_attach_multi.c | 41 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in prog_load_cnt() 61 BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_3, 0), in prog_load_cnt()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | gen_loader.c | 217 emit(gen, BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, 0)); in emit_rel_store() 227 emit(gen, BPF_STX_MEM(insn_bytes_to_bpf_size(size), BPF_REG_1, BPF_REG_0, 0)); in move_blob2blob() 445 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_7, stack_off(btf_fd))); in bpf_gen__load_btf() 510 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_7, in bpf_gen__map_create() 520 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_7, 0)); in bpf_gen__map_create() 710 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_9, 0)); in emit_relo_kfunc_btf() 781 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_9, in emit_relo_ksym_typeless() 837 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_7, in emit_relo_ksym_btf() 1010 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_7, in bpf_gen__prog_load() 1013 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_7, in bpf_gen__prog_load() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock.c | 45 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_3, offsetof(struct bpf_sock, bound_dev_if)), in prog_load() 63 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_3, offsetof(struct bpf_sock, mark)), in prog_load() 71 BPF_STX_MEM(BPF_W, BPF_REG_1, BPF_REG_3, offsetof(struct bpf_sock, priority)), in prog_load()
|
H A D | cookie_uid_helper_example.c | 93 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8), in prog_load() 118 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, in prog_load() 128 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, in prog_load()
|
H A D | test_cgrp2_attach.c | 50 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in prog_load() 61 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in prog_load()
|
H A D | sock_example.c | 51 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in test_sock()
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 7903 BPF_STX_MEM(BPF_B, R1, R2, 256), 7992 BPF_STX_MEM(BPF_H, R1, R2, 256), 8024 BPF_STX_MEM(BPF_H, R1, R2, 13), 8097 BPF_STX_MEM(BPF_W, R1, R2, 256), 8129 BPF_STX_MEM(BPF_W, R1, R2, 13), 8220 BPF_STX_MEM(BPF_DW, R1, R2, 13), 8240 BPF_STX_MEM(BPF_B, R10, R2, -1), 14979 BPF_STX_MEM(BPF_W, R1, R2, 0), 14991 BPF_STX_MEM(BPF_W, R1, R2, 0), 15013 BPF_STX_MEM(BPF_W, R1, R2, 0), [all …]
|