Home
last modified time | relevance | path

Searched refs:BPF_MOV (Results 1 – 22 of 22) sorted by relevance

/tools/testing/selftests/bpf/verifier/
Draw_stack.c5 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
21 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
37 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
53 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
69 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
84 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
100 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
123 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
143 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
173 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
[all …]
Djmp32.c231 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
258 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
281 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
301 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
328 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
351 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
371 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
398 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
421 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
441 BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, 2),
[all …]
Dld_abs.c168 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
170 BPF_ALU64_IMM(BPF_MOV, BPF_REG_2, 2),
172 BPF_ALU64_REG(BPF_MOV, BPF_REG_8, BPF_REG_0),
188 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
190 BPF_ALU64_IMM(BPF_MOV, BPF_REG_2, 2),
192 BPF_ALU64_REG(BPF_MOV, BPF_REG_8, BPF_REG_0),
208 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
209 BPF_ALU64_IMM(BPF_MOV, BPF_REG_7, 0),
224 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
225 BPF_ALU64_IMM(BPF_MOV, BPF_REG_7, 0),
Dbasic_call.c42 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
44 BPF_ALU64_REG(BPF_MOV, BPF_REG_1, BPF_REG_6),
Dunpriv.c165 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
177 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
191 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
206 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
224 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
251 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
285 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
316 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
348 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
376 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_10),
[all …]
Dbasic_instr.c111 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_1),
125 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_1),
153 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_1),
168 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_1),
Dbasic.c19 BPF_ALU64_REG(BPF_MOV, BPF_REG_0, BPF_REG_2),
Duninit.c22 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_1),
Dsearch_pruning.c138 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
140 BPF_ALU64_REG(BPF_MOV, BPF_REG_7, BPF_REG_0),
Dmap_ret_val.c5 BPF_ALU64_REG(BPF_MOV, BPF_REG_2, BPF_REG_10),
Dspill_fill.c21 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
Dvalue_ptr_arith.c1113 BPF_ALU32_REG(BPF_MOV, BPF_REG_4, BPF_REG_7),
1132 BPF_ALU32_REG(BPF_MOV, BPF_REG_4, BPF_REG_6),
/tools/include/linux/
Dfilter.h82 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
90 .code = BPF_ALU | BPF_MOV | BPF_X, \
100 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
108 .code = BPF_ALU | BPF_MOV | BPF_K, \
118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
126 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
/tools/perf/util/
Dbpf-prologue.c156 ins(BPF_ALU64_IMM(BPF_MOV, BPF_REG_ARG2, BPF_REG_SIZE), pos); in gen_read_mem()
386 ins(BPF_ALU64_IMM(BPF_MOV, BPF_PROLOGUE_FETCH_RESULT_REG, 0), in bpf__gen_prologue()
463 ins(BPF_ALU64_IMM(BPF_MOV, BPF_PROLOGUE_FETCH_RESULT_REG, 1), in bpf__gen_prologue()
467 ins(BPF_ALU64_IMM(BPF_MOV, in bpf__gen_prologue()
481 ins(BPF_ALU64_IMM(BPF_MOV, BPF_PROLOGUE_FETCH_RESULT_REG, 0), &pos); in bpf__gen_prologue()
/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_load_bytes.c14 BPF_ALU64_REG(BPF_MOV, BPF_REG_3, BPF_REG_10), in test_flow_dissector_load_bytes()
Dsignal_pending.c22 prog[i] = BPF_ALU64_IMM(BPF_MOV, BPF_REG_0, 0); in test_signal_pending_by_type()
Dobj_name.c17 BPF_ALU64_IMM(BPF_MOV, BPF_REG_0, 0), in test_obj_name()
/tools/testing/selftests/bpf/
Dtest_tag.c33 prog[i] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, rand()); in bpf_gen_imm_prog()
49 prog[insns - 2] = BPF_ALU64_IMM(BPF_MOV, i % BPF_REG_10, 42); in bpf_gen_map_prog()
Dtest_verifier.c186 insn[i] = BPF_ALU64_IMM(BPF_MOV, BPF_REG_0, 0xbef); in bpf_fill_ld_abs_vlan_push_pop()
263 insn[i++] = BPF_ALU64_IMM(BPF_MOV, BPF_REG_0, 42); in bpf_fill_scale1()
292 insn[i++] = BPF_ALU64_IMM(BPF_MOV, BPF_REG_0, 42); in bpf_fill_scale2()
/tools/testing/selftests/net/
Dpsock_fanout.c149 { BPF_ALU64 | BPF_MOV | BPF_X, 6, 1, 0, 0 }, in sock_fanout_set_ebpf()
156 { BPF_ALU | BPF_MOV | BPF_K, 0, 0, 0, 0 }, in sock_fanout_set_ebpf()
Dreuseport_bpf.c102 { BPF_ALU64 | BPF_MOV | BPF_X, BPF_REG_6, BPF_REG_1, 0, 0 }, in attach_ebpf()
345 { BPF_ALU64 | BPF_MOV | BPF_K, BPF_REG_0, 0, 0, 10 }, in test_filter_no_reuseport()
/tools/include/uapi/linux/
Dbpf.h26 #define BPF_MOV 0xb0 /* mov reg to reg */ macro