Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/verifier/
Ddirect_value_access.c6 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242),
18 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242),
30 BPF_ST_MEM(BPF_DW, BPF_REG_1, 8, 4242),
42 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242),
54 BPF_ST_MEM(BPF_DW, BPF_REG_1, 8, 4242),
66 BPF_ST_MEM(BPF_DW, BPF_REG_1, 4, 4242),
79 BPF_ST_MEM(BPF_DW, BPF_REG_1, 4, 4242),
91 BPF_ST_MEM(BPF_DW, BPF_REG_1, -1, 4242),
103 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 4242),
115 BPF_ST_MEM(BPF_B, BPF_REG_1, 0, 4),
[all …]
Dbpf_st_mem.c4 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 42),
20 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
42 BPF_ST_MEM(BPF_DW, BPF_REG_10, -16, 0),
43 BPF_ST_MEM(BPF_DW, BPF_REG_10, -24, 0),
54 BPF_ST_MEM(BPF_B, BPF_REG_0, 0, 0),
Dmap_kptr.c10 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
14 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 1),
30 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
34 BPF_ST_MEM(BPF_W, BPF_REG_0, 0, 0),
50 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
81 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
113 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
118 BPF_ST_MEM(BPF_DW, BPF_REG_0, 0, 0),
135 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
165 BPF_ST_MEM(BPF_W, BPF_REG_2, 0, 0),
[all …]
Djump.c7 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0),
9 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 1),
11 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 2),
13 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 3),
15 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 4),
17 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 5),
30 BPF_ST_MEM(BPF_DW, BPF_REG_2, -8, 0),
33 BPF_ST_MEM(BPF_DW, BPF_REG_2, -16, 0),
36 BPF_ST_MEM(BPF_DW, BPF_REG_2, -32, 0),
39 BPF_ST_MEM(BPF_DW, BPF_REG_2, -40, 0),
[all …]
Dcalls.c104 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0),
123 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0),
166 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0),
195 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0),
230 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0),
257 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 0),
371 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
661 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
973 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
996 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
[all …]
Datomic_fetch_add.c6 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
28 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
49 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
61 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
Datomic_and.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
82 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
Datomic_xor.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
Datomic_or.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
27 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0x110),
57 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 0x110),
Datomic_xchg.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
28 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
Datomic_fetch.c12 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0),
36 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0),
60 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0),
83 BPF_ST_MEM(BPF_DW, BPF_REG_2, 0, 0),
100 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, operand1), \
Datomic_cmpxchg.c5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
42 BPF_ST_MEM(BPF_W, BPF_REG_10, -4, 3),
78 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 3),
115 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
Dbpf_loop_inline.c182 BPF_ST_MEM(BPF_W, BPF_REG_10, -12, 0x77),
202 BPF_ST_MEM(BPF_DW, BPF_REG_10, -32, 0x55),
216 BPF_ST_MEM(BPF_W, BPF_REG_10, -12, 0x77),
227 BPF_ST_MEM(BPF_DW, BPF_REG_10, -32, 0x55),
Dbasic_stx_ldx.c22 BPF_ST_MEM(BPF_B, 14, -1, -1),
Dprecise.c9 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0),
68 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0),
147 BPF_ST_MEM(BPF_DW, BPF_REG_3, -8, 0),
Djmp32.c795 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
810 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0),
822 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
838 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0),
850 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
866 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0),
Dctx_skb.c45 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
69 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
92 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0),
/tools/testing/selftests/bpf/progs/
Dsyscall.c65 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), in bpf_prog()
Dverifier_unpriv.c395 BPF_ST_MEM(BPF_W, BPF_REG_1, offsetof(struct __sk_buff, mark), 42)) in fill_of_different_pointers_st()
/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c300 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 0xFF),
389 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 0xF0),
699 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 0xF0),
736 BPF_ST_MEM(BPF_B, BPF_REG_2, 0, 1 << 3),
Dctx_rewrite.c861 BPF_ST_MEM(bpf_sz, BPF_REG_1, test->field_offset, in run_one_testcase()
/tools/lib/bpf/
Dgen_loader.c697 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); in emit_relo_kfunc_btf()
698 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf()
714 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf()
718 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), btf_fd_idx)); in emit_relo_kfunc_btf()
829 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); in emit_relo_ksym_btf()
830 …emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, sizeof(struct bpf_insn) + offsetof(struct bpf_insn, imm), 0… in emit_relo_ksym_btf()
Dlibbpf.c4573 BPF_ST_MEM(BPF_DW, BPF_REG_1, 0, 42), in probe_kern_global_data()
/tools/include/linux/
Dfilter.h200 #define BPF_ST_MEM(SIZE, DST, OFF, IMM) \ macro
/tools/testing/selftests/bpf/
Dtest_verifier.c406 insn[i++] = BPF_ST_MEM(BPF_B, BPF_REG_10, -32, 0); in bpf_fill_torturous_jumps()