Lines Matching refs:LIBBPF_API

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,
122 LIBBPF_API int bpf_map_lookup_elem(int fd, const void *key, void *value);
123 LIBBPF_API int bpf_map_lookup_elem_flags(int fd, const void *key, void *value,
125 LIBBPF_API int bpf_map_lookup_and_delete_elem(int fd, const void *key,
127 LIBBPF_API int bpf_map_lookup_and_delete_elem_flags(int fd, const void *key,
129 LIBBPF_API int bpf_map_delete_elem(int fd, const void *key);
130 LIBBPF_API int bpf_map_get_next_key(int fd, const void *key, void *next_key);
131 LIBBPF_API int bpf_map_freeze(int fd);
140 LIBBPF_API int bpf_map_delete_batch(int fd, void *keys,
143 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch,
146 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch,
150 LIBBPF_API int bpf_map_update_batch(int fd, void *keys, void *values,
154 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname);
155 LIBBPF_API int bpf_obj_get(const char *pathname);
164 LIBBPF_API int bpf_prog_attach(int prog_fd, int attachable_fd,
166 LIBBPF_API int bpf_prog_attach_xattr(int prog_fd, int attachable_fd,
169 LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
170 LIBBPF_API int bpf_prog_detach2(int prog_fd, int attachable_fd,
189 LIBBPF_API int bpf_link_create(int prog_fd, int target_fd,
193 LIBBPF_API int bpf_link_detach(int link_fd);
202 LIBBPF_API int bpf_link_update(int link_fd, int new_prog_fd,
205 LIBBPF_API int bpf_iter_create(int link_fd);
224 LIBBPF_API int bpf_prog_test_run_xattr(struct bpf_prog_test_run_attr *test_attr);
230 LIBBPF_API int bpf_prog_test_run(int prog_fd, int repeat, void *data,
233 LIBBPF_API int bpf_prog_get_next_id(__u32 start_id, __u32 *next_id);
234 LIBBPF_API int bpf_map_get_next_id(__u32 start_id, __u32 *next_id);
235 LIBBPF_API int bpf_btf_get_next_id(__u32 start_id, __u32 *next_id);
236 LIBBPF_API int bpf_link_get_next_id(__u32 start_id, __u32 *next_id);
237 LIBBPF_API int bpf_prog_get_fd_by_id(__u32 id);
238 LIBBPF_API int bpf_map_get_fd_by_id(__u32 id);
239 LIBBPF_API int bpf_btf_get_fd_by_id(__u32 id);
240 LIBBPF_API int bpf_link_get_fd_by_id(__u32 id);
241 LIBBPF_API int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len);
242 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
245 LIBBPF_API int bpf_raw_tracepoint_open(const char *name, int prog_fd);
246 LIBBPF_API int bpf_load_btf(const void *btf, __u32 btf_size, char *log_buf,
248 LIBBPF_API int bpf_task_fd_query(int pid, int fd, __u32 flags, char *buf,
253 LIBBPF_API int bpf_enable_stats(enum bpf_stats_type type);
261 LIBBPF_API int bpf_prog_bind_map(int prog_fd, int map_fd,
286 LIBBPF_API int bpf_prog_test_run_opts(int prog_fd,