Home
last modified time | relevance | path

Searched refs:BPF_ST (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/tools/include/uapi/linux/
H A Dbpf_common.h9 #define BPF_ST 0x02 macro
/openbmc/linux/include/uapi/linux/
H A Dbpf_common.h9 #define BPF_ST 0x02 macro
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp64.c730 case BPF_ST | BPF_NOSPEC: in bpf_jit_build_body()
759 case BPF_ST | BPF_MEM | BPF_B: /* *(u8 *)(dst + off) = imm */ in bpf_jit_build_body()
760 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_build_body()
767 case BPF_ST | BPF_MEM | BPF_H: /* (u16 *)(dst + off) = imm */ in bpf_jit_build_body()
768 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_build_body()
775 case BPF_ST | BPF_MEM | BPF_W: /* *(u32 *)(dst + off) = imm */ in bpf_jit_build_body()
776 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_build_body()
783 case BPF_ST | BPF_MEM | BPF_DW: /* *(u64 *)(dst + off) = imm */ in bpf_jit_build_body()
784 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_build_body()
H A Dbpf_jit_comp32.c804 case BPF_ST | BPF_NOSPEC: in bpf_jit_build_body()
813 case BPF_ST | BPF_MEM | BPF_B: /* *(u8 *)(dst + off) = imm */ in bpf_jit_build_body()
820 case BPF_ST | BPF_MEM | BPF_H: /* (u16 *)(dst + off) = imm */ in bpf_jit_build_body()
827 case BPF_ST | BPF_MEM | BPF_W: /* *(u32 *)(dst + off) = imm */ in bpf_jit_build_body()
835 case BPF_ST | BPF_MEM | BPF_DW: /* *(u64 *)(dst + off) = imm */ in bpf_jit_build_body()
/openbmc/linux/samples/seccomp/
H A Dbpf-helper.h145 BPF_STMT(BPF_ST, 0), /* lo -> M[0] */ \
147 BPF_STMT(BPF_ST, 1) /* hi -> M[1] */
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c1063 case BPF_ST | BPF_NOSPEC: in bpf_jit_emit_insn()
1068 case BPF_ST | BPF_MEM | BPF_B: in bpf_jit_emit_insn()
1069 case BPF_ST | BPF_MEM | BPF_H: in bpf_jit_emit_insn()
1070 case BPF_ST | BPF_MEM | BPF_W: in bpf_jit_emit_insn()
1071 case BPF_ST | BPF_MEM | BPF_DW: in bpf_jit_emit_insn()
1077 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_emit_insn()
H A Dbpf_jit_comp32.c1429 case BPF_ST | BPF_NOSPEC: in bpf_jit_emit_insn()
1433 case BPF_ST | BPF_MEM | BPF_B: in bpf_jit_emit_insn()
1434 case BPF_ST | BPF_MEM | BPF_H: in bpf_jit_emit_insn()
1435 case BPF_ST | BPF_MEM | BPF_W: in bpf_jit_emit_insn()
1436 case BPF_ST | BPF_MEM | BPF_DW: in bpf_jit_emit_insn()
1442 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_emit_insn()
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp64.c831 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
832 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
833 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
834 case BPF_ST | BPF_MEM | BPF_DW: in build_insn()
846 case BPF_ST | BPF_NOSPEC: in build_insn()
H A Dbpf_jit_comp32.c1662 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
1663 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
1664 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
1665 case BPF_ST | BPF_MEM | BPF_DW: in build_insn()
1687 case BPF_ST | BPF_NOSPEC: in build_insn()
/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c65 [BPF_ST] = "st",
249 } else if (class == BPF_ST) { in print_bpf_insn()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c65 [BPF_ST] = "st",
249 } else if (class == BPF_ST) { in print_bpf_insn()
H A Dcore.c1369 case BPF_ST | BPF_MEM | BPF_DW: in bpf_jit_blind_insn()
1370 case BPF_ST | BPF_MEM | BPF_W: in bpf_jit_blind_insn()
1371 case BPF_ST | BPF_MEM | BPF_H: in bpf_jit_blind_insn()
1372 case BPF_ST | BPF_MEM | BPF_B: in bpf_jit_blind_insn()
1686 [BPF_ST | BPF_NOSPEC] = &&ST_NOSPEC, in ___bpf_prog_run()
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c922 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
923 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
924 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
925 case BPF_ST | BPF_MEM | BPF_DW: in build_insn()
1021 case BPF_ST | BPF_NOSPEC: in build_insn()
/openbmc/linux/samples/bpf/
H A Dbpf_insn.h167 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
/openbmc/linux/tools/bpf/
H A Dbpf_dbg.c145 [BPF_ST] = "st",
243 case BPF_ST: in bpf_disasm()
244 op = op_table[BPF_ST]; in bpf_disasm()
658 case BPF_ST: in bpf_single_step()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c1253 case BPF_ST | BPF_NOSPEC: in bpf_jit_emit_insn()
1256 case BPF_ST | BPF_MEM | BPF_B: in bpf_jit_emit_insn()
1257 case BPF_ST | BPF_MEM | BPF_H: in bpf_jit_emit_insn()
1258 case BPF_ST | BPF_MEM | BPF_W: in bpf_jit_emit_insn()
1259 case BPF_ST | BPF_MEM | BPF_DW: in bpf_jit_emit_insn()
1265 if (BPF_CLASS(code) == BPF_ST) { in bpf_jit_emit_insn()
H A Dbpf_jit_comp64.c1672 case BPF_ST | BPF_NOSPEC: in bpf_jit_emit_insn()
1676 case BPF_ST | BPF_MEM | BPF_B: in bpf_jit_emit_insn()
1688 case BPF_ST | BPF_MEM | BPF_H: in bpf_jit_emit_insn()
1699 case BPF_ST | BPF_MEM | BPF_W: in bpf_jit_emit_insn()
1710 case BPF_ST | BPF_MEM | BPF_DW: in bpf_jit_emit_insn()
/openbmc/linux/arch/sparc/net/
H A Dbpf_jit_comp_64.c1291 case BPF_ST | BPF_NOSPEC: in build_insn()
1294 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
1295 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
1296 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
1297 case BPF_ST | BPF_MEM | BPF_DW: { in build_insn()
/openbmc/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1241 case BPF_ST | BPF_NOSPEC: in build_insn()
1254 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
1255 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
1256 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
1257 case BPF_ST | BPF_MEM | BPF_DW: in build_insn()
1389 case BPF_ST: in find_fpb_offset()
/openbmc/linux/tools/include/linux/
H A Dfilter.h202 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c1247 case BPF_ST | BPF_NOSPEC: in bpf_jit_insn()
1272 case BPF_ST | BPF_MEM | BPF_B: /* *(u8 *)(dst + off) = imm */ in bpf_jit_insn()
1279 case BPF_ST | BPF_MEM | BPF_H: /* (u16 *)(dst + off) = imm */ in bpf_jit_insn()
1286 case BPF_ST | BPF_MEM | BPF_W: /* *(u32 *)(dst + off) = imm */ in bpf_jit_insn()
1293 case BPF_ST | BPF_MEM | BPF_DW: /* *(u64 *)(dst + off) = imm */ in bpf_jit_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c1610 case BPF_ST | BPF_NOSPEC: in build_insn()
1613 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
1614 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
1615 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
1616 case BPF_ST | BPF_MEM | BPF_DW: in build_insn()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h423 return BPF_CLASS(code) == BPF_ST && BPF_MODE(code) == BPF_MEM; in is_mbpf_classic_store()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp32.c1906 case BPF_ST | BPF_NOSPEC: in do_jit()
1912 case BPF_ST | BPF_MEM | BPF_H: in do_jit()
1913 case BPF_ST | BPF_MEM | BPF_B: in do_jit()
1914 case BPF_ST | BPF_MEM | BPF_W: in do_jit()
1915 case BPF_ST | BPF_MEM | BPF_DW: in do_jit()
H A Dbpf_jit_comp.c1448 case BPF_ST | BPF_NOSPEC: in do_jit()
1453 case BPF_ST | BPF_MEM | BPF_B: in do_jit()
1459 case BPF_ST | BPF_MEM | BPF_H: in do_jit()
1465 case BPF_ST | BPF_MEM | BPF_W: in do_jit()
1471 case BPF_ST | BPF_MEM | BPF_DW: in do_jit()

12