Home
last modified time | relevance | path

Searched refs:LIBBPF_API (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.h283 LIBBPF_API int
449 LIBBPF_API struct bpf_link *
850 LIBBPF_API int
877 LIBBPF_API int
889 LIBBPF_API struct bpf_map *
892 LIBBPF_API int
895 LIBBPF_API struct bpf_map *
904 LIBBPF_API struct bpf_map *
1564 LIBBPF_API int
1596 LIBBPF_API int
[all …]
H A Dbtf.h38 LIBBPF_API void btf__free(struct btf *btf);
90 LIBBPF_API struct btf *btf__new_empty(void);
117 LIBBPF_API struct btf *btf__load_vmlinux_btf(void);
123 LIBBPF_API int btf__load_into_kernel(struct btf *btf);
128 LIBBPF_API __u32 btf__type_cnt(const struct btf *btf);
139 LIBBPF_API int btf__fd(const struct btf *btf);
140 LIBBPF_API void btf__set_fd(struct btf *btf, int fd);
179 LIBBPF_API int btf__add_array(struct btf *btf,
248 LIBBPF_API void btf_dump__free(struct btf_dump *d);
273 LIBBPF_API int
[all …]
H A Dbpf.h153 LIBBPF_API int bpf_map_freeze(int fd);
311 LIBBPF_API int bpf_obj_get(const char *pathname);
427 LIBBPF_API int bpf_link_detach(int link_fd);
440 LIBBPF_API int bpf_iter_create(int link_fd);
471 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
474 LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);
475 LIBBPF_API int bpf_map_get_fd_by_id_opts(__u32 id,
477 LIBBPF_API int bpf_btf_get_fd_by_id(__u32 id);
478 LIBBPF_API int bpf_btf_get_fd_by_id_opts(__u32 id,
480 LIBBPF_API int bpf_link_get_fd_by_id(__u32 id);
[all …]
H A Dlibbpf_legacy.h94 LIBBPF_API int libbpf_set_strict_mode(enum libbpf_strict_mode mode);
113 LIBBPF_API long libbpf_get_error(const void *ptr);
128 LIBBPF_API struct btf *libbpf_find_kernel_btf(void);
130 LIBBPF_API enum bpf_prog_type bpf_program__get_type(const struct bpf_program *prog);
131 LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *pro…
132 LIBBPF_API const char *bpf_map__get_pin_path(const struct bpf_map *map);
133 LIBBPF_API const void *btf__get_raw_data(const struct btf *btf, __u32 *size);
134 LIBBPF_API const void *btf_ext__get_raw_data(const struct btf_ext *btf_ext, __u32 *size);
H A Dlibbpf_common.h15 #ifndef LIBBPF_API
16 #define LIBBPF_API __attribute__((visibility("default"))) macro
H A Dlibbpf.c11366 LIBBPF_API struct bpf_link *
/openbmc/linux/Documentation/bpf/libbpf/
H A Dlibbpf_naming_convention.rst76 attributed with ``LIBBPF_API`` macro. For example:
80 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);