Home
last modified time | relevance | path

Searched refs:libbpf_err (Results 1 – 9 of 9) sorted by relevance

/tools/lib/bpf/
Dnetlink.c275 return libbpf_err(-EINVAL); in bpf_set_link_xdp_fd_opts()
283 return libbpf_err(ret); in bpf_set_link_xdp_fd_opts()
291 return libbpf_err(ret); in bpf_set_link_xdp_fd()
369 return libbpf_err(-EINVAL); in bpf_get_link_xdp_info()
375 return libbpf_err(-EINVAL); in bpf_get_link_xdp_info()
389 return libbpf_err(ret); in bpf_get_link_xdp_info()
417 return libbpf_err(ret); in bpf_get_link_xdp_id()
510 return libbpf_err(-EINVAL); in bpf_tc_hook_create()
513 return libbpf_err(ret); in bpf_tc_hook_create()
524 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
[all …]
Dringbuf.c73 return libbpf_err(err); in ring_buffer__add()
79 return libbpf_err(-EINVAL); in ring_buffer__add()
84 return libbpf_err(-ENOMEM); in ring_buffer__add()
89 return libbpf_err(-ENOMEM); in ring_buffer__add()
106 return libbpf_err(err); in ring_buffer__add()
117 return libbpf_err(-E2BIG); in ring_buffer__add()
125 return libbpf_err(err); in ring_buffer__add()
140 return libbpf_err(err); in ring_buffer__add()
267 return libbpf_err(err); in ring_buffer__consume()
286 return libbpf_err(-errno); in ring_buffer__poll()
[all …]
Dbtf.c519 return libbpf_err(-EINVAL); in btf__set_pointer_size()
546 return libbpf_err(-EINVAL); in btf__set_endianness()
600 return libbpf_err(-E2BIG); in btf__resolve_size()
605 return libbpf_err(-EINVAL); in btf__resolve_size()
613 return libbpf_err(-EINVAL); in btf__resolve_size()
615 return libbpf_err(-E2BIG); in btf__resolve_size()
648 return libbpf_err(align); in btf__align_of()
688 return libbpf_err(-EINVAL); in btf__resolve_type()
708 return libbpf_err(-ENOENT); in btf__find_by_name()
730 return libbpf_err(-ENOENT); in btf__find_by_name_kind()
[all …]
Dlibbpf_errno.c43 return libbpf_err(-EINVAL); in libbpf_strerror()
66 return libbpf_err(-ENOENT); in libbpf_strerror()
Dlibbpf.c3958 return libbpf_err(err); in bpf_map__reuse_fd()
3967 return libbpf_err(-errno); in bpf_map__reuse_fd()
4005 return libbpf_err(err); in bpf_map__reuse_fd()
4024 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
4032 return libbpf_err(-EINVAL); in bpf_map__resize()
6272 return libbpf_err(-EINVAL); in bpf_program__load()
6282 return libbpf_err(err); in bpf_program__load()
6292 return libbpf_err(-LIBBPF_ERRNO__INTERNAL); in bpf_program__load()
6298 return libbpf_err(-ENOMEM); in bpf_program__load()
6357 return libbpf_err(err); in bpf_program__load()
[all …]
Dbpf.c229 return libbpf_err(-EINVAL); in libbpf__bpf_prog_load()
232 return libbpf_err(-EINVAL); in libbpf__bpf_prog_load()
341 return libbpf_err(-EINVAL); in bpf_load_program_xattr()
543 return libbpf_err(-EINVAL); in bpf_map_batch_common()
635 return libbpf_err(-EINVAL); in bpf_prog_attach_xattr()
684 return libbpf_err(-EINVAL); in bpf_link_create()
692 return libbpf_err(-EINVAL); in bpf_link_create()
694 return libbpf_err(-EINVAL); in bpf_link_create()
716 return libbpf_err(-EINVAL); in bpf_link_create()
720 return libbpf_err(-EINVAL); in bpf_link_create()
[all …]
Dbtf_dump.c277 return libbpf_err(-EINVAL); in btf_dump__dump_type()
281 return libbpf_err(err); in btf_dump__dump_type()
286 return libbpf_err(err); in btf_dump__dump_type()
1180 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1184 return libbpf_err(err); in btf_dump__emit_type_decl()
2388 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2392 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2413 return libbpf_err(ret); in btf_dump__dump_type_data()
Dlinker.c448 return libbpf_err(-EINVAL); in bpf_linker__add_file()
451 return libbpf_err(-EINVAL); in bpf_linker__add_file()
471 return libbpf_err(err); in bpf_linker__add_file()
2561 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2565 return libbpf_err(err); in bpf_linker__finalize()
2597 return libbpf_err(err); in bpf_linker__finalize()
2604 return libbpf_err(err); in bpf_linker__finalize()
Dlibbpf_internal.h393 static inline int libbpf_err(int ret) in libbpf_err() function