Home
last modified time | relevance | path

Searched refs:bpf_obj_pin_opts (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c38 LIBBPF_OPTS(bpf_obj_pin_opts, pin_opts); in bpf_obj_pinning_detached()
82 err = bpf_obj_pin_opts(map_fd, map_name, &pin_opts); in bpf_obj_pinning_detached()
126 LIBBPF_OPTS(bpf_obj_pin_opts, pin_opts); in validate_pin()
155 err = bpf_obj_pin_opts(map_fd, pin_path, &pin_opts); in validate_pin()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h287 struct bpf_obj_pin_opts { struct
298 LIBBPF_API int bpf_obj_pin_opts(int fd, const char *pathname, argument
299 const struct bpf_obj_pin_opts *opts);
H A Dlibbpf.map397 bpf_obj_pin_opts;
H A Dbpf.c575 int bpf_obj_pin_opts(int fd, const char *pathname, const struct bpf_obj_pin_opts *opts) in bpf_obj_pin_opts() function
581 if (!OPTS_VALID(opts, bpf_obj_pin_opts)) in bpf_obj_pin_opts()
596 return bpf_obj_pin_opts(fd, pathname, NULL); in bpf_obj_pin()