| /linux/tools/testing/selftests/bpf/prog_tests/ | 
| H A D | arena_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  76 	int err, prog_fd; in test_or()   local  93 int err, prog_fd; test_xor()  local  110 int err, prog_fd; test_cmpxchg()  local  132 int err, prog_fd; test_xchg()  local  152 int err, prog_fd; test_uaf()  local  [all...] | 
| H A 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; test_or()  local  103 int err, prog_fd; test_xor()  local  125 int err, prog_fd; test_cmpxchg()  local  147 int err, prog_fd; test_xchg()  local  [all...] | 
| H A D | fd_array.c | 79 static inline int bpf_prog_get_map_ids(int prog_fd, __u32 *nr_map_ids, __u32 *map_ids) in bpf_prog_get_map_ids()   argument  132 static bool check_expected_map_ids(int prog_fd, int expected, __u32 *map_ids, __u32 *nr_map_ids) in check_expected_map_ids()   argument  153 	int prog_fd = -1; in check_fd_array_cnt__no_fd_array()   local  173 	int prog_fd  in check_fd_array_cnt__fd_array_ok()   local  212 int prog_fd = -1; check_fd_array_cnt__duplicated_maps()  local  251 int prog_fd = -1; check_fd_array_cnt__referenced_maps_in_fd_array()  local  301 int prog_fd = -1; check_fd_array_cnt__referenced_btfs()  local  355 int prog_fd = -1; check_fd_array_cnt__fd_array_with_trash()  local  402 int prog_fd = -1; check_fd_array_cnt__fd_array_too_big()  local  [all...] | 
| H A 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 86 	int max_grow, prog_fd;  in test_xdp_adjust_tail_grow2()  local 155 	int err, prog_fd;  in test_xdp_adjust_frags_tail_shrink()  local 222 	int err, i, prog_fd;  in test_xdp_adjust_frags_tail_grow_4k()  local 293 	int err, i, prog_fd;  in test_xdp_adjust_frags_tail_grow_64k()  local
  | 
| H A D | tailcalls.c | 18 	int err, map_fd, prog_fd, main_fd, i, j;  in test_tailcall_1()  local 154 	int err, map_fd, prog_fd, main_fd, i;  in test_tailcall_2()  local 233 	int err, map_fd, prog_fd, main_fd, data_fd, i, val;  in test_tailcall_count()  local 414 	int err, map_fd, prog_fd, main_fd, data_fd, i;  in test_tailcall_4()  local 504 	int err, map_fd, prog_fd, main_fd, data_fd, i, key[] = { 1111, 1234, 5678 };  in test_tailcall_5()  local 594 	int err, map_fd, prog_fd, main_fd, i;  in test_tailcall_bpf2bpf_1()  local 678 	int err, map_fd, prog_fd, main_fd, data_fd, i, val;  in test_tailcall_bpf2bpf_2()  local 758 	int err, map_fd, prog_fd, main_fd, i;  in test_tailcall_bpf2bpf_3()  local 852 	int err, map_fd, prog_fd, main_fd, data_fd, i;  in test_tailcall_bpf2bpf_4()  local 937 	int err, map_fd, prog_fd, main_fd, data_fd, i, val;  in test_tailcall_bpf2bpf_6()  local [all …] 
 | 
| H A D | percpu_alloc.c | 10 	int err, prog_fd;  in test_array()  local 46 	int err, prog_fd;  in test_array_sleepable()  local 79 	int err, cgroup_fd, prog_fd;  in test_cgrp_local_storage()  local
  | 
| H A 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  513 int prog_fd, err; tracing_subtest()  local  570 int prog_fd; lsm_subtest()  local  601 int prog_fd, link_fd = -1; tp_btf_subtest()  local  682 int err, prog_fd, link_fd = -1; raw_tp_subtest()  local  [all...] | 
| H A D | timer.c | 12 	int i, err, prog_fd = *(int *)arg;  in spin_lock_thread()  local 27 	int i, err, prog_fd;  in timer()  local 107 	int err, prog_fd;  in test_timer_interrupt()  local
  | 
| H A D | missed.c | 18 	int err, prog_fd;  in test_missed_perf_kprobe()  local 68 	int err, prog_fd;  in test_missed_kprobe_recursion()  local 107 	int err, prog_fd;  in test_missed_tp_recursion()  local
  | 
