Searched refs:LIBBPF_API (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | btf.h | 39 LIBBPF_API void btf__free(struct btf *btf); 55 LIBBPF_API struct btf *btf__new(const void *data, __u32 size); 77 LIBBPF_API struct btf *btf__new_split(const void *data, __u32 size, struct btf *base_btf); 91 LIBBPF_API struct btf *btf__new_empty(void); 110 LIBBPF_API struct btf *btf__new_empty_split(struct btf *base_btf); 134 LIBBPF_API int btf__distill_base(const struct btf *src_btf, struct btf **new_base_btf, 137 LIBBPF_API struct btf *btf__parse(const char *path, struct btf_ext **btf_ext); 138 LIBBPF_API struct btf *btf__parse_split(const char *path, struct btf *base_btf); 139 LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext); 140 LIBBPF_API struc [all...] |
| H A D | libbpf_legacy.h | 94 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 D | libbpf_common.h | 15 #ifndef LIBBPF_API 16 #define LIBBPF_API __attribute__((visibility("default"))) macro
|
| H A D | libbpf.c | 12553 LIBBPF_API struct bpf_link *
|
| /linux/Documentation/bpf/libbpf/ |
| H A D | libbpf_naming_convention.rst | 76 attributed with ``LIBBPF_API`` macro. For example: 80 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
|