Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
A Dlibbpf.h313 LIBBPF_API int
479 LIBBPF_API struct bpf_link *
910 LIBBPF_API int
937 LIBBPF_API int
949 LIBBPF_API struct bpf_map *
952 LIBBPF_API int
955 LIBBPF_API struct bpf_map *
964 LIBBPF_API struct bpf_map *
1727 LIBBPF_API int
1759 LIBBPF_API int
[all …]
A Dbtf.h39 LIBBPF_API void btf__free(struct btf *btf);
91 LIBBPF_API struct btf *btf__new_empty(void);
139 LIBBPF_API struct btf *btf__load_vmlinux_btf(void);
145 LIBBPF_API int btf__load_into_kernel(struct btf *btf);
150 LIBBPF_API __u32 btf__type_cnt(const struct btf *btf);
161 LIBBPF_API int btf__fd(const struct btf *btf);
162 LIBBPF_API void btf__set_fd(struct btf *btf, int fd);
201 LIBBPF_API int btf__add_array(struct btf *btf,
284 LIBBPF_API void btf_dump__free(struct btf_dump *d);
309 LIBBPF_API int
[all …]
A Dbpf.h161 LIBBPF_API int bpf_map_freeze(int fd);
326 LIBBPF_API int bpf_obj_get(const char *pathname);
447 LIBBPF_API int bpf_link_detach(int link_fd);
460 LIBBPF_API int bpf_iter_create(int link_fd);
491 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
494 LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);
495 LIBBPF_API int bpf_map_get_fd_by_id_opts(__u32 id,
497 LIBBPF_API int bpf_btf_get_fd_by_id(__u32 id);
500 LIBBPF_API int bpf_link_get_fd_by_id(__u32 id);
638 LIBBPF_API int bpf_enable_stats(int type);
[all …]
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);
A Dlibbpf_common.h15 #ifndef LIBBPF_API
16 #define LIBBPF_API __attribute__((visibility("default"))) macro
A Dlibbpf.c12055 LIBBPF_API struct bpf_link *
/linux/Documentation/bpf/libbpf/
A Dlibbpf_naming_convention.rst76 attributed with ``LIBBPF_API`` macro. For example:
80 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);

Completed in 70 milliseconds