Home
last modified time | relevance | path

Searched refs:bpf_obj_get (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/samples/bpf/
Dfds_example.c92 fd = bpf_obj_get(file); in bpf_do_map()
125 fd = bpf_obj_get(file); in bpf_do_prog()
Dtc_l2_redirect_user.c52 array_fd = bpf_obj_get(pinned_file); in main()
Dtest_cgrp2_array_pin.c77 array_fd = bpf_obj_get(pinned_file); in main()
Dlwt_len_hist_user.c38 map_fd = bpf_obj_get(map_filename); in main()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_pinning.c164 map_fd2 = bpf_obj_get(abs_path); in validate_pin()
Dsk_assign.c250 server_map = bpf_obj_get(SERVER_MAP_PATH); in test_sk_assign()
Dunpriv_bpf_disabled.c96 map_fds[i] = bpf_obj_get(map_paths[i]); in test_unpriv_bpf_disabled_positive()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map20 bpf_obj_get;
Dbpf.h326 LIBBPF_API int bpf_obj_get(const char *pathname);
Dbpf.c606 int bpf_obj_get(const char *pathname) in bpf_obj_get() function
Dlibbpf.c5058 pin_fd = bpf_obj_get(map->pin_path); in bpf_object__reuse_map()
10634 fd = bpf_obj_get(path); in bpf_link__open()
/linux-6.12.1/tools/perf/util/
Dbpf_counter.c342 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
347 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
Dbpf-filter.c767 fd = bpf_obj_get(path); in get_pinned_fd()
/linux-6.12.1/tools/bpf/bpftool/
Dcommon.c208 fd = bpf_obj_get(pname); in open_obj_pinned()
/linux-6.12.1/kernel/bpf/
Dsyscall.c2919 static int bpf_obj_get(const union bpf_attr *attr) in bpf_obj_get() function
5659 err = bpf_obj_get(&attr); in __sys_bpf()