Searched refs:bpf_obj_pin_opts (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 38 LIBBPF_OPTS(bpf_obj_pin_opts, pin_opts); 82 err = bpf_obj_pin_opts(map_fd, map_name, &pin_opts); 126 LIBBPF_OPTS(bpf_obj_pin_opts, pin_opts); 155 err = bpf_obj_pin_opts(map_fd, pin_path, &pin_opts);
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.h | 302 struct bpf_obj_pin_opts { struct 313 LIBBPF_API int bpf_obj_pin_opts(int fd, const char *pathname, 314 const struct bpf_obj_pin_opts *opts);
|
H A D | bpf.c | 582 int bpf_obj_pin_opts(int fd, const char *pathname, const struct bpf_obj_pin_opts *opts) function 588 if (!OPTS_VALID(opts, bpf_obj_pin_opts)) 603 return bpf_obj_pin_opts(fd, pathname, NULL);
|
Completed in 115 milliseconds