Home
last modified time | relevance | path

Searched defs:prog_fd (Results 1 – 25 of 65) sorted by relevance

123

/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c11 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
Dspinlock.c8 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local
23 int prog_fd; in test_spinlock() local
Dmap_lock.c8 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
Dxdp_adjust_tail.c10 int err, prog_fd; in test_xdp_adjust_tail_shrink() local
39 int err, prog_fd; in test_xdp_adjust_tail_grow() local
Dtcp_estats.c7 int err, prog_fd; in test_tcp_estats() local
Dpkt_md_access.c10 int err, prog_fd; in test_pkt_md_access() local
Dpkt_access.c10 int err, prog_fd; in test_pkt_access() local
Denable_stats.c8 int stats_fd, err, prog_fd; in test_enable_stats() local
Dfentry_test.c9 int err, prog_fd, i; in test_fentry_test() local
Dfexit_test.c9 int err, prog_fd, i; in test_fexit_test() local
Dxdp_info.c13 int err, prog_fd; in test_xdp_info() local
Dxdp_perf.c10 int err, prog_fd; in test_xdp_perf() local
Dfentry_fexit.c13 int err, prog_fd, i; in test_fentry_fexit() local
Dload_bytes_relative.c12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
Dtest_profiler.c14 int err, prog_fd; in sanity_run() local
Dsignal_pending.c17 int prog_fd; in test_signal_pending_by_type() local
Dxdp_cpumap_attach.c19 int err, prog_fd, map_fd; in test_xdp_with_cpumap_helpers() local
Dtask_fd_query_rawtp.c10 int efd, err, prog_fd; in test_task_fd_query_rawtp() local
Draw_tp_test_run.c13 int comm_fd = -1, err, nr_online, i, prog_fd; in test_raw_tp_test_run() local
Dstacktrace_map_raw_tp.c10 int err, prog_fd; in test_stacktrace_map_raw_tp() local
Dmodify_return.c17 int err, prog_fd; in run_test() local
/tools/bpf/bpftool/
Dcgroup.c55 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/
Dtest_dev_cgroup.c27 int prog_fd, cgroup_fd; in main() local
Dtest_stub.c11 struct bpf_object **pobj, int *prog_fd) in bpf_prog_test_load()
/tools/lib/bpf/
Dbpf.c533 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()

123