Home
last modified time | relevance | path

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

12

/Linux-v6.6/arch/powerpc/net/
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()
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()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf_common.h9 #define BPF_ST 0x02 macro
/Linux-v6.6/include/uapi/linux/
Dbpf_common.h9 #define BPF_ST 0x02 macro
/Linux-v6.6/samples/seccomp/
Dbpf-helper.h145 BPF_STMT(BPF_ST, 0), /* lo -> M[0] */ \
147 BPF_STMT(BPF_ST, 1) /* hi -> M[1] */
/Linux-v6.6/arch/parisc/net/
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()
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()
/Linux-v6.6/arch/mips/net/
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()
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()
/Linux-v6.6/tools/testing/selftests/bpf/
Ddisasm.c65 [BPF_ST] = "st",
249 } else if (class == BPF_ST) { in print_bpf_insn()
/Linux-v6.6/kernel/bpf/
Ddisasm.c65 [BPF_ST] = "st",
249 } else if (class == BPF_ST) { in print_bpf_insn()
Dcore.c1356 case BPF_ST | BPF_MEM | BPF_DW: in bpf_jit_blind_insn()
1357 case BPF_ST | BPF_MEM | BPF_W: in bpf_jit_blind_insn()
1358 case BPF_ST | BPF_MEM | BPF_H: in bpf_jit_blind_insn()
1359 case BPF_ST | BPF_MEM | BPF_B: in bpf_jit_blind_insn()
1673 [BPF_ST | BPF_NOSPEC] = &&ST_NOSPEC, in ___bpf_prog_run()
/Linux-v6.6/arch/loongarch/net/
Dbpf_jit.c927 case BPF_ST | BPF_MEM | BPF_B: in build_insn()
928 case BPF_ST | BPF_MEM | BPF_H: in build_insn()
929 case BPF_ST | BPF_MEM | BPF_W: in build_insn()
930 case BPF_ST | BPF_MEM | BPF_DW: in build_insn()
1026 case BPF_ST | BPF_NOSPEC: in build_insn()
/Linux-v6.6/samples/bpf/
Dbpf_insn.h167 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
/Linux-v6.6/tools/bpf/
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()
/Linux-v6.6/arch/riscv/net/
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()
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()
/Linux-v6.6/arch/sparc/net/
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()
/Linux-v6.6/arch/arm64/net/
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()
/Linux-v6.6/arch/s390/net/
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()
/Linux-v6.6/tools/include/linux/
Dfilter.h202 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
/Linux-v6.6/arch/arm/net/
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()
/Linux-v6.6/arch/x86/net/
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()
Dbpf_jit_comp.c1394 case BPF_ST | BPF_NOSPEC: in do_jit()
1399 case BPF_ST | BPF_MEM | BPF_B: in do_jit()
1405 case BPF_ST | BPF_MEM | BPF_H: in do_jit()
1411 case BPF_ST | BPF_MEM | BPF_W: in do_jit()
1417 case BPF_ST | BPF_MEM | BPF_DW: in do_jit()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h423 return BPF_CLASS(code) == BPF_ST && BPF_MODE(code) == BPF_MEM; in is_mbpf_classic_store()

12