/linux-4.1.27/samples/seccomp/ |
D | bpf-direct.c | 117 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()
|
D | dropper.c | 37 BPF_STMT(BPF_RET+BPF_K, in install_filter() 39 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW), in install_filter()
|
D | bpf-helper.h | 45 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_ALLOW) 47 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_KILL)
|
/linux-4.1.27/lib/ |
D | test_bpf.c | 93 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/ |
D | bpf_dbg.c | 170 [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()
|
D | bpf_exp.y | 569 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/ |
D | bpf_common.h | 12 #define BPF_RET 0x06 macro
|
/linux-4.1.27/net/core/ |
D | filter.c | 525 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/ |
D | seccomp.c | 124 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/ |
D | bpf_jit_comp.c | 261 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/ |
D | bpf_jit_32.c | 140 (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/ |
D | bpf_jit_comp.c | 535 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/ |
D | filter.h | 434 case BPF_RET | BPF_K: in bpf_needs_clear_a()
|
/linux-4.1.27/Documentation/networking/ |
D | cdc_mbim.txt | 255 BPF_STMT(BPF_RET|BPF_K, (u_int)-1), /* accept */ 256 BPF_STMT(BPF_RET|BPF_K, 0), /* ignore */
|
D | filter.txt | 861 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/ |
D | bpf_jit.c | 1168 case BPF_RET | BPF_A: in build_body() 1178 case BPF_RET | BPF_K: in build_body()
|
/linux-4.1.27/kernel/bpf/ |
D | verifier.c | 274 [BPF_RET] = "BUG",
|