/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | disasm.c | 211 else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn() 220 } else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn() 231 } else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn() 239 } else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 211 else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn() 220 } else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn() 231 } else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn() 239 } else if (BPF_MODE(insn->code) == BPF_ATOMIC && in print_bpf_insn()
|
/openbmc/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 436 BPF_ATOMIC 0xc0 atomic operations `Atomic operations`_ 492 that use the ``BPF_ATOMIC`` mode modifier as follows: 494 * ``BPF_ATOMIC | BPF_W | BPF_STX`` for 32-bit operations 495 * ``BPF_ATOMIC | BPF_DW | BPF_STX`` for 64-bit operations 512 ``BPF_ATOMIC | BPF_W | BPF_STX`` with 'imm' = BPF_ADD means:: 516 ``BPF_ATOMIC | BPF_DW | BPF_STX`` with 'imm' = BPF ADD means::
|
/openbmc/linux/samples/bpf/ |
H A D | bpf_insn.h | 154 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 189 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 433 return (meta->insn.code & ~BPF_SIZE_MASK) == (BPF_STX | BPF_ATOMIC); in is_mbpf_atomic()
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 882 if (mode == BPF_ATOMIC && size != BPF_W) in emit_store_r64() 900 case BPF_ATOMIC: /* Only BPF_ADD supported */ in emit_store_r64() 1275 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_emit_insn() 1289 case BPF_STX | BPF_ATOMIC | BPF_DW: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp64.c | 1763 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_emit_insn() 1764 case BPF_STX | BPF_ATOMIC | BPF_DW: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 849 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 850 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn()
|
H A D | bpf_jit_comp32.c | 1690 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 1722 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn()
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 799 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_build_body() 800 case BPF_STX | BPF_ATOMIC | BPF_DW: in bpf_jit_build_body()
|
H A D | bpf_jit_comp32.c | 845 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_build_body() 925 case BPF_STX | BPF_ATOMIC | BPF_DW: /* *(u64 *)(dst + off) += src */ in bpf_jit_build_body()
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 1085 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_emit_insn() 1086 case BPF_STX | BPF_ATOMIC | BPF_DW: in bpf_jit_emit_insn()
|
H A D | bpf_jit_comp32.c | 1452 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_emit_insn() 1453 case BPF_STX | BPF_ATOMIC | BPF_DW: in bpf_jit_emit_insn()
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 1015 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 1016 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn()
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 1351 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 1352 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn() 1391 if (class == BPF_STX && mode == BPF_ATOMIC && in find_fpb_offset()
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 1372 case BPF_STX | BPF_ATOMIC | BPF_W: { in build_insn() 1402 case BPF_STX | BPF_ATOMIC | BPF_DW: { in build_insn()
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1303 case BPF_STX | BPF_ATOMIC | BPF_DW: in bpf_jit_insn() 1304 case BPF_STX | BPF_ATOMIC | BPF_W: in bpf_jit_insn()
|
/openbmc/linux/arch/arm/net/ |
H A D | bpf_jit_32.c | 1631 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 1632 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 2461 case BPF_STX | BPF_ATOMIC | BPF_W: in do_jit() 2462 case BPF_STX | BPF_ATOMIC | BPF_DW: in do_jit()
|
H A D | bpf_jit_comp.c | 1608 case BPF_STX | BPF_ATOMIC | BPF_W: in do_jit() 1609 case BPF_STX | BPF_ATOMIC | BPF_DW: in do_jit()
|
/openbmc/linux/Documentation/bpf/ |
H A D | classic_vs_extended.rst | 376 BPF_ATOMIC 0xc0 /* eBPF only, atomic operations */
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 294 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ macro
|