Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
/linux-6.6.21/tools/lib/bpf/
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);
Dlibbpf.map358 bpf_obj_get_opts;
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()