/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_fetch.c | 10 BPF_ATOMIC_OP(BPF_DW, BPF_AND | BPF_FETCH, BPF_REG_2, BPF_REG_1, 0), 34 BPF_ATOMIC_OP(BPF_DW, BPF_AND | BPF_FETCH, BPF_REG_2, BPF_REG_1, 0), 58 BPF_ATOMIC_OP(BPF_W, BPF_AND | BPF_FETCH, BPF_REG_2, BPF_REG_1, 0), 81 BPF_ATOMIC_OP(BPF_W, BPF_AND | BPF_FETCH, BPF_REG_2, BPF_REG_1, 0), 127 __ATOMIC_FETCH_OP_TEST(BPF_REG_1, BPF_REG_2, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010), 128 __ATOMIC_FETCH_OP_TEST(BPF_REG_0, BPF_REG_1, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010), 129 __ATOMIC_FETCH_OP_TEST(BPF_REG_1, BPF_REG_0, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010), 130 __ATOMIC_FETCH_OP_TEST(BPF_REG_2, BPF_REG_3, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010), 131 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010), 132 __ATOMIC_FETCH_OP_TEST(BPF_REG_9, BPF_REG_8, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010),
|
H A D | atomic_and.c | 8 BPF_ATOMIC_OP(BPF_DW, BPF_AND, BPF_REG_10, BPF_REG_1, -8), 30 BPF_ATOMIC_OP(BPF_DW, BPF_AND | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8), 60 BPF_ATOMIC_OP(BPF_W, BPF_AND | BPF_FETCH, BPF_REG_10, BPF_REG_1, -4), 85 BPF_ATOMIC_OP(BPF_DW, BPF_AND | BPF_FETCH, BPF_REG_10, BPF_REG_0, -8),
|
H A D | atomic_invalid.c | 18 __INVALID_ATOMIC_ACCESS_TEST(BPF_AND), 19 __INVALID_ATOMIC_ACCESS_TEST(BPF_AND | BPF_FETCH),
|
H A D | jset.c | 154 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0xff),
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 79 [BPF_AND >> 4] = "&=", 103 [BPF_AND >> 4] = "and", 212 (insn->imm == BPF_ADD || insn->imm == BPF_AND || in print_bpf_insn() 222 insn->imm == (BPF_AND | BPF_FETCH) || in print_bpf_insn()
|
H A D | test_cgroup_storage.c | 35 BPF_ALU64_IMM(BPF_AND, BPF_REG_1, 0x1), in main()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 79 [BPF_AND >> 4] = "&=", 103 [BPF_AND >> 4] = "and", 212 (insn->imm == BPF_ADD || insn->imm == BPF_AND || in print_bpf_insn() 222 insn->imm == (BPF_AND | BPF_FETCH) || in print_bpf_insn()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 37 #define BPF_AND 0x50 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 37 #define BPF_AND 0x50 macro
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp.c | 230 case BPF_AND: in valid_alu_i() 268 op = BPF_AND; in rewrite_alu_i() 287 op = BPF_AND; in rewrite_alu_i() 306 case BPF_AND: in emit_alu_i() 346 case BPF_AND: in emit_alu_r() 418 case BPF_AND: in emit_atomic_r() 419 case BPF_AND | BPF_FETCH: in emit_atomic_r()
|
H A D | bpf_jit_comp64.c | 394 case BPF_AND: in emit_atomic_r64() 395 case BPF_AND | BPF_FETCH: in emit_atomic_r64() 674 case BPF_ALU | BPF_AND | BPF_K: in build_insn() 713 case BPF_ALU | BPF_AND | BPF_X: in build_insn() 762 case BPF_ALU64 | BPF_AND | BPF_K: in build_insn() 791 case BPF_ALU64 | BPF_AND | BPF_X: in build_insn() 854 case BPF_AND: in build_insn() 855 case BPF_AND | BPF_FETCH: in build_insn()
|
H A D | bpf_jit_comp32.c | 249 case BPF_AND: in emit_alu_i64() 296 case BPF_AND: in emit_alu_r64() 756 case BPF_AND: in emit_atomic_r32() 759 case BPF_AND | BPF_FETCH: in emit_atomic_r32() 837 case BPF_AND: in emit_atomic_r64() 840 case BPF_AND | BPF_FETCH: in emit_atomic_r64() 1509 case BPF_ALU | BPF_AND | BPF_K: in build_insn() 1694 case BPF_AND: in build_insn() 1695 case BPF_AND | BPF_FETCH: in build_insn() 1726 case BPF_AND: in build_insn() [all …]
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 550 case BPF_AND: in __bpf_alu_result() 4493 BPF_ALU64_IMM(BPF_AND, R4, 63), 6114 BPF_ALU32_REG(BPF_AND, R0, R1), 6126 BPF_ALU32_REG(BPF_AND, R0, R1), 6138 BPF_ALU64_REG(BPF_AND, R0, R1), 6150 BPF_ALU64_REG(BPF_AND, R0, R1), 6162 BPF_ALU32_IMM(BPF_AND, R0, 2), 6184 BPF_ALU32_IMM(BPF_AND, R0, 15), 6222 BPF_ALU64_IMM(BPF_AND, R0, 2), 11392 BPF_ALU64_REG(BPF_AND, R2, R3), [all …]
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 470 case BPF_AND: in emit_lse_atomic() 484 case BPF_AND | BPF_FETCH: in emit_lse_atomic() 539 if (imm == BPF_ADD || imm == BPF_AND || in emit_ll_sc_atomic() 545 else if (imm == BPF_AND) in emit_ll_sc_atomic() 556 imm == (BPF_AND | BPF_FETCH) || in emit_ll_sc_atomic() 566 else if (imm == (BPF_AND | BPF_FETCH)) in emit_ll_sc_atomic() 813 case BPF_ALU | BPF_AND | BPF_X: in build_insn() 814 case BPF_ALU64 | BPF_AND | BPF_X: in build_insn() 930 case BPF_ALU | BPF_AND | BPF_K: in build_insn() 931 case BPF_ALU64 | BPF_AND | BPF_K: in build_insn() [all …]
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 528 case BPF_ALU | BPF_AND | BPF_X: /* (u32) dst = dst & src */ in bpf_jit_build_body() 529 case BPF_ALU64 | BPF_AND | BPF_X: /* dst = dst & src */ in bpf_jit_build_body() 532 case BPF_ALU | BPF_AND | BPF_K: /* (u32) dst = dst & imm */ in bpf_jit_build_body() 533 case BPF_ALU64 | BPF_AND | BPF_K: /* dst = dst & imm */ in bpf_jit_build_body() 831 case BPF_AND: in bpf_jit_build_body() 832 case BPF_AND | BPF_FETCH: in bpf_jit_build_body()
|
H A D | bpf_jit_comp32.c | 538 case BPF_ALU64 | BPF_AND | BPF_X: /* dst = dst & src */ in bpf_jit_build_body() 542 case BPF_ALU | BPF_AND | BPF_X: /* (u32) dst = dst & src */ in bpf_jit_build_body() 545 case BPF_ALU64 | BPF_AND | BPF_K: /* dst = dst & imm */ in bpf_jit_build_body() 549 case BPF_ALU | BPF_AND | BPF_K: /* (u32) dst = dst & imm */ in bpf_jit_build_body() 876 case BPF_AND: in bpf_jit_build_body() 877 case BPF_AND | BPF_FETCH: in bpf_jit_build_body()
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_exp.y | 399 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); }
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 301 case BPF_AND: in emit_atomic() 328 case BPF_AND | BPF_FETCH: in emit_atomic() 580 case BPF_ALU | BPF_AND | BPF_X: in build_insn() 581 case BPF_ALU64 | BPF_AND | BPF_X: in build_insn() 587 case BPF_ALU | BPF_AND | BPF_K: in build_insn() 588 case BPF_ALU64 | BPF_AND | BPF_K: in build_insn()
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 253 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() 978 case BPF_ALU64 | BPF_AND | BPF_X: in bpf_jit_emit_insn() 1006 case BPF_ALU64 | BPF_AND | BPF_K: in bpf_jit_emit_insn() 1025 case BPF_ALU | BPF_AND | BPF_X: in bpf_jit_emit_insn() 1051 case BPF_ALU | BPF_AND | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | align.c | 381 BPF_ALU64_IMM(BPF_AND, BPF_REG_6, 0xff), 543 BPF_ALU64_IMM(BPF_AND, BPF_REG_6, 0xf),
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 437 case BPF_AND: in emit_alu_i64() 533 case BPF_AND: in emit_alu_i32() 591 case BPF_AND: in emit_alu_r64() 656 case BPF_AND: in emit_alu_r32() 1146 case BPF_ALU64 | BPF_AND | BPF_X: in bpf_jit_emit_insn() 1175 case BPF_ALU64 | BPF_AND | BPF_K: in bpf_jit_emit_insn() 1194 case BPF_ALU | BPF_AND | BPF_X: in bpf_jit_emit_insn() 1221 case BPF_ALU | BPF_AND | BPF_K: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp64.c | 634 case BPF_ALU | BPF_AND | BPF_X: in bpf_jit_emit_insn() 635 case BPF_ALU64 | BPF_AND | BPF_X: in bpf_jit_emit_insn() 801 case BPF_ALU | BPF_AND | BPF_K: in bpf_jit_emit_insn() 802 case BPF_ALU64 | BPF_AND | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/samples/bpf/ |
H A D | test_cgrp2_sock.c | 53 BPF_ALU64_IMM(BPF_AND, BPF_REG_0, 0xffffffff), in prog_load()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 268 [BPF_AND] = 0x21, 933 case BPF_AND: in emit_atomic() 1124 case BPF_ALU | BPF_AND | BPF_X: in do_jit() 1129 case BPF_ALU64 | BPF_AND | BPF_X: in do_jit() 1160 case BPF_ALU | BPF_AND | BPF_K: in do_jit() 1165 case BPF_ALU64 | BPF_AND | BPF_K: in do_jit() 1184 case BPF_AND: in do_jit() 1610 if (insn->imm == (BPF_AND | BPF_FETCH) || in do_jit()
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1016 case BPF_ALU | BPF_AND | BPF_X: /* dst = (u32) dst & (u32) src */ in bpf_jit_insn() 1021 case BPF_ALU64 | BPF_AND | BPF_X: /* dst = dst & src */ in bpf_jit_insn() 1025 case BPF_ALU | BPF_AND | BPF_K: /* dst = (u32) dst & (u32) imm */ in bpf_jit_insn() 1030 case BPF_ALU64 | BPF_AND | BPF_K: /* dst = dst & imm */ in bpf_jit_insn() 1326 case BPF_AND: in bpf_jit_insn() 1327 case BPF_AND | BPF_FETCH: in bpf_jit_insn()
|