| H A D | syscall.c | 11 	int prog_fd;  member 29 	int err, prog_fd;  in test_syscall_load_prog()  local 61 	int err, prog_fd;  in test_syscall_update_outer_map()  local
  | 
| H A D | kfunc_call.c | 97 	int prog_fd, err;  in verify_success()  local 159 	int prog_fd, err;  in verify_fail()  local 237 	int prog_fd, err;  in test_subprog()  local 261 	int prog_fd, err;  in test_subprog_lskel()  local
  | 
| H A 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
  | 
| H A 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
  | 
| H A D | res_spin_lock.c | 19 	int err, prog_fd = *(u32 *) arg; in spin_lock_thread()   local  46 	int prog_fd, i, err; in test_res_spin_lock_success()   local  [all...] | 
| H A D | type_cast.c | 10 	int err, prog_fd;  in test_xdp()  local 47 	int err, prog_fd;  in test_tc()  local
  | 
| H A 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
  | 
| H A 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
  | 
| H A D | stream.c | 64 int ret, prog_fd; test_stream_errors()  local  107 int ret, prog_fd; test_stream_syscall()  local  [all...] | 
| H A D | unpriv_bpf_disabled.c | 60 					      __u32 prog_id, int prog_fd, int perf_fd,  in test_unpriv_bpf_disabled_positive() 143 					      __u32 prog_id, int prog_fd, int perf_fd,  in test_unpriv_bpf_disabled_negative() 237 	int prog_fd, perf_fd = -1, i, ret;  in test_unpriv_bpf_disabled()  local
  | 
| H A D | dynptr.c | 96 int prog_fd; verify_success()  local  152 int err, prog_fd; verify_success()  local 
  | 
| H A D | spin_lock.c | 117 int err, prog_fd = *(u32 *) arg; spin_lock_thread()  local  134 int prog_fd, i; test_spin_lock_success()  local 
  | 
| /linux/samples/bpf/ | 
| H A 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/tools/lib/bpf/ | 
| H A D | bpf.c | 115 	int prog_fd; in probe_memcg_account()   local  630 bpf_prog_attach(int prog_fd,int target_fd,enum bpf_attach_type type,unsigned int flags) bpf_prog_attach()  argument  640 bpf_prog_attach_opts(int prog_fd,int target,enum bpf_attach_type type,const struct bpf_prog_attach_opts * opts) bpf_prog_attach_opts()  argument  678 bpf_prog_detach_opts(int prog_fd,int target,enum bpf_attach_type type,const struct bpf_prog_detach_opts * opts) bpf_prog_detach_opts()  argument  720 bpf_prog_detach2(int prog_fd,int target_fd,enum bpf_attach_type type) bpf_prog_detach2()  argument  725 bpf_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type,const struct bpf_link_create_opts * opts) bpf_link_create()  argument  1024 bpf_prog_test_run_opts(int prog_fd,struct bpf_test_run_opts * opts) bpf_prog_test_run_opts()  argument  1205 bpf_prog_get_info_by_fd(int prog_fd,struct bpf_prog_info * info,__u32 * info_len) bpf_prog_get_info_by_fd()  argument  1225 bpf_raw_tracepoint_open_opts(int prog_fd,struct bpf_raw_tp_opts * opts) bpf_raw_tracepoint_open_opts()  argument  1243 bpf_raw_tracepoint_open(const char * name,int prog_fd) bpf_raw_tracepoint_open()  argument  1343 bpf_prog_bind_map(int prog_fd,int map_fd,const struct bpf_prog_bind_opts * opts) bpf_prog_bind_map()  argument  1379 bpf_prog_stream_read(int prog_fd,__u32 stream_id,void * buf,__u32 buf_len,struct bpf_prog_stream_read_opts * opts) bpf_prog_stream_read()  argument  [all...] | 
| H A D | skel_internal.h | 45 int prog_fd; global()  member  277 skel_raw_tracepoint_open(const char * name,int prog_fd) skel_raw_tracepoint_open()  argument  289 skel_link_create(int prog_fd,int target_fd,enum bpf_attach_type attach_type) skel_link_create()  argument  313 int map_fd = -1, prog_fd = -1, key = 0, err; bpf_load_and_run()  local  [all...] | 
| /linux/tools/testing/selftests/bpf/ | 
| H A 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
  |