Searched refs:bpf_obj_pin (Results 1 – 17 of 17) sorted by relevance
/openbmc/linux/samples/bpf/ |
H A D | fds_example.c | 88 ret = bpf_obj_pin(fd, file); in bpf_do_map() 121 ret = bpf_obj_pin(fd, file); in bpf_do_prog()
|
H A D | test_cgrp2_array_pin.c | 92 ret = bpf_obj_pin(array_fd, pinned_file); in main()
|
H A D | cookie_uid_helper_example.c | 176 if (bpf_obj_pin(prog_fd, file)) in prog_attach_iptables()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_bpffs.c | 88 err = bpf_obj_pin(map, TDIR "/fs1/c"); in fn()
|
H A D | bpf_obj_pinning.c | 193 err = bpf_obj_pin(map_fd, abs_path); in validate_get()
|
H A D | unpriv_bpf_disabled.c | 255 ASSERT_OK(bpf_obj_pin(map_fds[i], map_paths[i]), "pin map_fd"); in test_unpriv_bpf_disabled()
|
H A D | btf.c | 5438 err = bpf_obj_pin(map_fd, pin_path); in do_test_pprint()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.map | 22 bpf_obj_pin;
|
H A D | bpf.h | 297 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname);
|
H A D | bpf.c | 594 int bpf_obj_pin(int fd, const char *pathname) in bpf_obj_pin() function
|
H A D | libbpf.c | 8063 if (bpf_obj_pin(prog->fd, path)) { in bpf_program__pin() 8140 if (bpf_obj_pin(map->fd, map->pin_path)) { in bpf_map__pin() 10036 if (bpf_obj_pin(link->fd, link->pin_path)) { in bpf_link__pin()
|
/openbmc/linux/tools/perf/util/ |
H A D | bpf_counter.c | 335 err = bpf_obj_pin(map_fd, path); in bperf_lock_attr_map()
|
/openbmc/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 660 err = bpf_obj_pin(link, PIN_PATH); in TEST_F()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | common.c | 368 err = bpf_obj_pin(fd, name); in do_pin_fd()
|
H A D | prog.c | 1471 return bpf_obj_pin(bpf_program__fd(prog), path); in auto_attach_program() 1794 err = bpf_obj_pin(bpf_program__fd(prog), pinfile); in load_with_options()
|
/openbmc/linux/Documentation/hid/ |
H A D | hid-bpf.rst | 444 BPF filesystem through a call to :c:func:`bpf_obj_pin`, as with any bpf_link.
|
/openbmc/linux/kernel/bpf/ |
H A D | syscall.c | 2797 static int bpf_obj_pin(const union bpf_attr *attr) in bpf_obj_pin() function 5456 err = bpf_obj_pin(&attr); in __sys_bpf()
|