Searched refs:bpf_obj_pin (Results 1 – 13 of 13) sorted by relevance
/linux/samples/bpf/ |
A D | fds_example.c | 86 ret = bpf_obj_pin(fd, file); in bpf_do_map() 119 ret = bpf_obj_pin(fd, file); in bpf_do_prog()
|
A D | test_cgrp2_array_pin.c | 92 ret = bpf_obj_pin(array_fd, pinned_file); in main()
|
A D | cookie_uid_helper_example.c | 172 if (bpf_obj_pin(prog_fd, file)) in prog_attach_iptables()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | test_bpffs.c | 86 err = bpf_obj_pin(map, TDIR "/fs1/c"); in fn()
|
A D | btf.c | 5201 err = bpf_obj_pin(map_fd, pin_path); in do_test_pprint()
|
/linux/tools/lib/bpf/ |
A D | libbpf.map | 37 bpf_obj_pin;
|
A D | bpf.h | 154 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname);
|
A D | bpf.c | 627 int bpf_obj_pin(int fd, const char *pathname) in bpf_obj_pin() function
|
A D | libbpf.c | 7400 if (bpf_obj_pin(prog->instances.fds[instance], path)) { in bpf_program_pin_instance() 7601 if (bpf_obj_pin(map->fd, map->pin_path)) { in bpf_map__pin() 9350 if (bpf_obj_pin(link->fd, link->pin_path)) { in bpf_link__pin()
|
/linux/tools/perf/util/ |
A D | bpf_counter.c | 330 err = bpf_obj_pin(map_fd, path); in bperf_lock_attr_map()
|
/linux/tools/bpf/bpftool/ |
A D | common.c | 270 err = bpf_obj_pin(fd, name); in do_pin_fd()
|
A D | prog.c | 1622 err = bpf_obj_pin(bpf_program__fd(prog), pinfile); in load_with_options()
|
/linux/kernel/bpf/ |
A D | syscall.c | 2397 static int bpf_obj_pin(const union bpf_attr *attr) in bpf_obj_pin() function 4636 err = bpf_obj_pin(&attr); in __sys_bpf()
|
Completed in 62 milliseconds