Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dctx_skb.c285 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 Dbpf_loop_inline.c218 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 Datomic_fetch.c9 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 Datomic_cmpxchg.c93 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 Djump.c5 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 Dld_abs.c128 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 Dcalls.c716 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 Dbasic_stx_ldx.c4 BPF_STX_MEM(BPF_B, BPF_REG_10, -1, -1),
13 BPF_STX_MEM(BPF_B, 14, BPF_REG_10, -1),
H A Dprecise.c174 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 Datomic_bounds.c15 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_0, -8),
H A Dctx_sk_lookup.c471 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 Devent_output.c29 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_2, -8), \
H A Dwide_access.c6 BPF_STX_MEM(BPF_DW, BPF_REG_1, BPF_REG_0, \
H A Datomic_or.c85 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_1, -8),
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sysctl.c151 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 Dtest_verifier.c297 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 Dsockopt.c136 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 Draw_tp_writable_test_run.c16 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_0, 0), in serial_test_raw_tp_writable_test_run()
H A Dcgroup_attach_multi.c41 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 Dgen_loader.c217 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 Dtest_cgrp2_sock.c45 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 Dcookie_uid_helper_example.c93 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 Dtest_cgrp2_attach.c50 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 Dsock_example.c51 BPF_STX_MEM(BPF_W, BPF_REG_10, BPF_REG_0, -4), /* *(u32 *)(fp - 4) = r0 */ in test_sock()
/openbmc/linux/lib/
H A Dtest_bpf.c7903 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 …]

12