Home
last modified time | relevance | path

Searched refs:bpf_prog_get_fd_by_id (Results 1 – 19 of 19) sorted by relevance

/linux/tools/testing/selftests/bpf/
A Dtest_cpp.cpp18 bpf_prog_get_fd_by_id(0); in main()
A Dtest_skb_cgroup_id_user.c88 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
A Dtest_tcp_check_syncookie_user.c89 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dcgroup_attach_autodetach.c88 int fd = bpf_prog_get_fd_by_id(prog_ids[i]); in serial_test_cgroup_attach_autodetach()
A Dbpf_obj_id.c35 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()
/linux/tools/perf/util/
A Dbpf-event.c444 fd = bpf_prog_get_fd_by_id(id); in perf_event__synthesize_bpf_events()
492 fd = bpf_prog_get_fd_by_id(id); in perf_env__add_bpf_info()
A Dbpf_counter.c111 prog_fd = bpf_prog_get_fd_by_id(prog_id); in bpf_program_profiler_load_one()
488 evsel->bperf_leader_prog_fd = bpf_prog_get_fd_by_id( in bperf__load()
/linux/tools/lib/bpf/
A Dlibbpf.map62 bpf_prog_get_fd_by_id;
A Dbpf.h237 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
A Dxsk.c843 ctx->prog_fd = bpf_prog_get_fd_by_id(prog_id); in xsk_lookup_xdp_res()
A Dbpf.c952 int bpf_prog_get_fd_by_id(__u32 id) in bpf_prog_get_fd_by_id() function
/linux/tools/bpf/bpftool/
A Dcommon.c678 fd = bpf_prog_get_fd_by_id(id); in prog_fd_by_nametag()
732 (*fds)[0] = bpf_prog_get_fd_by_id(id); in prog_parse_fds()
A Dcgroup.c57 prog_fd = bpf_prog_get_fd_by_id(id); in show_bpf_prog()
A Dlink.c104 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_prog_info()
A Dbtf_dumper.c54 prog_fd = bpf_prog_get_fd_by_id(prog_id); in dump_prog_id_as_func_ptr()
A Dbtf.c683 fd = bpf_prog_get_fd_by_id(id); in build_btf_type_table()
A Dprog.c603 fd = bpf_prog_get_fd_by_id(id); in do_show()
/linux/Documentation/bpf/libbpf/
A Dlibbpf_naming_convention.rst89 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
/linux/kernel/bpf/
A Dsyscall.c3440 static int bpf_prog_get_fd_by_id(const union bpf_attr *attr) in bpf_prog_get_fd_by_id() function
4666 err = bpf_prog_get_fd_by_id(&attr); in __sys_bpf()

Completed in 35 milliseconds