Searched refs:bpf_obj_pin_opts (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 38 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 D | bpf.h | 287 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 D | libbpf.map | 397 bpf_obj_pin_opts;
|
H A D | bpf.c | 575 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()
|