Searched refs:LIBBPF_API (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/tools/lib/bpf/ |
D | libbpf.h | 48 LIBBPF_API int libbpf_strerror(int err, char *buf, size_t size); 59 LIBBPF_API libbpf_print_fn_t libbpf_set_print(libbpf_print_fn_t fn); 107 LIBBPF_API struct bpf_object *bpf_object__open(const char *path); 108 LIBBPF_API struct bpf_object * 110 LIBBPF_API struct bpf_object * 115 LIBBPF_API struct bpf_object * 118 LIBBPF_API struct bpf_object * 131 LIBBPF_API int bpf_object__pin_maps(struct bpf_object *obj, const char *path); 132 LIBBPF_API int bpf_object__unpin_maps(struct bpf_object *obj, 134 LIBBPF_API int bpf_object__pin_programs(struct bpf_object *obj, [all …]
|
D | btf.h | 33 LIBBPF_API void btf__free(struct btf *btf); 35 LIBBPF_API struct btf *btf__new(const void *data, __u32 size); 36 LIBBPF_API struct btf *btf__new_split(const void *data, __u32 size, struct btf *base_btf); 37 LIBBPF_API struct btf *btf__new_empty(void); 38 LIBBPF_API struct btf *btf__new_empty_split(struct btf *base_btf); 40 LIBBPF_API struct btf *btf__parse(const char *path, struct btf_ext **btf_ext); 41 LIBBPF_API struct btf *btf__parse_split(const char *path, struct btf *base_btf); 42 LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext); 43 LIBBPF_API struct btf *btf__parse_elf_split(const char *path, struct btf *base_btf); 44 LIBBPF_API struct btf *btf__parse_raw(const char *path); [all …]
|
D | bpf.h | 55 LIBBPF_API int 57 LIBBPF_API int bpf_create_map_node(enum bpf_map_type map_type, const char *name, 60 LIBBPF_API int bpf_create_map_name(enum bpf_map_type map_type, const char *name, 63 LIBBPF_API int bpf_create_map(enum bpf_map_type map_type, int key_size, 65 LIBBPF_API int bpf_create_map_in_map_node(enum bpf_map_type map_type, 69 LIBBPF_API int bpf_create_map_in_map(enum bpf_map_type map_type, 105 LIBBPF_API int 108 LIBBPF_API int bpf_load_program(enum bpf_prog_type type, 112 LIBBPF_API int bpf_verify_program(enum bpf_prog_type type, 119 LIBBPF_API int bpf_map_update_elem(int fd, const void *key, const void *value, [all …]
|
D | xsk.h | 248 LIBBPF_API int xsk_umem__fd(const struct xsk_umem *umem); 249 LIBBPF_API int xsk_socket__fd(const struct xsk_socket *xsk); 266 LIBBPF_API int xsk_setup_xdp_prog(int ifindex, 268 LIBBPF_API int xsk_socket__update_xskmap(struct xsk_socket *xsk, 283 LIBBPF_API int xsk_umem__create(struct xsk_umem **umem, 288 LIBBPF_API int xsk_umem__create_v0_0_2(struct xsk_umem **umem, 293 LIBBPF_API int xsk_umem__create_v0_0_4(struct xsk_umem **umem, 298 LIBBPF_API int xsk_socket__create(struct xsk_socket **xsk, 304 LIBBPF_API int 315 LIBBPF_API int xsk_umem__delete(struct xsk_umem *umem); [all …]
|
D | libbpf_common.h | 14 #ifndef LIBBPF_API 15 #define LIBBPF_API __attribute__((visibility("default"))) macro
|
D | libbpf_legacy.h | 52 LIBBPF_API int libbpf_set_strict_mode(enum libbpf_strict_mode mode);
|
D | libbpf.c | 9292 LIBBPF_API struct bpf_link *
|
/Linux-v5.15/Documentation/bpf/libbpf/ |
D | libbpf_naming_convention.rst | 85 attributed with ``LIBBPF_API`` macro. For example: 89 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
|