Home
last modified time | relevance | path

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

/tools/testing/selftests/seccomp/
Dseccomp_bpf.c284 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
315 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
352 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
390 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
413 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
438 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
474 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), in TEST()
496 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL()
518 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL()
539 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
[all …]
Dseccomp_benchmark.c63 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in main()
/tools/include/uapi/linux/
Dbpf_common.h13 #define BPF_RET 0x06 macro
/tools/bpf/
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.y444 bpf_set_curr_instr(BPF_RET | BPF_A, 0, 0, 0); }
446 bpf_set_curr_instr(BPF_RET | BPF_A, 0, 0, 0); }
448 bpf_set_curr_instr(BPF_RET | BPF_X, 0, 0, 0); }
450 bpf_set_curr_instr(BPF_RET | BPF_X, 0, 0, 0); }
452 bpf_set_curr_instr(BPF_RET | BPF_K, 0, 0, $3); }
/tools/testing/selftests/net/
Dreuseport_bpf_cpu.c83 { BPF_RET | BPF_A, 0, 0, 0 }, in attach_bpf()
Dreuseport_bpf.c141 { BPF_RET | BPF_A, 0, 0, 0 }, in attach_cbpf()
348 struct sock_filter ccode[] = {{ BPF_RET | BPF_A, 0, 0, 0 }}; in test_filter_no_reuseport()
Dpsock_fanout.c102 BPF_STMT(BPF_RET+BPF_A, 0), /* ret A */ in sock_fanout_set_cbpf()