Lines Matching refs:bpf_object
113 struct bpf_object;
215 LIBBPF_API struct bpf_object *bpf_object__open(const char *path);
227 LIBBPF_API struct bpf_object *
240 LIBBPF_API struct bpf_object *
251 LIBBPF_API int bpf_object__load(struct bpf_object *obj);
258 LIBBPF_API void bpf_object__close(struct bpf_object *obj);
271 LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path);
284 LIBBPF_API int bpf_object__unpin_maps(struct bpf_object *obj,
286 LIBBPF_API int bpf_object__pin_programs(struct bpf_object *obj,
288 LIBBPF_API int bpf_object__unpin_programs(struct bpf_object *obj,
290 LIBBPF_API int bpf_object__pin(struct bpf_object *object, const char *path);
291 LIBBPF_API int bpf_object__unpin(struct bpf_object *object, const char *path);
293 LIBBPF_API const char *bpf_object__name(const struct bpf_object *obj);
294 LIBBPF_API unsigned int bpf_object__kversion(const struct bpf_object *obj);
295 LIBBPF_API int bpf_object__set_kversion(struct bpf_object *obj, __u32 kern_version);
303 LIBBPF_API int bpf_object__token_fd(const struct bpf_object *obj);
306 LIBBPF_API struct btf *bpf_object__btf(const struct bpf_object *obj);
307 LIBBPF_API int bpf_object__btf_fd(const struct bpf_object *obj);
310 bpf_object__find_program_by_name(const struct bpf_object *obj,
325 bpf_object__next_program(const struct bpf_object *obj, struct bpf_program *prog);
333 bpf_object__prev_program(const struct bpf_object *obj, struct bpf_program *prog);
950 bpf_object__find_map_by_name(const struct bpf_object *obj, const char *name);
953 bpf_object__find_map_fd_by_name(const struct bpf_object *obj, const char *name);
956 bpf_object__next_map(const struct bpf_object *obj, const struct bpf_map *map);
965 bpf_object__prev_map(const struct bpf_object *obj, const struct bpf_map *map);
1716 struct bpf_object **obj;
1744 const struct bpf_object *obj;
1773 LIBBPF_API int bpf_object__gen_loader(struct bpf_object *obj,