Home
last modified time | relevance | path

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

/tools/testing/selftests/seccomp/
Dseccomp_bpf.c392 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
425 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
462 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
500 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
523 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
548 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in TEST()
584 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_LOG), in TEST()
606 BPF_STMT(BPF_RET|BPF_K, 0x10000000U), in TEST_SIGNAL()
628 BPF_STMT(BPF_RET|BPF_K, 0x90000000U), in TEST_SIGNAL()
649 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/perf/bench/
Dsched-seccomp-notify.c55 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_USER_NOTIF), in user_notif_syscall()
56 BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW), in user_notif_syscall()
/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.c296 BPF_STMT(BPF_RET + BPF_K, 0), in __set_filter()
297 BPF_STMT(BPF_RET + BPF_K, 0xFFFF), in __set_filter()
326 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.c139 { BPF_RET | BPF_A, 0, 0, 0 }, in attach_cbpf()
346 struct sock_filter ccode[] = {{ BPF_RET | BPF_A, 0, 0, 0 }}; in test_filter_no_reuseport()
Dcsum.c504 BPF_STMT(BPF_RET + BPF_K, 0), in __recv_prepare_packet_filter()
505 BPF_STMT(BPF_RET + BPF_K, 0xFFFF), in __recv_prepare_packet_filter()
Dpsock_fanout.c116 BPF_STMT(BPF_RET | BPF_A, 0), /* ret A */ in sock_fanout_set_cbpf()
Dgro.c132 BPF_STMT(BPF_RET + BPF_K, 0xFFFFFFFF), in setup_sock_filter()
133 BPF_STMT(BPF_RET + BPF_K, 0), in setup_sock_filter()