Searched refs:bpf_prog_get_fd_by_id (Results 1 – 23 of 23) sorted by relevance
88 int fd = bpf_prog_get_fd_by_id(prog_ids[i]); in serial_test_cgroup_attach_autodetach()
35 err = bpf_prog_get_fd_by_id(0); in serial_test_bpf_obj_id()197 prog_fd = bpf_prog_get_fd_by_id(next_id); in serial_test_bpf_obj_id()
48 fd = bpf_prog_get_fd_by_id(p.prog_ids[i]); in query_prog_cnt()
178 ASSERT_EQ(bpf_prog_get_fd_by_id(prog_id), -EPERM, "prog_get_fd_by_id_fails"); in test_unpriv_bpf_disabled_negative()
109 bpf_prog_get_fd_by_id(0); in main()
46 prog_fd = bpf_prog_get_fd_by_id(attached_prog_id); in cleanup()281 prog_fd = bpf_prog_get_fd_by_id(prog_id); in syncookie_open_bpf_maps()
87 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
90 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
831 ctx->prog_fd = bpf_prog_get_fd_by_id(prog_id); in xsk_lookup_xdp_res()
72 prog_fd = bpf_prog_get_fd_by_id(curr_prog_id); in do_detach()
38 bpf_prog_get_fd_by_id;
368 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
938 int bpf_prog_get_fd_by_id(__u32 id) in bpf_prog_get_fd_by_id() function
472 fd = bpf_prog_get_fd_by_id(id); in perf_event__synthesize_bpf_events()520 fd = bpf_prog_get_fd_by_id(id); in perf_env__add_bpf_info()
111 prog_fd = bpf_prog_get_fd_by_id(prog_id); in bpf_program_profiler_load_one()511 evsel->bperf_leader_prog_fd = bpf_prog_get_fd_by_id( in bperf__load()
747 fd = bpf_prog_get_fd_by_id(id); in prog_fd_by_nametag()809 (*fds)[0] = bpf_prog_get_fd_by_id(id); in prog_parse_fds()
143 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_prog_info()
107 prog_fd = bpf_prog_get_fd_by_id(id); in show_bpf_prog()
56 prog_fd = bpf_prog_get_fd_by_id(prog_id); in dump_prog_id_as_func_ptr()
775 fd = bpf_prog_get_fd_by_id(id); in build_btf_type_table()
669 fd = bpf_prog_get_fd_by_id(id); in do_show()
80 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
3721 static int bpf_prog_get_fd_by_id(const union bpf_attr *attr) in bpf_prog_get_fd_by_id() function4998 err = bpf_prog_get_fd_by_id(&attr); in __sys_bpf()