Home
last modified time | relevance | path

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

/linux/samples/bpf/
H A Dfds_example.c92 fd = bpf_obj_get(file); in bpf_do_map()
125 fd = bpf_obj_get(file); in bpf_do_prog()
H A Dtc_l2_redirect_user.c52 array_fd = bpf_obj_get(pinned_file); in main()
H A Dlwt_len_hist_user.c38 map_fd = bpf_obj_get(map_filename); in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c164 map_fd2 = bpf_obj_get(abs_path); in validate_pin()
H A Dsk_assign.c252 server_map = bpf_obj_get(SERVER_MAP_PATH); in test_sk_assign()
H A Dunpriv_bpf_disabled.c96 map_fds[i] = bpf_obj_get(map_paths[i]); in test_unpriv_bpf_disabled_positive()
/linux/tools/lib/bpf/
H A Dlibbpf.map20 bpf_obj_get;
H A Dbpf.h329 LIBBPF_API int bpf_obj_get(const char *pathname);
H A Dbpf.c607 int bpf_obj_get(const char *pathname) in bpf_obj_get() function
H A Dlibbpf.c5109 pin_fd = bpf_obj_get(map->pin_path); in bpf_object__reuse_map()
10790 fd = bpf_obj_get(path); in bpf_link__open()
/linux/tools/perf/util/
H A Dbpf-filter.c798 fd = bpf_obj_get(path); in get_pinned_fd()
/linux/kernel/bpf/
H A Dsyscall.c3052 static int bpf_obj_get(const union bpf_attr *attr) in bpf_obj_get() function
6035 err = bpf_obj_get(&attr); in __sys_bpf()