Home
last modified time | relevance | path

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

12

/Linux-v5.10/tools/testing/selftests/bpf/verifier/
Dmasking.c10 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
26 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
42 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
58 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
74 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
90 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
106 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
122 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
138 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
154 BPF_ALU64_REG(BPF_AND, BPF_REG_1, BPF_REG_2),
[all …]
Dcgroup_storage.c9 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
24 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
38 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
86 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
102 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
119 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
134 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
148 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
196 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
212 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
Dvar_off.c7 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
28 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
78 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
103 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
128 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
153 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
179 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
208 BPF_ALU64_IMM(BPF_AND, BPF_REG_4, 4),
233 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 4),
Dand.c11 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, -4),
35 BPF_ALU32_REG(BPF_AND, BPF_REG_9, BPF_REG_1),
57 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 0xFFFF1234),
Dcgroup_inv_retcode.c15 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
25 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 3),
Dvalue_ptr_arith.c529 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xf),
549 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 31),
573 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 31),
597 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 31),
618 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xf),
638 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 31),
660 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xf),
661 BPF_ALU64_IMM(BPF_AND, BPF_REG_3, 1),
764 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xf),
784 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xf),
[all …]
Dloops1.c146 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
150 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
154 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 1),
Dhelper_access_var_len.c18 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 64),
37 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 64),
54 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 65),
346 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 64),
364 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 8),
580 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 63),
607 BPF_ALU64_IMM(BPF_AND, BPF_REG_2, 32),
Ddirect_packet_access.c255 BPF_ALU64_IMM(BPF_AND, BPF_REG_5, 15),
286 BPF_ALU64_IMM(BPF_AND, BPF_REG_5, 15),
436 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 0x7fff),
463 BPF_ALU64_IMM(BPF_AND, BPF_REG_4, 0x7fff),
518 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 0xffff),
545 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 0xff),
Dvalue_illegal_alu.c10 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 8),
Dsubreg.c191 BPF_ALU32_REG(BPF_AND, BPF_REG_0, BPF_REG_1),
204 BPF_ALU32_IMM(BPF_AND, BPF_REG_0, -1),
210 BPF_ALU32_IMM(BPF_AND, BPF_REG_0, -2),
Djset.c153 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xff),
Dctx.c82 BPF_ALU64_IMM(BPF_AND, BPF_REG_3, 4),
Dbounds.c163 BPF_ALU64_IMM(BPF_AND, BPF_REG_6, 1),
187 BPF_ALU64_IMM(BPF_AND, BPF_REG_6, 1),
347 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xffff),
Dvalue_or_null.c50 BPF_ALU64_IMM(BPF_AND, BPF_REG_4, -1),
/Linux-v5.10/tools/include/uapi/linux/
Dbpf_common.h37 #define BPF_AND 0x50 macro
/Linux-v5.10/include/uapi/linux/
Dbpf_common.h37 #define BPF_AND 0x50 macro
/Linux-v5.10/arch/mips/net/
Debpf_jit.c441 case BPF_AND: in gen_imm_insn()
479 case BPF_ALU64 | BPF_AND: in gen_imm_insn()
480 case BPF_ALU | BPF_AND: in gen_imm_insn()
534 case BPF_ALU64 | BPF_AND: in gen_imm_insn()
535 case BPF_ALU | BPF_AND: in gen_imm_insn()
677 case BPF_ALU64 | BPF_AND | BPF_K: /* ALU64_IMM */ in build_one_insn()
687 case BPF_ALU | BPF_AND | BPF_K: /* ALU64_IMM */ in build_one_insn()
815 case BPF_ALU64 | BPF_AND | BPF_X: /* ALU64_REG */ in build_one_insn()
865 case BPF_AND: in build_one_insn()
911 case BPF_ALU | BPF_AND | BPF_X: /* ALU_REG */ in build_one_insn()
[all …]
/Linux-v5.10/tools/bpf/
Dbpf_exp.y399 bpf_set_curr_instr(BPF_ALU | BPF_AND | BPF_K, 0, 0, $3); }
401 bpf_set_curr_instr(BPF_ALU | BPF_AND | BPF_X, 0, 0, 0); }
403 bpf_set_curr_instr(BPF_ALU | BPF_AND | BPF_X, 0, 0, 0); }
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c34 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0x1), in main()
/Linux-v5.10/arch/riscv/net/
Dbpf_jit_comp32.c253 case BPF_AND: in emit_alu_i64()
353 case BPF_AND: in emit_alu_i32()
438 case BPF_AND: in emit_alu_r64()
529 case BPF_AND: in emit_alu_r32()
980 case BPF_ALU64 | BPF_AND | BPF_X: in bpf_jit_emit_insn()
1008 case BPF_ALU64 | BPF_AND | BPF_K: in bpf_jit_emit_insn()
1027 case BPF_ALU | BPF_AND | BPF_X: in bpf_jit_emit_insn()
1053 case BPF_ALU | BPF_AND | BPF_K: in bpf_jit_emit_insn()
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dalign.c371 BPF_ALU64_IMM(BPF_AND, BPF_REG_6, 0xff),
533 BPF_ALU64_IMM(BPF_AND, BPF_REG_6, 0xf),
/Linux-v5.10/lib/
Dtest_bpf.c539 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xf0),
1064 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xf),
1072 BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0xf0),
1894 BPF_ALU64_IMM(BPF_AND, R4, 63),
3367 BPF_ALU32_REG(BPF_AND, R0, R1),
3379 BPF_ALU32_REG(BPF_AND, R0, R1),
3391 BPF_ALU64_REG(BPF_AND, R0, R1),
3403 BPF_ALU64_REG(BPF_AND, R0, R1),
3415 BPF_ALU32_IMM(BPF_AND, R0, 2),
3426 BPF_ALU32_IMM(BPF_AND, R0, 0xffffffff),
[all …]
/Linux-v5.10/arch/x86/net/
Dbpf_jit_comp.c832 case BPF_ALU | BPF_AND | BPF_X: in do_jit()
837 case BPF_ALU64 | BPF_AND | BPF_X: in do_jit()
843 case BPF_AND: b2 = 0x21; break; in do_jit()
873 case BPF_ALU | BPF_AND | BPF_K: in do_jit()
878 case BPF_ALU64 | BPF_AND | BPF_K: in do_jit()
899 case BPF_AND: in do_jit()
/Linux-v5.10/samples/bpf/
Dtest_cgrp2_sock.c53 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 0xffffffff), in prog_load()

12