/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_fetch.c | 145 __ATOMIC_FETCH_OP_TEST(BPF_REG_1, BPF_REG_2, 0x010, BPF_XCHG, 0x011, 0x011), 146 __ATOMIC_FETCH_OP_TEST(BPF_REG_0, BPF_REG_1, 0x010, BPF_XCHG, 0x011, 0x011), 147 __ATOMIC_FETCH_OP_TEST(BPF_REG_1, BPF_REG_0, 0x010, BPF_XCHG, 0x011, 0x011), 148 __ATOMIC_FETCH_OP_TEST(BPF_REG_2, BPF_REG_3, 0x010, BPF_XCHG, 0x011, 0x011), 149 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_XCHG, 0x011, 0x011), 150 __ATOMIC_FETCH_OP_TEST(BPF_REG_9, BPF_REG_8, 0x010, BPF_XCHG, 0x011, 0x011),
|
H A D | atomic_xchg.c | 8 BPF_ATOMIC_OP(BPF_DW, BPF_XCHG, BPF_REG_10, BPF_REG_1, -8), 31 BPF_ATOMIC_OP(BPF_W, BPF_XCHG, BPF_REG_10, BPF_REG_1, -4),
|
H A D | atomic_invalid.c | 24 __INVALID_ATOMIC_ACCESS_TEST(BPF_XCHG),
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 728 if (code == BPF_XCHG) { in emit_atomic_r32() 768 case BPF_XCHG: in emit_atomic_r32() 849 case BPF_XCHG: in emit_atomic_r64() 1700 case BPF_XCHG: in build_insn() 1732 case BPF_XCHG: in build_insn()
|
H A D | bpf_jit_comp64.c | 406 case BPF_XCHG: in emit_atomic_r64() 860 case BPF_XCHG: in build_insn()
|
H A D | bpf_jit_comp.c | 430 case BPF_XCHG: in emit_atomic_r()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 240 insn->imm == BPF_XCHG) { in print_bpf_insn()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 240 insn->imm == BPF_XCHG) { in print_bpf_insn()
|
H A D | core.c | 2131 case BPF_XCHG: in ___bpf_prog_run()
|
H A D | verifier.c | 6944 case BPF_XCHG: in check_atomic()
|
/openbmc/linux/lib/ |
H A D | test_bpf.c | 1605 case BPF_XCHG: in __bpf_emit_atomic64() 1652 case BPF_XCHG: in __bpf_emit_atomic32() 1828 return __bpf_fill_atomic64(self, BPF_XCHG); in bpf_fill_atomic64_xchg() 1880 return __bpf_fill_atomic32(self, BPF_XCHG); in bpf_fill_atomic32_xchg() 1915 case BPF_XCHG: in __bpf_fill_atomic_reg_pairs() 1998 } else if (op == BPF_XCHG) { /* Aliased, XCHG */ in __bpf_fill_atomic_reg_pairs() 2070 return __bpf_fill_atomic_reg_pairs(self, BPF_DW, BPF_XCHG); in bpf_fill_atomic64_xchg_reg_pairs() 2121 return __bpf_fill_atomic_reg_pairs(self, BPF_W, BPF_XCHG); in bpf_fill_atomic32_xchg_reg_pairs() 8760 BPF_ATOMIC_OP_TEST1(BPF_W, BPF_XCHG, xchg, 0x12, 0xab, 0xab), 11730 BPF_TEST_CLOBBER_ATOMIC(BPF_DW, BPF_XCHG), [all …]
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 495 case BPF_XCHG: in emit_lse_atomic() 577 } else if (imm == BPF_XCHG) { in emit_ll_sc_atomic() 1392 ((imm == BPF_XCHG || in find_fpb_offset()
|
/openbmc/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 527 BPF_XCHG 0xe0 | BPF_FETCH atomic exchange 536 The ``BPF_XCHG`` operation atomically exchanges ``src`` with the value
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 858 case BPF_XCHG: in bpf_jit_build_body()
|
H A D | bpf_jit_comp32.c | 900 case BPF_XCHG: in bpf_jit_build_body()
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 353 case BPF_XCHG: in emit_atomic()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 50 #define BPF_XCHG (0xe0 | BPF_FETCH) /* atomic exchange */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 50 #define BPF_XCHG (0xe0 | BPF_FETCH) /* atomic exchange */ macro
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1342 case BPF_XCHG: in bpf_jit_insn()
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 543 case BPF_XCHG: in emit_atomic()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 943 case BPF_XCHG: in emit_atomic()
|