/linux-6.1.9/tools/testing/selftests/bpf/verifier/ |
D | subreg.c | 31 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), 43 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), 46 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_6), 70 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), 76 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), 79 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_6), 103 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), 109 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), 112 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_6), 136 BPF_ALU64_REG(BPF_OR, BPF_REG_0, BPF_REG_1), [all …]
|
D | masking.c | 7 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 23 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 39 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 55 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 71 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 87 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 103 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 119 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 135 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), 151 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_1), [all …]
|
D | const_or.c | 7 BPF_ALU64_IMM(BPF_OR, BPF_REG_2, 13), 21 BPF_ALU64_IMM(BPF_OR, BPF_REG_2, 24), 37 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_4), 52 BPF_ALU64_REG(BPF_OR, BPF_REG_2, BPF_REG_4),
|
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),
|
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),
|
D | atomic_invalid.c | 20 __INVALID_ATOMIC_ACCESS_TEST(BPF_OR), 21 __INVALID_ATOMIC_ACCESS_TEST(BPF_OR | BPF_FETCH),
|
D | jset.c | 137 BPF_ALU64_IMM(BPF_OR, BPF_REG_0, 2),
|
D | basic_instr.c | 21 BPF_ALU64_IMM(BPF_OR, BPF_REG_2, 0xffff),
|
/linux-6.1.9/kernel/bpf/ |
D | disasm.c | 78 [BPF_OR >> 4] = "|=", 93 [BPF_OR >> 4] = "or", 172 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 182 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
/linux-6.1.9/arch/mips/net/ |
D | bpf_jit_comp64.c | 162 case BPF_OR: in emit_alu_i64() 395 case BPF_OR: in emit_atomic_r64() 396 case BPF_OR | BPF_FETCH: in emit_atomic_r64() 670 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 711 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 760 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn() 789 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 853 case BPF_OR: in build_insn() 854 case BPF_OR | BPF_FETCH: in build_insn()
|
D | bpf_jit_comp.c | 227 case BPF_OR: in valid_alu_i() 253 case BPF_OR: in rewrite_alu_i() 306 case BPF_OR: in emit_alu_i() 346 case BPF_OR: in emit_alu_r() 418 case BPF_OR: in emit_atomic_r() 419 case BPF_OR | BPF_FETCH: in emit_atomic_r()
|
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() 1539 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 1573 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn() 1610 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() [all …]
|
/linux-6.1.9/tools/include/uapi/linux/ |
D | bpf_common.h | 36 #define BPF_OR 0x40 macro
|
/linux-6.1.9/include/uapi/linux/ |
D | bpf_common.h | 36 #define BPF_OR 0x40 macro
|
/linux-6.1.9/lib/ |
D | test_bpf.c | 553 case BPF_OR: in __bpf_alu_result() 1043 return __bpf_fill_alu64_imm(self, BPF_OR); in bpf_fill_alu64_or_imm() 1089 return __bpf_fill_alu32_imm(self, BPF_OR); in bpf_fill_alu32_or_imm() 1135 return __bpf_fill_alu64_reg(self, BPF_OR); in bpf_fill_alu64_or_reg() 1181 return __bpf_fill_alu32_reg(self, BPF_OR); in bpf_fill_alu32_or_reg() 1288 return __bpf_fill_alu_imm_regs(self, BPF_OR, false); in bpf_fill_alu64_or_imm_regs() 1349 return __bpf_fill_alu_imm_regs(self, BPF_OR, true); in bpf_fill_alu32_or_imm_regs() 1480 return __bpf_fill_alu_reg_pairs(self, BPF_OR, false); in bpf_fill_alu64_or_reg_pairs() 1541 return __bpf_fill_alu_reg_pairs(self, BPF_OR, true); in bpf_fill_alu32_or_reg_pairs() 1798 return __bpf_fill_atomic64(self, BPF_OR); in bpf_fill_atomic64_or() [all …]
|
/linux-6.1.9/arch/arm64/net/ |
D | bpf_jit_comp.c | 468 case BPF_OR: in emit_lse_atomic() 482 case BPF_OR | BPF_FETCH: in emit_lse_atomic() 534 imm == BPF_OR || imm == BPF_XOR) { in emit_ll_sc_atomic() 541 else if (imm == BPF_OR) in emit_ll_sc_atomic() 551 imm == (BPF_OR | BPF_FETCH) || in emit_ll_sc_atomic() 562 else if (imm == (BPF_OR | BPF_FETCH)) in emit_ll_sc_atomic() 796 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 797 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 912 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 913 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn() [all …]
|
/linux-6.1.9/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 523 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body() 524 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body() 527 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body() 528 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body() 807 case BPF_OR: in bpf_jit_build_body() 808 case BPF_OR | BPF_FETCH: in bpf_jit_build_body()
|
D | bpf_jit_comp32.c | 518 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body() 522 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body() 525 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body() 530 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body() 818 case BPF_OR: in bpf_jit_build_body() 819 case BPF_OR | BPF_FETCH: in bpf_jit_build_body()
|
/linux-6.1.9/tools/bpf/ |
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); }
|
/linux-6.1.9/arch/loongarch/net/ |
D | bpf_jit.c | 307 case BPF_OR: in emit_atomic() 336 case BPF_OR | BPF_FETCH: in emit_atomic() 541 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 542 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 548 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 549 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn()
|
/linux-6.1.9/arch/riscv/net/ |
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()
|
D | bpf_jit_comp64.c | 503 case BPF_OR: in emit_atomic() 524 case BPF_OR | BPF_FETCH: in emit_atomic() 675 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 676 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 839 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn() 840 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
/linux-6.1.9/arch/s390/net/ |
D | bpf_jit_comp.c | 944 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_insn() 949 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_insn() 953 case BPF_ALU | BPF_OR | BPF_K: /* dst = (u32) dst | (u32) imm */ in bpf_jit_insn() 958 case BPF_ALU64 | BPF_OR | BPF_K: /* dst = dst | imm */ in bpf_jit_insn() 1223 case BPF_OR: in bpf_jit_insn() 1224 case BPF_OR | BPF_FETCH: in bpf_jit_insn()
|
/linux-6.1.9/arch/x86/net/ |
D | bpf_jit_comp.c | 218 [BPF_OR] = 0x09, 818 case BPF_OR: in emit_atomic() 945 case BPF_ALU | BPF_OR | BPF_X: in do_jit() 950 case BPF_ALU64 | BPF_OR | BPF_X: in do_jit() 976 case BPF_ALU | BPF_OR | BPF_K: in do_jit() 981 case BPF_ALU64 | BPF_OR | BPF_K: in do_jit() 1003 case BPF_OR: in do_jit() 1379 insn->imm == (BPF_OR | BPF_FETCH) || in do_jit()
|
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()
|