Searched refs:bpf_obj_get_opts (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c39 LIBBPF_OPTS(bpf_obj_get_opts, get_opts);
89 map_fd2 = bpf_obj_get_opts(map_name, &get_opts);
186 LIBBPF_OPTS(bpf_obj_get_opts, get_opts);
219 map_fd2 = bpf_obj_get_opts(pin_path, &get_opts);
/linux-master/tools/lib/bpf/
H A Dbpf.h316 struct bpf_obj_get_opts { struct
327 LIBBPF_API int bpf_obj_get_opts(const char *pathname,
328 const struct bpf_obj_get_opts *opts);
H A Dbpf.c608 return bpf_obj_get_opts(pathname, NULL);
611 int bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts) function
617 if (!OPTS_VALID(opts, bpf_obj_get_opts))

Completed in 170 milliseconds