/tools/testing/selftests/bpf/prog_tests/ |
D | tailcalls.c | 11 int err, map_fd, prog_fd, main_fd, i, j; in test_tailcall_1() local 149 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_2() local 227 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_3() local 305 int err, map_fd, prog_fd, main_fd, data_fd, i; in test_tailcall_4() local 393 int err, map_fd, prog_fd, main_fd, data_fd, i, key[] = { 1111, 1234, 5678 }; in test_tailcall_5() local 481 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_1() local 565 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_2() local 643 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_3() local 733 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_4() local
|
D | spinlock.c | 8 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local 23 int prog_fd; in test_spinlock() local
|
D | map_lock.c | 8 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local 50 int prog_fd, map_fd[2], vars[17] = {}; in test_map_lock() local
|
D | xdp_adjust_tail.c | 10 int err, prog_fd; in test_xdp_adjust_tail_shrink() local 39 int err, prog_fd; in test_xdp_adjust_tail_grow() local
|
D | tcp_estats.c | 7 int err, prog_fd; in test_tcp_estats() local
|
D | pkt_md_access.c | 10 int err, prog_fd; in test_pkt_md_access() local
|
D | pkt_access.c | 10 int err, prog_fd; in test_pkt_access() local
|
D | enable_stats.c | 8 int stats_fd, err, prog_fd; in test_enable_stats() local
|
D | fentry_test.c | 9 int err, prog_fd, i; in test_fentry_test() local
|
D | fexit_test.c | 9 int err, prog_fd, i; in test_fexit_test() local
|
D | xdp_info.c | 13 int err, prog_fd; in test_xdp_info() local
|
D | xdp_perf.c | 10 int err, prog_fd; in test_xdp_perf() local
|
D | fentry_fexit.c | 13 int err, prog_fd, i; in test_fentry_fexit() local
|
D | load_bytes_relative.c | 12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
|
D | test_profiler.c | 14 int err, prog_fd; in sanity_run() local
|
D | signal_pending.c | 17 int prog_fd; in test_signal_pending_by_type() local
|
D | xdp_cpumap_attach.c | 19 int err, prog_fd, map_fd; in test_xdp_with_cpumap_helpers() local
|
D | task_fd_query_rawtp.c | 10 int efd, err, prog_fd; in test_task_fd_query_rawtp() local
|
D | raw_tp_test_run.c | 13 int comm_fd = -1, err, nr_online, i, prog_fd; in test_raw_tp_test_run() local
|
D | stacktrace_map_raw_tp.c | 10 int err, prog_fd; in test_stacktrace_map_raw_tp() local
|
D | modify_return.c | 17 int err, prog_fd; in run_test() local
|
/tools/bpf/bpftool/ |
D | cgroup.c | 55 int prog_fd; in show_bpf_prog() local 383 int cgroup_fd, prog_fd; in do_attach() local 443 int prog_fd, cgroup_fd; in do_detach() local
|
/tools/testing/selftests/bpf/ |
D | test_dev_cgroup.c | 27 int prog_fd, cgroup_fd; in main() local
|
D | test_stub.c | 11 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load()
|
/tools/lib/bpf/ |
D | bpf.c | 533 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() 543 int bpf_prog_attach_xattr(int prog_fd, int target_fd, in bpf_prog_attach_xattr() 573 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() 585 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() 675 int bpf_prog_test_run(int prog_fd, int repeat, void *data, __u32 size, in bpf_prog_test_run() 727 int bpf_prog_test_run_opts(int prog_fd, struct bpf_test_run_opts *opts) in bpf_prog_test_run_opts() 850 int bpf_raw_tracepoint_open(const char *name, int prog_fd) in bpf_raw_tracepoint_open() 919 int bpf_prog_bind_map(int prog_fd, int map_fd, in bpf_prog_bind_map()
|