/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_or.c | 8 BPF_ATOMIC_OP(BPF_DW, BPF_OR, BPF_REG_10, BPF_REG_1, -8), 30 BPF_ATOMIC_OP(BPF_DW, BPF_OR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8), 60 BPF_ATOMIC_OP(BPF_W, BPF_OR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -4), 88 BPF_ATOMIC_OP(BPF_W, BPF_OR | BPF_FETCH, BPF_REG_10, BPF_REG_1, -8),
|
H A D | atomic_fetch.c | 133 __ATOMIC_FETCH_OP_TEST(BPF_REG_1, BPF_REG_2, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011), 134 __ATOMIC_FETCH_OP_TEST(BPF_REG_0, BPF_REG_1, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011), 135 __ATOMIC_FETCH_OP_TEST(BPF_REG_1, BPF_REG_0, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011), 136 __ATOMIC_FETCH_OP_TEST(BPF_REG_2, BPF_REG_3, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011), 137 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011), 138 __ATOMIC_FETCH_OP_TEST(BPF_REG_9, BPF_REG_8, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011),
|
H A D | atomic_invalid.c | 20 __INVALID_ATOMIC_ACCESS_TEST(BPF_OR), 21 __INVALID_ATOMIC_ACCESS_TEST(BPF_OR | BPF_FETCH),
|
H A D | jset.c | 137 BPF_ALU64_IMM(BPF_OR, BPF_REG_0, 2),
|
H A D | basic_instr.c | 21 BPF_ALU64_IMM(BPF_OR, BPF_REG_2, 0xffff),
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 78 [BPF_OR >> 4] = "|=", 104 [BPF_OR >> 4] = "or", 213 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 223 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 78 [BPF_OR >> 4] = "|=", 104 [BPF_OR >> 4] = "or", 213 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 223 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 162 case BPF_OR: in emit_alu_i64() 398 case BPF_OR: in emit_atomic_r64() 399 case BPF_OR | BPF_FETCH: in emit_atomic_r64() 673 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 714 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 763 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn() 792 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 856 case BPF_OR: in build_insn() 857 case BPF_OR | BPF_FETCH: in build_insn()
|
H A D | bpf_jit_comp32.c | 243 case BPF_OR: in emit_alu_i64() 291 case BPF_OR: in emit_alu_r64() 750 case BPF_OR: in emit_atomic_r32() 753 case BPF_OR | BPF_FETCH: in emit_atomic_r32() 831 case BPF_OR: in emit_atomic_r64() 834 case BPF_OR | BPF_FETCH: in emit_atomic_r64() 1508 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 1696 case BPF_OR: in build_insn() 1697 case BPF_OR | BPF_FETCH: in build_insn() 1728 case BPF_OR: in build_insn() [all …]
|
H A D | bpf_jit_comp.c | 231 case BPF_OR: in valid_alu_i() 257 case BPF_OR: in rewrite_alu_i() 310 case BPF_OR: in emit_alu_i() 350 case BPF_OR: in emit_alu_r() 422 case BPF_OR: in emit_atomic_r() 423 case BPF_OR | BPF_FETCH: in emit_atomic_r()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 36 #define BPF_OR 0x40 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 36 #define BPF_OR 0x40 macro
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 553 case BPF_OR: in __bpf_alu_result() 6326 BPF_ALU32_REG(BPF_OR, R0, R1), 6338 BPF_ALU32_REG(BPF_OR, R0, R1), 6350 BPF_ALU64_REG(BPF_OR, R0, R1), 6362 BPF_ALU64_REG(BPF_OR, R0, R1), 6374 BPF_ALU32_IMM(BPF_OR, R0, 2), 6396 BPF_ALU32_IMM(BPF_OR, R0, 1), 6434 BPF_ALU64_IMM(BPF_OR, R0, 2), 6457 BPF_ALU64_IMM(BPF_OR, R2, 0x0), 11539 BPF_ALU64_REG(BPF_OR, R0, R1), [all …]
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 474 case BPF_OR: in emit_lse_atomic() 488 case BPF_OR | BPF_FETCH: in emit_lse_atomic() 540 imm == BPF_OR || imm == BPF_XOR) { in emit_ll_sc_atomic() 547 else if (imm == BPF_OR) in emit_ll_sc_atomic() 557 imm == (BPF_OR | BPF_FETCH) || in emit_ll_sc_atomic() 568 else if (imm == (BPF_OR | BPF_FETCH)) in emit_ll_sc_atomic() 817 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 818 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 940 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 941 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn() [all …]
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 542 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body() 543 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body() 546 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body() 547 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body() 835 case BPF_OR: in bpf_jit_build_body() 836 case BPF_OR | BPF_FETCH: in bpf_jit_build_body()
|
H A D | bpf_jit_comp32.c | 562 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body() 566 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body() 569 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body() 574 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body() 880 case BPF_OR: in bpf_jit_build_body() 881 case BPF_OR | BPF_FETCH: in bpf_jit_build_body()
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_exp.y | 408 bpf_set_curr_instr(BPF_ALU | BPF_OR | BPF_K, 0, 0, $3); } 410 bpf_set_curr_instr(BPF_ALU | BPF_OR | BPF_X, 0, 0, 0); } 412 bpf_set_curr_instr(BPF_ALU | BPF_OR | BPF_X, 0, 0, 0); }
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 307 case BPF_OR: in emit_atomic() 336 case BPF_OR | BPF_FETCH: in emit_atomic() 599 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 600 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 606 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 607 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn()
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 263 case BPF_OR: in emit_alu_i64() 361 case BPF_OR: in emit_alu_i32() 442 case BPF_OR: in emit_alu_r64() 532 case BPF_OR: in emit_alu_r32() 979 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1007 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1026 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1052 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp64.c | 509 case BPF_OR: in emit_atomic() 530 case BPF_OR | BPF_FETCH: in emit_atomic() 1131 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1132 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1302 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1303 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 443 case BPF_OR: in emit_alu_i64() 537 case BPF_OR: in emit_alu_i32() 595 case BPF_OR: in emit_alu_r64() 659 case BPF_OR: in emit_alu_r32() 1147 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1176 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1195 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1222 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp64.c | 640 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 641 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 808 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn() 809 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 269 [BPF_OR] = 0x09, 934 case BPF_OR: in emit_atomic() 1125 case BPF_ALU | BPF_OR | BPF_X: in do_jit() 1130 case BPF_ALU64 | BPF_OR | BPF_X: in do_jit() 1161 case BPF_ALU | BPF_OR | BPF_K: in do_jit() 1166 case BPF_ALU64 | BPF_OR | BPF_K: in do_jit() 1188 case BPF_OR: in do_jit() 1611 insn->imm == (BPF_OR | BPF_FETCH) || in do_jit()
|
H A D | bpf_jit_comp32.c | 556 case BPF_OR: in emit_ia32_alu_r() 644 case BPF_OR: in emit_ia32_alu_i() 1722 case BPF_ALU | BPF_OR | BPF_K: in do_jit() 1723 case BPF_ALU | BPF_OR | BPF_X: in do_jit() 1732 case BPF_ALU64 | BPF_OR | BPF_K: in do_jit() 1733 case BPF_ALU64 | BPF_OR | BPF_X: in do_jit()
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1048 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_insn() 1053 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_insn() 1057 case BPF_ALU | BPF_OR | BPF_K: /* dst = (u32) dst | (u32) imm */ in bpf_jit_insn() 1062 case BPF_ALU64 | BPF_OR | BPF_K: /* dst = dst | imm */ in bpf_jit_insn() 1331 case BPF_OR: in bpf_jit_insn() 1332 case BPF_OR | BPF_FETCH: in bpf_jit_insn()
|