Home
last modified time | relevance | path

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

/tools/testing/selftests/seccomp/
Dseccomp_bpf.c381 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
412 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
449 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
487 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
510 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
535 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
571 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), in TEST()
593 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL()
615 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL()
636 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_KILL), in TEST_SIGNAL()
[all …]
Dseccomp_benchmark.c126 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in main()
134 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/
Dtoeplitz.c294 BPF_STMT(BPF_RET + BPF_K, 0), in __set_filter()
295 BPF_STMT(BPF_RET + BPF_K, 0xFFFF), in __set_filter()
324 BPF_STMT(BPF_RET + BPF_K, 0), in set_filter_null()
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.c115 BPF_STMT(BPF_RET | BPF_A, 0), /* ret A */ in sock_fanout_set_cbpf()
Dgro.c131 BPF_STMT(BPF_RET + BPF_K, 0xFFFFFFFF), in setup_sock_filter()
132 BPF_STMT(BPF_RET + BPF_K, 0), in setup_sock_filter()