| /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),
|
| H A D | jump.c | 383 BPF_ALU64_IMM(BPF_OR, BPF_REG_3, 32767),
|
| H A D | jmp32.c | 871 BPF_ALU32_REG(BPF_OR, BPF_REG_2, BPF_REG_6),
|
| /linux/arch/mips/net/ |
| H A D | bpf_jit_comp64.c | 162 case BPF_OR: in emit_alu_i64() 397 case BPF_OR: in emit_atomic_r64() 398 case BPF_OR | BPF_FETCH: in emit_atomic_r64() 672 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 713 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 762 case BPF_ALU64 | BPF_OR | BPF_K: in build_insn() 791 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 855 case BPF_OR: in build_insn() 856 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 …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | disasm.c | 81 [BPF_OR >> 4] = "|=", 107 [BPF_OR >> 4] = "or", 244 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 254 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
| /linux/kernel/bpf/ |
| H A D | disasm.c | 81 [BPF_OR >> 4] = "|=", 107 [BPF_OR >> 4] = "or", 244 insn->imm == BPF_OR || insn->imm == BPF_XOR)) { in print_bpf_insn() 254 insn->imm == (BPF_OR | BPF_FETCH) || in print_bpf_insn()
|
| H A D | core.c | 1401 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_blind_insn() 1415 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_blind_insn() 1482 *to++ = BPF_ALU64_REG(BPF_OR, aux[0].dst_reg, BPF_REG_AX); in bpf_jit_blind_insn() 2330 ATOMIC_ALU_OP(BPF_OR, or) in ___bpf_prog_run()
|
| /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/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() 535 case BPF_OR: in emit_alu_r32() 896 case BPF_OR: in emit_bpf_atomic() 897 case BPF_OR | BPF_FETCH: in emit_bpf_atomic() 1045 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1073 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1106 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1132 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
| H A D | bpf_jit_comp64.c | 618 case BPF_OR: in emit_atomic_rmw() 647 case BPF_OR | BPF_FETCH: in emit_atomic_rmw() 1471 case BPF_ALU | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1472 case BPF_ALU64 | BPF_OR | BPF_X: in bpf_jit_emit_insn() 1596 case BPF_ALU | BPF_OR | BPF_K: in bpf_jit_emit_insn() 1597 case BPF_ALU64 | BPF_OR | BPF_K: in bpf_jit_emit_insn()
|
| /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/io_uring/ |
| H A D | bpf_filter.c | 212 case BPF_ALU | BPF_OR | BPF_K: in io_uring_check_cbpf_filter() 213 case BPF_ALU | BPF_OR | BPF_X: in io_uring_check_cbpf_filter()
|
| /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/arm64/net/ |
| H A D | bpf_jit_comp.c | 825 case BPF_OR: in emit_lse_atomic() 839 case BPF_OR | BPF_FETCH: in emit_lse_atomic() 888 imm == BPF_OR || imm == BPF_XOR) { in emit_ll_sc_atomic() 895 else if (imm == BPF_OR) in emit_ll_sc_atomic() 905 imm == (BPF_OR | BPF_FETCH) || in emit_ll_sc_atomic() 916 else if (imm == (BPF_OR | BPF_FETCH)) in emit_ll_sc_atomic() 1396 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 1397 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 1512 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 1513 case BPF_ALU64 | BPF_OR | BPF_ in build_insn() [all...] |
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 294 [BPF_OR] = 0x09, 1348 case BPF_OR: in emit_atomic_rmw() 1401 case BPF_OR: in emit_atomic_rmw_index() 1889 case BPF_ALU | BPF_OR | BPF_X: in do_jit() 1894 case BPF_ALU64 | BPF_OR | BPF_X: in do_jit() 1968 case BPF_ALU | BPF_OR | BPF_K: in do_jit() 1973 case BPF_ALU64 | BPF_OR | BPF_K: in do_jit() 1995 case BPF_OR: in do_jit() 2563 insn->imm == (BPF_OR | BPF_FETCH) || in do_jit() 4321 insn->imm == (BPF_OR | BPF_FETC in bpf_jit_supports_insn() [all...] |
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_precision.c | 381 BPF_ATOMIC_OP(BPF_DW, BPF_OR | BPF_FETCH, BPF_REG_10, BPF_REG_2, -8)) in bpf_atomic_fetch_or_precision()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 394 case BPF_OR: in emit_atomic_rmw() 442 case BPF_OR | BPF_FETCH: in emit_atomic_rmw() 909 case BPF_ALU | BPF_OR | BPF_X: in build_insn() 910 case BPF_ALU64 | BPF_OR | BPF_X: in build_insn() 916 case BPF_ALU | BPF_OR | BPF_K: in build_insn() 917 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()
|