/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | atomics.c | 9 int err, prog_fd; in test_add() local 34 int err, prog_fd; in test_sub() local 59 int err, prog_fd; in test_and() local 81 int err, prog_fd; in test_or() local 103 int err, prog_fd; in test_xor() local 125 int err, prog_fd; in test_cmpxchg() local 147 int err, prog_fd; in test_xchg() local
|
D | tailcalls.c | 11 int err, map_fd, prog_fd, main_fd, i, j; in test_tailcall_1() local 147 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_2() local 223 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_count() local 319 int err, map_fd, prog_fd, main_fd, data_fd, i; in test_tailcall_4() local 409 int err, map_fd, prog_fd, main_fd, data_fd, i, key[] = { 1111, 1234, 5678 }; in test_tailcall_5() local 499 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_1() local 583 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_2() local 663 int err, map_fd, prog_fd, main_fd, i; in test_tailcall_bpf2bpf_3() local 757 int err, map_fd, prog_fd, main_fd, data_fd, i; in test_tailcall_bpf2bpf_4() local 842 int err, map_fd, prog_fd, main_fd, data_fd, i, val; in test_tailcall_bpf2bpf_6() local
|
D | xdp_adjust_tail.c | 10 int err, prog_fd; in test_xdp_adjust_tail_shrink() local 46 int err, prog_fd; in test_xdp_adjust_tail_grow() local 82 int max_grow, prog_fd; in test_xdp_adjust_tail_grow2() local 143 int err, prog_fd; in test_xdp_adjust_frags_tail_shrink() local 210 int err, i, prog_fd; in test_xdp_adjust_frags_tail_grow() local
|
D | bpf_cookie.c | 73 int err, prog_fd; in kprobe_multi_test_run() local 101 int prog_fd, link1_fd = -1, link2_fd = -1; in kprobe_multi_link_api_subtest() local 419 int prog_fd; in tracing_subtest() local 472 int prog_fd; in lsm_subtest() local
|
D | spinlock.c | 7 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local 25 int prog_fd; in test_spinlock() local
|
D | get_func_ip_test.c | 8 int err, prog_fd; in test_function_entry() local 53 int err, prog_fd; in test_function_body() local
|
D | kfunc_call.c | 93 int prog_fd, err; in verify_success() local 155 int prog_fd, err; in verify_fail() local 233 int prog_fd, err; in test_subprog() local 257 int prog_fd, err; in test_subprog_lskel() local
|
D | prog_run_opts.c | 9 static void check_run_cnt(int prog_fd, __u64 run_cnt) in check_run_cnt() 26 int err, stats_fd = -1, prog_fd; in test_prog_run_opts() local
|
D | xdp_context_test_run.c | 6 void test_xdp_context_error(int prog_fd, struct bpf_test_run_opts opts, in test_xdp_context_error() 41 int err, prog_fd; in test_xdp_context_test_run() local
|
D | syscall.c | 11 int prog_fd; member 29 int err, prog_fd; in test_syscall() local
|
D | map_lock.c | 7 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local 53 int prog_fd, map_fd[2], vars[17] = {}; in test_map_lock() local
|
D | unpriv_bpf_disabled.c | 59 __u32 prog_id, int prog_fd, int perf_fd, in test_unpriv_bpf_disabled_positive() 142 __u32 prog_id, int prog_fd, int perf_fd, in test_unpriv_bpf_disabled_negative() 232 int prog_fd, perf_fd = -1, i, ret; in test_unpriv_bpf_disabled() local
|
D | check_mtu.c | 85 int err, prog_fd = bpf_program__fd(prog); in test_check_mtu_run_xdp() local 138 int err, prog_fd = bpf_program__fd(prog); in test_check_mtu_run_tc() local
|
D | get_func_args_test.c | 8 int err, prog_fd; in test_get_func_args_test() local
|
D | pkt_access.c | 9 int err, prog_fd; in test_pkt_access() local
|
D | pkt_md_access.c | 9 int err, prog_fd; in test_pkt_md_access() local
|
D | skb_helpers.c | 21 int err, prog_fd; in test_skb_helpers() local
|
D | tcp_estats.c | 7 int err, prog_fd; in test_tcp_estats() local
|
/linux-6.1.9/samples/bpf/ |
D | xdp_fwd_user.c | 32 static int do_attach(int idx, int prog_fd, int map_fd, const char *name) in do_attach() 56 int prog_fd; in do_detach() local 125 int prog_fd = -1, map_fd = -1; in main() local
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | xdp_synproxy.c | 26 int prog_fd; in cleanup() local 194 int prog_fd; in syncookie_attach() local 275 int prog_fd; in syncookie_open_bpf_maps() local
|
/linux-6.1.9/tools/lib/bpf/ |
D | skel_internal.h | 45 int prog_fd; member 277 static inline int skel_raw_tracepoint_open(const char *name, int prog_fd) in skel_raw_tracepoint_open() 289 static inline int skel_link_create(int prog_fd, int target_fd, in skel_link_create() 313 int map_fd = -1, prog_fd = -1, key = 0, err; in bpf_load_and_run() local
|
D | bpf.c | 115 int prog_fd; in probe_memcg_account() local 612 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() 622 int bpf_prog_attach_opts(int prog_fd, int target_fd, in bpf_prog_attach_opts() 658 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() 673 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() 867 int bpf_prog_test_run_opts(int prog_fd, struct bpf_test_run_opts *opts) in bpf_prog_test_run_opts() 1007 int bpf_raw_tracepoint_open(const char *name, int prog_fd) in bpf_raw_tracepoint_open() 1108 int bpf_prog_bind_map(int prog_fd, int map_fd, in bpf_prog_bind_map()
|
/linux-6.1.9/tools/perf/util/ |
D | bpf_counter_cgroup.c | 53 int prog_fd, err; in bperf_load_program() local 203 int prog_fd = bpf_program__fd(skel->progs.trigger_read); in bperf_cgrp__sync_counters() local
|
/linux-6.1.9/kernel/bpf/preload/iterators/ |
D | iterators.lskel.h | 28 int prog_fd = skel->progs.dump_bpf_map.prog_fd; in iterators_bpf__dump_bpf_map__attach() local 39 int prog_fd = skel->progs.dump_bpf_prog.prog_fd; in iterators_bpf__dump_bpf_prog__attach() local
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | cgroup.c | 105 int prog_fd; in show_bpf_prog() local 513 int cgroup_fd, prog_fd; in do_attach() local 573 int prog_fd, cgroup_fd; in do_detach() local
|