Home
last modified time | relevance | path

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

/linux-6.6.21/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()
Dlwt_len_hist_user.c38 map_fd = bpf_obj_get(map_filename); in main()
Dtest_cgrp2_array_pin.c77 array_fd = bpf_obj_get(pinned_file); in main()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.map20 bpf_obj_get;
Dbpf.h311 LIBBPF_API int bpf_obj_get(const char *pathname);
Dbpf.c599 int bpf_obj_get(const char *pathname) in bpf_obj_get() function
Dlibbpf.c5027 pin_fd = bpf_obj_get(map->pin_path); in bpf_object__reuse_map()
9986 fd = bpf_obj_get(path); in bpf_link__open()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_pinning.c164 map_fd2 = bpf_obj_get(abs_path); in validate_pin()
Dsk_assign.c297 server_map = bpf_obj_get(SERVER_MAP_PATH); in test_sk_assign()
Dunpriv_bpf_disabled.c95 map_fds[i] = bpf_obj_get(map_paths[i]); in test_unpriv_bpf_disabled_positive()
/linux-6.6.21/tools/perf/util/
Dbpf_counter.c339 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
344 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c208 fd = bpf_obj_get(pname); in open_obj_pinned()
/linux-6.6.21/kernel/bpf/
Dsyscall.c2810 static int bpf_obj_get(const union bpf_attr *attr) in bpf_obj_get() function
5391 err = bpf_obj_get(&attr); in __sys_bpf()