Searched refs:bpf_obj_get_opts (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 39 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/tools/lib/bpf/ |
H A D | bpf.h | 319 struct bpf_obj_get_opts { struct 330 LIBBPF_API int bpf_obj_get_opts(const char *pathname, argument 331 const struct bpf_obj_get_opts *opts);
|
H A D | libbpf.map | 356 bpf_obj_get_opts;
|
H A D | bpf.c | 609 return bpf_obj_get_opts(pathname, NULL); in bpf_obj_get() 612 int bpf_obj_get_opts(const char *pathname, const struct bpf_obj_get_opts *opts) in bpf_obj_get_opts() function 618 if (!OPTS_VALID(opts, bpf_obj_get_opts)) in bpf_obj_get_opts()
|
/linux/tools/bpf/bpftool/ |
H A D | common.c | 198 const struct bpf_obj_get_opts *opts) in open_obj_pinned() 210 fd = bpf_obj_get_opts(pname, opts); in open_obj_pinned() 227 const struct bpf_obj_get_opts *opts) in open_obj_pinned_any() 1087 LIBBPF_OPTS(bpf_obj_get_opts, get_opts); in map_parse_fds()
|