Home
last modified time | relevance | path

Searched refs:BPF_MOV32_IMM (Results 1 – 21 of 21) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/verifier/
Ddiv0.c4 BPF_MOV32_IMM(BPF_REG_0, 42),
5 BPF_MOV32_IMM(BPF_REG_1, 0),
6 BPF_MOV32_IMM(BPF_REG_2, 1),
16 BPF_MOV32_IMM(BPF_REG_0, 42),
18 BPF_MOV32_IMM(BPF_REG_2, 1),
28 BPF_MOV32_IMM(BPF_REG_0, 42),
29 BPF_MOV32_IMM(BPF_REG_1, 0),
30 BPF_MOV32_IMM(BPF_REG_2, 1),
40 BPF_MOV32_IMM(BPF_REG_0, 42),
41 BPF_MOV32_IMM(BPF_REG_1, 0),
[all …]
Dmasking.c4 BPF_MOV32_IMM(BPF_REG_1, 5),
5 BPF_MOV32_IMM(BPF_REG_2, 5 - 1),
20 BPF_MOV32_IMM(BPF_REG_1, 1),
21 BPF_MOV32_IMM(BPF_REG_2, 1 - 1),
36 BPF_MOV32_IMM(BPF_REG_1, 0xffffffff),
37 BPF_MOV32_IMM(BPF_REG_2, 0xffffffff - 1),
52 BPF_MOV32_IMM(BPF_REG_1, 0xffffffff),
53 BPF_MOV32_IMM(BPF_REG_2, 1 - 1),
68 BPF_MOV32_IMM(BPF_REG_1, -1),
69 BPF_MOV32_IMM(BPF_REG_2, 1 - 1),
[all …]
Ddiv_overflow.c8 BPF_MOV32_IMM(BPF_REG_1, -1),
9 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
20 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
34 BPF_MOV32_IMM(BPF_REG_0, 0),
36 BPF_MOV32_IMM(BPF_REG_0, 1),
48 BPF_MOV32_IMM(BPF_REG_0, 0),
50 BPF_MOV32_IMM(BPF_REG_0, 1),
60 BPF_MOV32_IMM(BPF_REG_1, -1),
61 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
72 BPF_MOV32_IMM(BPF_REG_0, INT_MIN),
[all …]
Dld_abs.c110 BPF_MOV32_IMM(BPF_REG_0, 256),
127 BPF_MOV32_IMM(BPF_REG_0, 18),
132 BPF_MOV32_IMM(BPF_REG_0, 280971478),
140 BPF_MOV32_IMM(BPF_REG_0, 22),
145 BPF_MOV32_IMM(BPF_REG_0, 17366),
151 BPF_MOV32_IMM(BPF_REG_0, 256),
153 BPF_MOV32_IMM(BPF_REG_0, 0),
Ddirect_stack_access_wraparound.c7 BPF_MOV32_IMM(BPF_REG_0, 0),
20 BPF_MOV32_IMM(BPF_REG_0, 0),
33 BPF_MOV32_IMM(BPF_REG_0, 0),
Dbasic_instr.c19 BPF_MOV32_IMM(BPF_REG_2, -1),
23 BPF_MOV32_IMM(BPF_REG_0, 2),
25 BPF_MOV32_IMM(BPF_REG_0, 1),
181 BPF_MOV32_IMM(BPF_REG_0, 0),
Darray_access.c72 BPF_MOV32_IMM(BPF_REG_1, 0),
73 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
75 BPF_MOV32_IMM(BPF_REG_1, 0),
154 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
156 BPF_MOV32_IMM(BPF_REG_1, 0),
179 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES + 1),
181 BPF_MOV32_IMM(BPF_REG_1, 0),
Dsearch_pruning.c68 BPF_MOV32_IMM(BPF_REG_2, MAX_ENTRIES),
70 BPF_MOV32_IMM(BPF_REG_1, 0),
Djmp32.c766 BPF_MOV32_IMM(BPF_REG_0, 0),
787 BPF_MOV32_IMM(BPF_REG_2, 1),
794 BPF_MOV32_IMM(BPF_REG_0, 0),
815 BPF_MOV32_IMM(BPF_REG_2, 1),
822 BPF_MOV32_IMM(BPF_REG_0, 0),
Draw_tp_writable.c9 BPF_MOV32_IMM(BPF_REG_0, 0),
Dand.c38 BPF_MOV32_IMM(BPF_REG_3, 1),
Dsubreg.c378 BPF_MOV32_IMM(BPF_REG_0, 0),
384 BPF_MOV32_IMM(BPF_REG_0, 1),
Dcalls.c41 BPF_MOV32_IMM(BPF_REG_2, 0),
42 BPF_MOV32_IMM(BPF_REG_3, 1),
69 BPF_MOV32_IMM(BPF_REG_0, 42),
370 BPF_MOV32_IMM(BPF_REG_0, 0),
Dunpriv.c414 BPF_MOV32_IMM(BPF_REG_7, 0),
Dbounds.c88 BPF_MOV32_IMM(BPF_REG_2, 0xffffffff),
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog03.c52 BPF_MOV32_IMM(BPF_REG_2, 0), in load_prog()
61 BPF_MOV32_IMM(BPF_REG_1, -1), in load_prog()
84 BPF_MOV32_IMM(BPF_REG_0, 0), in load_prog()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_sock_addr.c745 BPF_MOV32_IMM(BPF_REG_7, addr4_rw.sin_addr.s_addr), in bind4_prog_load()
750 BPF_MOV32_IMM(BPF_REG_7, addr4_rw.sin_port), in bind4_prog_load()
804 BPF_MOV32_IMM(BPF_REG_7, addr6_rw.sin6_addr.s6_addr32[N]), \ in bind6_prog_load()
815 BPF_MOV32_IMM(BPF_REG_7, addr6_rw.sin6_port), in bind6_prog_load()
920 BPF_MOV32_IMM(BPF_REG_7, src4_rw_ip.s_addr), in sendmsg4_rw_asm_prog_load()
925 BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_addr.s_addr), in sendmsg4_rw_asm_prog_load()
930 BPF_MOV32_IMM(BPF_REG_7, dst4_rw_addr.sin_port), in sendmsg4_rw_asm_prog_load()
966 BPF_MOV32_IMM(BPF_REG_7, src4_rw_addr.sin_addr.s_addr), in recvmsg4_rw_asm_prog_load()
971 BPF_MOV32_IMM(BPF_REG_7, src4_rw_addr.sin_port), in recvmsg4_rw_asm_prog_load()
1014 BPF_MOV32_IMM(BPF_REG_7, SRC[N]), \ in sendmsg6_rw_dst_asm_prog_load()
[all …]
Dtest_cgroup_attach.c246 BPF_MOV32_IMM(BPF_REG_0, 0), in prog_load_cnt()
Dtest_verifier.c175 insn[len - 2] = BPF_MOV32_IMM(BPF_REG_0, 0); in bpf_fill_ld_abs_vlan_push_pop()
208 insn[i++] = BPF_MOV32_IMM(BPF_REG_0, 0); in bpf_fill_rand_ld_dw()
/external/iproute2/include/
Dbpf_util.h132 #define BPF_MOV32_IMM(DST, IMM) \ macro
/external/ltp/include/lapi/
Dbpf.h529 #define BPF_MOV32_IMM(DST, IMM) \ macro