Searched refs:bpf_obj_pin (Results 1 - 15 of 15) sorted by relevance

/linux-master/samples/bpf/
H A Dtest_cgrp2_array_pin.c92 ret = bpf_obj_pin(array_fd, pinned_file);
94 fprintf(stderr, "bpf_obj_pin(..., %s): %s(%d)\n",
H A Dfds_example.c88 ret = bpf_obj_pin(fd, file);
121 ret = bpf_obj_pin(fd, file);
H A Dcookie_uid_helper_example.c176 if (bpf_obj_pin(prog_fd, file))
177 error(1, errno, "bpf_obj_pin");
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c92 err = bpf_obj_pin(map, TDIR "/fs1/c");
H A Dbpf_obj_pinning.c193 err = bpf_obj_pin(map_fd, abs_path);
H A Dunpriv_bpf_disabled.c255 ASSERT_OK(bpf_obj_pin(map_fds[i], map_paths[i]), "pin map_fd");
H A Dbtf.c5467 err = bpf_obj_pin(map_fd, pin_path);
5468 if (CHECK(err, "bpf_obj_pin(%s): errno:%d.", pin_path, errno))
/linux-master/tools/lib/bpf/
H A Dbpf.h312 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname);
H A Dbpf.c601 int bpf_obj_pin(int fd, const char *pathname) function
H A Dlibbpf.c8524 if (bpf_obj_pin(prog->fd, path)) {
8601 if (bpf_obj_pin(map->fd, map->pin_path)) {
10527 if (bpf_obj_pin(link->fd, link->pin_path)) {
/linux-master/tools/perf/util/
H A Dbpf_counter.c338 err = bpf_obj_pin(map_fd, path);
/linux-master/tools/bpf/bpftool/
H A Dprog.c1475 return bpf_obj_pin(bpf_program__fd(prog), path);
1795 err = bpf_obj_pin(bpf_program__fd(prog), pinfile);
H A Dcommon.c296 err = bpf_obj_pin(fd, name);
/linux-master/tools/testing/selftests/hid/
H A Dhid_bpf.c660 err = bpf_obj_pin(link, PIN_PATH);
661 ASSERT_OK(err) TH_LOG("error while calling bpf_obj_pin");
/linux-master/kernel/bpf/
H A Dsyscall.c2952 static int bpf_obj_pin(const union bpf_attr *attr) function
5663 err = bpf_obj_pin(&attr);

Completed in 2049 milliseconds