/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf_common.h | 10 #define BPF_STX 0x03 macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf_common.h | 10 #define BPF_STX 0x03 macro
|
/openbmc/linux/samples/bpf/ |
H A D | bpf_insn.h | 131 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \ 154 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 166 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \ 189 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 839 case BPF_STX | BPF_MEM | BPF_W: in build_insn() 840 case BPF_STX | BPF_MEM | BPF_H: in build_insn() 841 case BPF_STX | BPF_MEM | BPF_B: in build_insn() 842 case BPF_STX | BPF_MEM | BPF_DW: in build_insn() 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 | 1680 case BPF_STX | BPF_MEM | BPF_W: in build_insn() 1681 case BPF_STX | BPF_MEM | BPF_H: in build_insn() 1682 case BPF_STX | BPF_MEM | BPF_B: in build_insn() 1683 case BPF_STX | BPF_MEM | BPF_DW: in build_insn() 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/parisc/net/ |
H A D | bpf_jit_comp64.c | 424 code & BPF_LDX || code & BPF_STX) in init_regs() 1073 case BPF_STX | BPF_MEM | BPF_B: in bpf_jit_emit_insn() 1074 case BPF_STX | BPF_MEM | BPF_H: in bpf_jit_emit_insn() 1075 case BPF_STX | BPF_MEM | BPF_W: in bpf_jit_emit_insn() 1076 case BPF_STX | BPF_MEM | BPF_DW: in bpf_jit_emit_insn() 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 | 1438 case BPF_STX | BPF_MEM | BPF_B: in bpf_jit_emit_insn() 1439 case BPF_STX | BPF_MEM | BPF_H: in bpf_jit_emit_insn() 1440 case BPF_STX | BPF_MEM | BPF_W: in bpf_jit_emit_insn() 1441 case BPF_STX | BPF_MEM | BPF_DW: in bpf_jit_emit_insn() 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/powerpc/net/ |
H A D | bpf_jit_comp64.c | 758 case BPF_STX | BPF_MEM | BPF_B: /* *(u8 *)(dst + off) = src */ in bpf_jit_build_body() 766 case BPF_STX | BPF_MEM | BPF_H: /* (u16 *)(dst + off) = src */ in bpf_jit_build_body() 774 case BPF_STX | BPF_MEM | BPF_W: /* *(u32 *)(dst + off) = src */ in bpf_jit_build_body() 782 case BPF_STX | BPF_MEM | BPF_DW: /* (u64 *)(dst + off) = src */ in bpf_jit_build_body() 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 | 810 case BPF_STX | BPF_MEM | BPF_B: /* *(u8 *)(dst + off) = src */ in bpf_jit_build_body() 817 case BPF_STX | BPF_MEM | BPF_H: /* (u16 *)(dst + off) = src */ in bpf_jit_build_body() 824 case BPF_STX | BPF_MEM | BPF_W: /* *(u32 *)(dst + off) = src */ in bpf_jit_build_body() 831 case BPF_STX | BPF_MEM | BPF_DW: /* (u64 *)(dst + off) = src */ in bpf_jit_build_body() 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/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 398 return (meta->insn.code & ~BPF_SIZE_MASK) == (BPF_STX | BPF_MEM); in is_mbpf_store() 433 return (meta->insn.code & ~BPF_SIZE_MASK) == (BPF_STX | BPF_ATOMIC); in is_mbpf_atomic()
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 971 case BPF_STX | BPF_MEM | BPF_B: in build_insn() 972 case BPF_STX | BPF_MEM | BPF_H: in build_insn() 973 case BPF_STX | BPF_MEM | BPF_W: in build_insn() 974 case BPF_STX | BPF_MEM | BPF_DW: in build_insn() 1015 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 1016 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn()
|
/openbmc/linux/Documentation/bpf/standardization/ |
H A D | instruction-set.rst | 181 BPF_STX 0x03 store from register operations `Load and store instructions`_ 417 For load and store instructions (``BPF_LD``, ``BPF_LDX``, ``BPF_ST``, and ``BPF_STX``), the 456 ``BPF_MEM | <size> | BPF_STX`` means:: 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/tools/testing/selftests/bpf/ |
H A D | disasm.c | 66 [BPF_STX] = "stx", 204 } else if (class == BPF_STX) { in print_bpf_insn()
|
/openbmc/linux/kernel/bpf/ |
H A D | disasm.c | 66 [BPF_STX] = "stx", 204 } else if (class == BPF_STX) { in print_bpf_insn()
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 1304 case BPF_STX | BPF_MEM | BPF_W: in build_insn() 1305 case BPF_STX | BPF_MEM | BPF_H: in build_insn() 1306 case BPF_STX | BPF_MEM | BPF_B: in build_insn() 1307 case BPF_STX | BPF_MEM | BPF_DW: in build_insn() 1351 case BPF_STX | BPF_ATOMIC | BPF_W: in build_insn() 1352 case BPF_STX | BPF_ATOMIC | BPF_DW: in build_insn() 1388 case BPF_STX: in find_fpb_offset() 1391 if (class == BPF_STX && mode == BPF_ATOMIC && in find_fpb_offset()
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 404 code & BPF_LDX || code & BPF_STX) in init_regs() 1723 case BPF_STX | BPF_MEM | BPF_B: in bpf_jit_emit_insn() 1733 case BPF_STX | BPF_MEM | BPF_H: in bpf_jit_emit_insn() 1743 case BPF_STX | BPF_MEM | BPF_W: in bpf_jit_emit_insn() 1753 case BPF_STX | BPF_MEM | BPF_DW: in bpf_jit_emit_insn() 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()
|
H A D | bpf_jit_comp32.c | 1261 case BPF_STX | BPF_MEM | BPF_B: in bpf_jit_emit_insn() 1262 case BPF_STX | BPF_MEM | BPF_H: in bpf_jit_emit_insn() 1263 case BPF_STX | BPF_MEM | BPF_W: in bpf_jit_emit_insn() 1264 case BPF_STX | BPF_MEM | BPF_DW: in bpf_jit_emit_insn() 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()
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 1336 case BPF_STX | BPF_MEM | BPF_W: in build_insn() 1337 case BPF_STX | BPF_MEM | BPF_H: in build_insn() 1338 case BPF_STX | BPF_MEM | BPF_B: in build_insn() 1339 case BPF_STX | BPF_MEM | BPF_DW: { in build_insn() 1372 case BPF_STX | BPF_ATOMIC | BPF_W: { in build_insn() 1402 case BPF_STX | BPF_ATOMIC | BPF_DW: { in build_insn()
|
/openbmc/linux/tools/bpf/ |
H A D | bpf_dbg.c | 146 [BPF_STX] = "stx", 247 case BPF_STX: in bpf_disasm() 248 op = op_table[BPF_STX]; in bpf_disasm() 661 case BPF_STX: in bpf_single_step()
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1252 case BPF_STX | BPF_MEM | BPF_B: /* *(u8 *)(dst + off) = src_reg */ in bpf_jit_insn() 1257 case BPF_STX | BPF_MEM | BPF_H: /* (u16 *)(dst + off) = src */ in bpf_jit_insn() 1262 case BPF_STX | BPF_MEM | BPF_W: /* *(u32 *)(dst + off) = src */ in bpf_jit_insn() 1267 case BPF_STX | BPF_MEM | BPF_DW: /* (u64 *)(dst + off) = src */ in bpf_jit_insn() 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/lib/ |
H A D | test_bpf.c | 4691 BPF_STMT(BPF_STX, 0), 4696 BPF_STMT(BPF_STX, 1), 4701 BPF_STMT(BPF_STX, 2), 4706 BPF_STMT(BPF_STX, 3), 4711 BPF_STMT(BPF_STX, 4), 4716 BPF_STMT(BPF_STX, 5), 4721 BPF_STMT(BPF_STX, 6), 4726 BPF_STMT(BPF_STX, 7), 4731 BPF_STMT(BPF_STX, 8), 4736 BPF_STMT(BPF_STX, 9), [all …]
|
/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() 1635 case BPF_STX | BPF_MEM | BPF_W: in build_insn() 1636 case BPF_STX | BPF_MEM | BPF_H: in build_insn() 1637 case BPF_STX | BPF_MEM | BPF_B: in build_insn() 1638 case BPF_STX | BPF_MEM | BPF_DW: in build_insn()
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 1952 case BPF_STX | BPF_MEM | BPF_B: in do_jit() 1953 case BPF_STX | BPF_MEM | BPF_H: in do_jit() 1954 case BPF_STX | BPF_MEM | BPF_W: in do_jit() 1955 case BPF_STX | BPF_MEM | BPF_DW: in do_jit() 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 | 1483 case BPF_STX | BPF_MEM | BPF_B: in do_jit() 1484 case BPF_STX | BPF_MEM | BPF_H: in do_jit() 1485 case BPF_STX | BPF_MEM | BPF_W: in do_jit() 1486 case BPF_STX | BPF_MEM | BPF_DW: in do_jit() 1608 case BPF_STX | BPF_ATOMIC | BPF_W: in do_jit() 1609 case BPF_STX | BPF_ATOMIC | BPF_DW: in do_jit()
|