Searched refs:bpf_obj_pin (Results 1 – 10 of 10) sorted by relevance
| /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 | cookie_uid_helper_example.c | 176 if (bpf_obj_pin(prog_fd, file)) in prog_attach_iptables()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_bpffs.c | 92 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 | 256 ASSERT_OK(bpf_obj_pin(map_fds[i], map_paths[i]), "pin map_fd"); in test_unpriv_bpf_disabled()
|
| H A D | btf.c | 5516 err = bpf_obj_pin(map_fd, pin_path); in do_test_pprint() 5517 if (CHECK(err, "bpf_obj_pin(%s): errno:%d.", pin_path, errno)) in do_test_pprint()
|
| /linux/tools/perf/util/ |
| H A D | bpf_counter.c | 397 err = bpf_obj_pin(map_fd, path); in bperf_lock_attr_map()
|
| /linux/tools/testing/selftests/hid/ |
| H A D | hid_bpf.c | 297 err = bpf_obj_pin(link_fd, PIN_PATH); in TEST_F()
|
| /linux/Documentation/hid/ |
| H A D | hid-bpf.rst | 449 BPF filesystem through a call to :c:func:`bpf_obj_pin`, as with any bpf_link.
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3149 static int bpf_obj_pin(const union bpf_attr *attr) in bpf_obj_pin() function 6167 err = bpf_obj_pin(&attr); in __sys_bpf()
|