Home
last modified time | relevance | path

Searched refs:BPF_RET (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/samples/seccomp/
Dbpf-direct.c117 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
120 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
123 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
125 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
132 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in install_filter()
140 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
141 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_TRAP), in install_filter()
142 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL), in install_filter()
Ddropper.c37 BPF_STMT(BPF_RET+BPF_K, in install_filter()
39 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
Dbpf-helper.h45 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW)
47 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL)
/linux-4.1.27/lib/
Dtest_bpf.c93 BPF_STMT(BPF_RET | BPF_A, 0)
105 BPF_STMT(BPF_RET | BPF_A, 0) /* A == len * 2 */
120 BPF_STMT(BPF_RET | BPF_A, 0)
144 BPF_STMT(BPF_RET | BPF_A, 0)
160 BPF_STMT(BPF_RET | BPF_A, 0)
171 BPF_STMT(BPF_RET | BPF_K, 0),
172 BPF_STMT(BPF_RET | BPF_K, 1),
183 BPF_STMT(BPF_RET | BPF_K, 1)
193 BPF_STMT(BPF_RET | BPF_K, 1)
206 BPF_STMT(BPF_RET | BPF_A, 0)
[all …]
/linux-4.1.27/tools/net/
Dbpf_dbg.c170 [BPF_RET] = "ret",
223 case BPF_RET | BPF_K: in bpf_disasm()
224 op = op_table[BPF_RET]; in bpf_disasm()
227 case BPF_RET | BPF_A: in bpf_disasm()
228 op = op_table[BPF_RET]; in bpf_disasm()
231 case BPF_RET | BPF_X: in bpf_disasm()
232 op = op_table[BPF_RET]; in bpf_disasm()
640 case BPF_RET | BPF_K: in bpf_single_step()
644 case BPF_RET | BPF_A: in bpf_single_step()
648 case BPF_RET | BPF_X: in bpf_single_step()
Dbpf_exp.y569 bpf_set_curr_instr(BPF_RET | BPF_A, 0, 0, 0); }
571 bpf_set_curr_instr(BPF_RET | BPF_A, 0, 0, 0); }
573 bpf_set_curr_instr(BPF_RET | BPF_X, 0, 0, 0); }
575 bpf_set_curr_instr(BPF_RET | BPF_X, 0, 0, 0); }
577 bpf_set_curr_instr(BPF_RET | BPF_K, 0, 0, $3); }
/linux-4.1.27/include/uapi/linux/
Dbpf_common.h12 #define BPF_RET 0x06 macro
/linux-4.1.27/net/core/
Dfilter.c525 case BPF_RET | BPF_A: in bpf_convert_filter()
526 case BPF_RET | BPF_K: in bpf_convert_filter()
720 [BPF_RET | BPF_K] = true, in chk_code_allowed()
721 [BPF_RET | BPF_A] = true, in chk_code_allowed()
826 case BPF_RET | BPF_K: in bpf_check_classic()
827 case BPF_RET | BPF_A: in bpf_check_classic()
/linux-4.1.27/kernel/
Dseccomp.c124 case BPF_RET | BPF_K: in seccomp_check_filter()
125 case BPF_RET | BPF_A: in seccomp_check_filter()
/linux-4.1.27/arch/powerpc/net/
Dbpf_jit_comp.c261 case BPF_RET | BPF_K: in bpf_jit_build_body()
288 case BPF_RET | BPF_A: in bpf_jit_build_body()
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c140 (ctx->skf->insns[0].code == (BPF_RET | BPF_A))) in saved_regs()
778 case BPF_RET | BPF_A: in build_body()
781 case BPF_RET | BPF_K: in build_body()
/linux-4.1.27/arch/sparc/net/
Dbpf_jit_comp.c535 case BPF_RET | BPF_K: in bpf_jit_compile()
544 case BPF_RET | BPF_A: in bpf_jit_compile()
/linux-4.1.27/include/linux/
Dfilter.h434 case BPF_RET | BPF_K: in bpf_needs_clear_a()
/linux-4.1.27/Documentation/networking/
Dcdc_mbim.txt255 BPF_STMT(BPF_RET|BPF_K, (u_int)-1), /* accept */
256 BPF_STMT(BPF_RET|BPF_K, 0), /* ignore */
Dfilter.txt861 BPF_RET 0x06 [ class 6 unused, for future if needed ]
924 Classic BPF wastes the whole BPF_RET class to represent a single 'ret'
925 operation. Classic BPF_RET | BPF_K means copy imm32 into return register
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c1168 case BPF_RET | BPF_A: in build_body()
1178 case BPF_RET | BPF_K: in build_body()
/linux-4.1.27/kernel/bpf/
Dverifier.c274 [BPF_RET] = "BUG",