Home
last modified time | relevance | path

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

/Linux-v5.15/samples/bpf/
Dfds_example.c90 fd = bpf_obj_get(file); in bpf_do_map()
123 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-v5.15/tools/lib/bpf/
Dlibbpf.map35 bpf_obj_get;
Dbpf.h155 LIBBPF_API int bpf_obj_get(const char *pathname);
Dbpf.c603 int bpf_obj_get(const char *pathname) in bpf_obj_get() function
Dlibbpf.c4485 pin_fd = bpf_obj_get(map->pin_path); in bpf_object__reuse_map()
8919 fd = bpf_obj_get(path); in bpf_link__open()
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dsk_assign.c284 server_map = bpf_obj_get(SERVER_MAP_PATH); in test_sk_assign()
/Linux-v5.15/tools/perf/util/
Dbpf_counter.c334 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
339 map_fd = bpf_obj_get(path); in bperf_lock_attr_map()
/Linux-v5.15/tools/bpf/bpftool/
Dcommon.c184 fd = bpf_obj_get(pname); in open_obj_pinned()
/Linux-v5.15/kernel/bpf/
Dsyscall.c2366 static int bpf_obj_get(const union bpf_attr *attr) in bpf_obj_get() function
4596 err = bpf_obj_get(&attr); in __sys_bpf()