| /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 | 136 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),
|
| /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() 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 …]
|
| 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()
|
| /linux/kernel/bpf/ |
| H A D | disasm.c | 78 [BPF_OR >> 4] = "|=", 104 [BPF_OR >> 4] = "or", 237 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 247 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | disasm.c | 78 [BPF_OR >> 4] = "|=", 104 [BPF_OR >> 4] = "or", 237 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 247 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
| /linux/include/uapi/linux/ |
| H A D | bpf_common.h | 36 #define BPF_OR 0x40 macro
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf_common.h | 36 #define BPF_OR 0x40 macro
|
| /linux/lib/ |
| H A D | test_bpf.c | 573 case BPF_OR: in __bpf_alu_result() 1063 return __bpf_fill_alu64_imm(self, BPF_OR); in bpf_fill_alu64_or_imm() 1109 return __bpf_fill_alu32_imm(self, BPF_OR); in bpf_fill_alu32_or_imm() 1155 return __bpf_fill_alu64_reg(self, BPF_OR); in bpf_fill_alu64_or_reg() 1201 return __bpf_fill_alu32_reg(self, BPF_OR); in bpf_fill_alu32_or_reg() 1308 return __bpf_fill_alu_imm_regs(self, BPF_OR, false); in bpf_fill_alu64_or_imm_regs() 1369 return __bpf_fill_alu_imm_regs(self, BPF_OR, true); in bpf_fill_alu32_or_imm_regs() 1500 return __bpf_fill_alu_reg_pairs(self, BPF_OR, false); in bpf_fill_alu64_or_reg_pairs() 1561 return __bpf_fill_alu_reg_pairs(self, BPF_OR, true); in bpf_fill_alu32_or_reg_pairs() 1818 return __bpf_fill_atomic64(self, BPF_OR); in bpf_fill_atomic64_or() [all …]
|
| /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); }
|
| /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() 978 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1006 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1025 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1051 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
| H A D | bpf_jit_comp64.c | 648 case BPF_OR: in emit_atomic_rmw() 677 case BPF_OR | BPF_FETCH: in emit_atomic_rmw() 1405 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1406 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1530 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1531 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
| /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()
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp32.c | 597 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body() 601 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body() 604 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body() 609 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body() 933 case BPF_OR: in bpf_jit_build_body() 934 case BPF_OR | BPF_FETCH: in bpf_jit_build_body()
|
| H A D | bpf_jit_comp64.c | 473 case BPF_OR: in bpf_jit_emit_atomic_ops() 474 case BPF_OR | BPF_FETCH: in bpf_jit_emit_atomic_ops() 830 case BPF_ALU | BPF_OR | BPF_X: /* dst = (u32) dst | (u32) src */ in bpf_jit_build_body() 831 case BPF_ALU64 | BPF_OR | BPF_X: /* dst = dst | src */ in bpf_jit_build_body() 834 case BPF_ALU | BPF_OR | BPF_K:/* dst = (u32) dst | (u32) imm */ in bpf_jit_build_body() 835 case BPF_ALU64 | BPF_OR | BPF_K:/* dst = dst | imm */ in bpf_jit_build_body()
|
| /linux/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 811 case BPF_OR: in emit_lse_atomic() 825 case BPF_OR | BPF_FETCH: in emit_lse_atomic() 880 imm == BPF_OR || imm == BPF_XOR) { in emit_ll_sc_atomic() 887 else if (imm == BPF_OR) in emit_ll_sc_atomic() 897 imm == (BPF_OR | BPF_FETCH) || in emit_ll_sc_atomic() 908 else if (imm == (BPF_OR | BPF_FETCH)) in emit_ll_sc_atomic() 1284 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 1285 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 1400 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 1401 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn()
|
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 292 [BPF_OR] = 0x09, 1316 case BPF_OR: in emit_atomic_rmw() 1367 case BPF_OR: in emit_atomic_rmw_index() 1738 case BPF_ALU | BPF_OR | BPF_X: in do_jit() 1743 case BPF_ALU64 | BPF_OR | BPF_X: in do_jit() 1817 case BPF_ALU | BPF_OR | BPF_K: in do_jit() 1822 case BPF_ALU64 | BPF_OR | BPF_K: in do_jit() 1844 case BPF_OR: in do_jit() 2354 insn->imm == (BPF_OR | BPF_FETCH) || in do_jit() 4060 insn->imm == (BPF_OR | BPF_FETCH) || in bpf_jit_supports_insn()
|
| 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()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 360 case BPF_OR: in emit_atomic() 389 case BPF_OR | BPF_FETCH: in emit_atomic() 703 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 704 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 710 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 711 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn()
|
| /linux/arch/sparc/net/ |
| H A D | bpf_jit_comp_32.c | 417 case BPF_ALU | BPF_OR | BPF_X: /* A |= X */ in bpf_jit_compile() 420 case BPF_ALU | BPF_OR | BPF_K: /* A |= K */ in bpf_jit_compile()
|