Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c39 LIBBPF_OPTS(bpf_obj_get_opts, get_opts); in bpf_obj_pinning_detached()
89 map_fd2 = bpf_obj_get_opts(map_name, &get_opts); in bpf_obj_pinning_detached()
186 LIBBPF_OPTS(bpf_obj_get_opts, get_opts); in validate_get()
219 map_fd2 = bpf_obj_get_opts(pin_path, &get_opts); in validate_get()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h301 struct bpf_obj_get_opts { struct
312 LIBBPF_API int bpf_obj_get_opts(const char *pathname, argument
313 const struct bpf_obj_get_opts *opts);
H A Dlibbpf.map358 bpf_obj_get_opts;
H A Dbpf.c601 return bpf_obj_get_opts(pathname, NULL); in bpf_obj_get()
604 int bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts) in bpf_obj_get_opts() function
610 if (!OPTS_VALID(opts, bpf_obj_get_opts)) in bpf_obj_get_opts()