Home
last modified time | relevance | path

Searched refs:bpf_obj_pin (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/samples/bpf/
Dfds_example.c88 ret = bpf_obj_pin(fd, file); in bpf_do_map()
121 ret = bpf_obj_pin(fd, file); in bpf_do_prog()
Dtest_cgrp2_array_pin.c92 ret = bpf_obj_pin(array_fd, pinned_file); in main()
Dcookie_uid_helper_example.c176 if (bpf_obj_pin(prog_fd, file)) in prog_attach_iptables()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c88 err = bpf_obj_pin(map, TDIR "/fs1/c"); in fn()
Dbpf_obj_pinning.c193 err = bpf_obj_pin(map_fd, abs_path); in validate_get()
Dunpriv_bpf_disabled.c255 ASSERT_OK(bpf_obj_pin(map_fds[i], map_paths[i]), "pin map_fd"); in test_unpriv_bpf_disabled()
Dbtf.c5438 err = bpf_obj_pin(map_fd, pin_path); in do_test_pprint()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.map22 bpf_obj_pin;
Dbpf.h297 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname);
Dbpf.c594 int bpf_obj_pin(int fd, const char *pathname) in bpf_obj_pin() function
Dlibbpf.c8059 if (bpf_obj_pin(prog->fd, path)) { in bpf_program__pin()
8136 if (bpf_obj_pin(map->fd, map->pin_path)) { in bpf_map__pin()
10032 if (bpf_obj_pin(link->fd, link->pin_path)) { in bpf_link__pin()
/linux-6.6.21/tools/perf/util/
Dbpf_counter.c335 err = bpf_obj_pin(map_fd, path); in bperf_lock_attr_map()
/linux-6.6.21/tools/testing/selftests/hid/
Dhid_bpf.c660 err = bpf_obj_pin(link, PIN_PATH); in TEST_F()
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c296 err = bpf_obj_pin(fd, name); in do_pin_fd()
Dprog.c1471 return bpf_obj_pin(bpf_program__fd(prog), path); in auto_attach_program()
1791 err = bpf_obj_pin(bpf_program__fd(prog), pinfile); in load_with_options()
/linux-6.6.21/Documentation/hid/
Dhid-bpf.rst444 BPF filesystem through a call to :c:func:`bpf_obj_pin`, as with any bpf_link.
/linux-6.6.21/kernel/bpf/
Dsyscall.c2794 static int bpf_obj_pin(const union bpf_attr *attr) in bpf_obj_pin() function
5388 err = bpf_obj_pin(&attr); in __sys_bpf()