Home
last modified time | relevance | path

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

12345

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Datomics.c9 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
Dtailcalls.c11 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
Dxdp_adjust_tail.c10 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
Dbpf_cookie.c73 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
Dspinlock.c7 int err, prog_fd = *(u32 *) arg; in spin_lock_thread() local
25 int prog_fd; in test_spinlock() local
Dget_func_ip_test.c8 int err, prog_fd; in test_function_entry() local
53 int err, prog_fd; in test_function_body() local
Dkfunc_call.c93 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
Dprog_run_opts.c9 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
Dxdp_context_test_run.c6 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
Dsyscall.c11 int prog_fd; member
29 int err, prog_fd; in test_syscall() local
Dmap_lock.c7 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
Dunpriv_bpf_disabled.c59 __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
Dcheck_mtu.c85 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
Dget_func_args_test.c8 int err, prog_fd; in test_get_func_args_test() local
Dpkt_access.c9 int err, prog_fd; in test_pkt_access() local
Dpkt_md_access.c9 int err, prog_fd; in test_pkt_md_access() local
Dskb_helpers.c21 int err, prog_fd; in test_skb_helpers() local
Dtcp_estats.c7 int err, prog_fd; in test_tcp_estats() local
/linux-6.1.9/samples/bpf/
Dxdp_fwd_user.c32 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/
Dxdp_synproxy.c26 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/
Dskel_internal.h45 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
Dbpf.c115 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/
Dbpf_counter_cgroup.c53 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/
Diterators.lskel.h28 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/
Dcgroup.c105 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

12345