/linux-6.6.21/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 81 int max_grow, prog_fd; in test_xdp_adjust_tail_grow2() local 148 int err, prog_fd; in test_xdp_adjust_frags_tail_shrink() local 215 int err, i, prog_fd; in test_xdp_adjust_frags_tail_grow() local
|
D | bpf_cookie.c | 74 int err, prog_fd; in kprobe_multi_test_run() local 102 int prog_fd, link1_fd = -1, link2_fd = -1; in kprobe_multi_link_api_subtest() local 495 int prog_fd; in tracing_subtest() local 548 int prog_fd; in lsm_subtest() local
|
D | kfunc_call.c | 95 int prog_fd, err; in verify_success() local 157 int prog_fd, err; in verify_fail() local 235 int prog_fd, err; in test_subprog() local 259 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 | verifier_log.c | 10 static bool check_prog_load(int prog_fd, bool expect_err, const char *tag) in check_prog_load() 38 int prog_fd; in load_prog() local 55 int i, mode, err, prog_fd, res; in verif_log_subtest() local
|
D | type_cast.c | 10 int err, prog_fd; in test_xdp() local 47 int err, prog_fd; in test_tc() 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 | get_func_ip_test.c | 13 int err, prog_fd; in test_function_entry() local 70 int err, prog_fd; in test_function_body_kprobe() 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() 236 int prog_fd, perf_fd = -1, i, ret; in test_unpriv_bpf_disabled() local
|
D | spin_lock.c | 115 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local 132 int prog_fd, i; in test_spin_lock_success() local
|
D | task_local_storage.c | 82 int err, map_fd, prog_fd, task_fd; in test_recursion() local 176 int i, prog_fd, err; in test_nodeadlock() 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
|
/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/ |
D | xdp_synproxy.c | 26 int prog_fd; in cleanup() local 195 int prog_fd; in syncookie_attach() local 277 int prog_fd; in syncookie_open_bpf_maps() local
|
/linux-6.6.21/tools/lib/bpf/ |
D | bpf.c | 115 int prog_fd; in probe_memcg_account() local 622 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() 632 int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_attach_opts() 670 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, in bpf_prog_detach_opts() 712 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() 717 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() 953 int bpf_prog_test_run_opts(int prog_fd, struct bpf_test_run_opts *opts) in bpf_prog_test_run_opts() 1133 int bpf_prog_get_info_by_fd(int prog_fd, struct bpf_prog_info *info, __u32 *info_len) in bpf_prog_get_info_by_fd() 1153 int bpf_raw_tracepoint_open(const char *name, int prog_fd) in bpf_raw_tracepoint_open() 1256 int bpf_prog_bind_map(int prog_fd, int map_fd, in bpf_prog_bind_map()
|
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
|
/linux-6.6.21/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.6.21/kernel/bpf/preload/iterators/ |
D | iterators.lskel-big-endian.h | 26 int prog_fd = skel->progs.dump_bpf_map.prog_fd; in iterators_bpf__dump_bpf_map__attach() local 37 int prog_fd = skel->progs.dump_bpf_prog.prog_fd; in iterators_bpf__dump_bpf_prog__attach() local
|
D | iterators.lskel-little-endian.h | 26 int prog_fd = skel->progs.dump_bpf_map.prog_fd; in iterators_bpf__dump_bpf_map__attach() local 37 int prog_fd = skel->progs.dump_bpf_prog.prog_fd; in iterators_bpf__dump_bpf_prog__attach() local
|
/linux-6.6.21/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
|