/Linux-v6.6/tools/testing/selftests/bpf/verifier/ |
D | jset.c | 9 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 14 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 19 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, -1, 1), 23 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x80000000, 1), 64 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x80000000, 1), 80 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 94 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 108 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 123 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1), 138 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 3, 1), [all …]
|
D | jmp32.c | 7 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, -2, 1), 11 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, 1, 1), 38 BPF_JMP32_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 43 BPF_JMP32_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 70 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 72 BPF_JMP32_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 84 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, 0x10, 1),
|
D | dead_code.c | 31 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 4), 32 BPF_JMP_IMM(BPF_JSET, BPF_REG_0, 1, 1),
|
/Linux-v6.6/tools/bpf/ |
D | bpf_exp.y | 327 bpf_set_curr_instr(BPF_JMP | BPF_JSET | BPF_K, 0, 0, $3); } 331 bpf_set_curr_instr(BPF_JMP | BPF_JSET | BPF_X, 0, 0, 0); } 335 bpf_set_curr_instr(BPF_JMP | BPF_JSET | BPF_X, 0, 0, 0); } 338 bpf_set_curr_instr(BPF_JMP | BPF_JSET | BPF_K, 0, 0, $3); } 341 bpf_set_curr_instr(BPF_JMP | BPF_JSET | BPF_X, 0, 0, 0); } 344 bpf_set_curr_instr(BPF_JMP | BPF_JSET | BPF_X, 0, 0, 0); }
|
/Linux-v6.6/samples/seccomp/ |
D | bpf-helper.h | 158 BPF_JUMP(BPF_JMP+BPF_JSET+BPF_K, (value), 0, 1), \ 203 BPF_JUMP(BPF_JMP+BPF_JSET+BPF_K, (hi), 3, 0), \ 206 BPF_JUMP(BPF_JMP+BPF_JSET+BPF_K, (lo), 0, 2), \
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf_common.h | 48 #define BPF_JSET 0x40 macro
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf_common.h | 48 #define BPF_JSET 0x40 macro
|
/Linux-v6.6/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 1066 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_build_body() 1067 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_build_body() 1068 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_build_body() 1069 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_build_body() 1107 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_build_body() 1108 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_build_body() 1180 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_build_body() 1181 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_build_body()
|
D | bpf_jit_comp32.c | 1123 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_build_body() 1124 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_build_body() 1125 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_build_body() 1126 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_build_body() 1168 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_build_body() 1173 case BPF_JMP32 | BPF_JSET | BPF_X: { in bpf_jit_build_body() 1245 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_build_body() 1259 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_build_body()
|
/Linux-v6.6/arch/mips/net/ |
D | bpf_jit_comp.c | 512 case BPF_JSET: in valid_jmp_i() 539 case BPF_JSET: return JIT_JNSET; in invert_jmp() 615 case BPF_JSET: in setup_jmp_i() 654 case BPF_JSET: in setup_jmp_r() 705 case BPF_JSET: in emit_jmp_i() 773 case BPF_JSET: in emit_jmp_r()
|
D | bpf_jit_comp32.c | 1126 case BPF_JSET: in emit_jmp_i64() 1136 if (op == BPF_JSET) in emit_jmp_i64() 1209 case BPF_JSET: in emit_jmp_r64() 1214 if (op == BPF_JSET) in emit_jmp_r64() 1755 case BPF_JMP32 | BPF_JSET | BPF_X: in build_insn() 1784 case BPF_JMP32 | BPF_JSET | BPF_K: in build_insn() 1819 case BPF_JMP | BPF_JSET | BPF_X: in build_insn() 1848 case BPF_JMP | BPF_JSET | BPF_K: in build_insn()
|
D | bpf_jit_comp64.c | 911 case BPF_JMP32 | BPF_JSET | BPF_X: in build_insn() 942 case BPF_JMP32 | BPF_JSET | BPF_K: in build_insn() 978 case BPF_JMP | BPF_JSET | BPF_X: in build_insn() 1007 case BPF_JMP | BPF_JSET | BPF_K: in build_insn()
|
/Linux-v6.6/arch/loongarch/net/ |
D | bpf_jit.h | 181 case BPF_JSET: in invert_jmp_cond() 212 case BPF_JSET: in cond_jmp_offset()
|
D | bpf_jit.c | 809 case BPF_JMP | BPF_JSET | BPF_X: in build_insn() 810 case BPF_JMP32 | BPF_JSET | BPF_X: in build_insn() 819 case BPF_JMP | BPF_JSET | BPF_K: in build_insn() 820 case BPF_JMP32 | BPF_JSET | BPF_K: in build_insn()
|
/Linux-v6.6/arch/sparc/net/ |
D | bpf_jit_comp_32.c | 646 COND_SEL(BPF_JMP | BPF_JSET | BPF_K, BNE, BE); in bpf_jit_compile() 650 COND_SEL(BPF_JMP | BPF_JSET | BPF_X, BNE, BE); in bpf_jit_compile() 669 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_compile() 683 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_compile()
|
D | bpf_jit_comp_64.c | 668 BPF_OP(code) == BPF_JSET) in emit_compare_and_branch() 691 if (BPF_OP(code) == BPF_JSET) { in emit_compare_and_branch() 718 case BPF_JSET: in emit_compare_and_branch() 1185 case BPF_JMP | BPF_JSET | BPF_X: { in build_insn() 1204 case BPF_JMP | BPF_JSET | BPF_K: { in build_insn()
|
/Linux-v6.6/arch/parisc/net/ |
D | bpf_jit_comp64.c | 255 if (op == BPF_JSET) { in emit_branch() 885 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 886 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 899 if (BPF_OP(code) == BPF_JSET) { in bpf_jit_emit_insn() 951 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_emit_insn() 952 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_emit_insn()
|
D | bpf_jit_comp32.c | 769 case BPF_JSET: in emit_branch_r64() 795 if (op == BPF_JSET) { in emit_bcc() 1374 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 1375 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_emit_insn() 1376 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 1377 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_emit_insn()
|
/Linux-v6.6/arch/riscv/net/ |
D | bpf_jit_comp32.c | 634 case BPF_JSET: in emit_branch_r64() 658 if (op == BPF_JSET) { in emit_bcc() 707 case BPF_JSET: in emit_bcc() 1205 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 1206 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_emit_insn() 1207 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 1208 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_emit_insn()
|
D | bpf_jit_comp64.c | 1417 case BPF_JMP | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 1418 case BPF_JMP32 | BPF_JSET | BPF_X: in bpf_jit_emit_insn() 1432 if (BPF_OP(code) == BPF_JSET) { in bpf_jit_emit_insn() 1486 case BPF_JMP | BPF_JSET | BPF_K: in bpf_jit_emit_insn() 1487 case BPF_JMP32 | BPF_JSET | BPF_K: in bpf_jit_emit_insn()
|
/Linux-v6.6/arch/arm/net/ |
D | bpf_jit_32.c | 1113 case BPF_JSET: in emit_ar_r() 1659 case BPF_JMP | BPF_JSET | BPF_X: in build_insn() 1670 case BPF_JMP32 | BPF_JSET | BPF_X: in build_insn() 1696 case BPF_JMP | BPF_JSET | BPF_K: in build_insn() 1707 case BPF_JMP32 | BPF_JSET | BPF_K: in build_insn() 1730 case BPF_JSET: in build_insn()
|
/Linux-v6.6/lib/ |
D | test_bpf.c | 2276 case BPF_JSET: in __bpf_match_jmp_cond() 2421 return __bpf_fill_jmp_imm(self, BPF_JSET); in bpf_fill_jmp_jset_imm() 2477 return __bpf_fill_jmp32_imm(self, BPF_JSET); in bpf_fill_jmp32_jset_imm() 2533 return __bpf_fill_jmp_reg(self, BPF_JSET); in bpf_fill_jmp_jset_reg() 2589 return __bpf_fill_jmp32_reg(self, BPF_JSET); in bpf_fill_jmp32_jset_reg() 2767 struct bpf_insn jmp = BPF_JMP_IMM(BPF_JSET, R1, 0x82, 0); in bpf_fill_staggered_jset_imm() 2845 struct bpf_insn jmp = BPF_JMP_REG(BPF_JSET, R1, R2, 0); in bpf_fill_staggered_jset_reg() 2923 struct bpf_insn jmp = BPF_JMP32_IMM(BPF_JSET, R1, 0x82, 0); in bpf_fill_staggered_jset32_imm() 3001 struct bpf_insn jmp = BPF_JMP32_REG(BPF_JSET, R1, R2, 0); in bpf_fill_staggered_jset32_reg() 3576 BPF_JUMP(BPF_JMP | BPF_JSET | BPF_K, 1, 0, 1), [all …]
|
/Linux-v6.6/kernel/ |
D | seccomp.c | 340 case BPF_JMP | BPF_JSET | BPF_K: in seccomp_check_filter() 341 case BPF_JMP | BPF_JSET | BPF_X: in seccomp_check_filter() 767 case BPF_JMP | BPF_JSET | BPF_K: in seccomp_is_const_allow() 778 case BPF_JSET: in seccomp_is_const_allow()
|
/Linux-v6.6/arch/arm64/net/ |
D | bpf_jit_comp.c | 1046 case BPF_JSET: in build_insn() 1067 case BPF_JMP | BPF_JSET | BPF_X: in build_insn() 1068 case BPF_JMP32 | BPF_JSET | BPF_X: in build_insn() 1101 case BPF_JMP | BPF_JSET | BPF_K: in build_insn() 1102 case BPF_JMP32 | BPF_JSET | BPF_K: in build_insn()
|
/Linux-v6.6/arch/x86/net/ |
D | bpf_jit_comp32.c | 1431 case BPF_JSET: in get_cond_jmp_opcode() 2230 case BPF_JMP | BPF_JSET | BPF_X: in do_jit() 2231 case BPF_JMP32 | BPF_JSET | BPF_X: { in do_jit() 2274 case BPF_JMP | BPF_JSET | BPF_K: in do_jit() 2275 case BPF_JMP32 | BPF_JSET | BPF_K: { in do_jit()
|