Home
last modified time | relevance | path

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

/Linux-v5.15/tools/lib/bpf/
Dnetlink.c226 return libbpf_err(-EINVAL); in bpf_set_link_xdp_fd_opts()
234 return libbpf_err(ret); in bpf_set_link_xdp_fd_opts()
242 return libbpf_err(ret); in bpf_set_link_xdp_fd()
320 return libbpf_err(-EINVAL); in bpf_get_link_xdp_info()
326 return libbpf_err(-EINVAL); in bpf_get_link_xdp_info()
340 return libbpf_err(ret); in bpf_get_link_xdp_info()
368 return libbpf_err(ret); in bpf_get_link_xdp_id()
461 return libbpf_err(-EINVAL); in bpf_tc_hook_create()
464 return libbpf_err(ret); in bpf_tc_hook_create()
475 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
[all …]
Dbtf.c513 return libbpf_err(-EINVAL); in btf__set_pointer_size()
540 return libbpf_err(-EINVAL); in btf__set_endianness()
594 return libbpf_err(-E2BIG); in btf__resolve_size()
599 return libbpf_err(-EINVAL); in btf__resolve_size()
607 return libbpf_err(-EINVAL); in btf__resolve_size()
609 return libbpf_err(-E2BIG); in btf__resolve_size()
642 return libbpf_err(align); in btf__align_of()
669 return libbpf_err(-EINVAL); in btf__resolve_type()
689 return libbpf_err(-ENOENT); in btf__find_by_name()
711 return libbpf_err(-ENOENT); in btf__find_by_name_kind()
[all …]
Dringbuf.c72 return libbpf_err(err); in ring_buffer__add()
78 return libbpf_err(-EINVAL); in ring_buffer__add()
83 return libbpf_err(-ENOMEM); in ring_buffer__add()
88 return libbpf_err(-ENOMEM); in ring_buffer__add()
106 return libbpf_err(err); in ring_buffer__add()
121 return libbpf_err(err); in ring_buffer__add()
136 return libbpf_err(err); in ring_buffer__add()
263 return libbpf_err(err); in ring_buffer__consume()
282 return libbpf_err(-errno); in ring_buffer__poll()
290 return libbpf_err(err); in ring_buffer__poll()
Dlibbpf.c3947 return libbpf_err(err); in bpf_map__reuse_fd()
3951 return libbpf_err(-errno); in bpf_map__reuse_fd()
3989 return libbpf_err(err); in bpf_map__reuse_fd()
4008 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
4016 return libbpf_err(-EINVAL); in bpf_map__resize()
6248 return libbpf_err(-EINVAL); in bpf_program__load()
6258 return libbpf_err(err); in bpf_program__load()
6268 return libbpf_err(-LIBBPF_ERRNO__INTERNAL); in bpf_program__load()
6274 return libbpf_err(-ENOMEM); in bpf_program__load()
6333 return libbpf_err(err); in bpf_program__load()
[all …]
Dlibbpf_errno.c43 return libbpf_err(-EINVAL); in libbpf_strerror()
66 return libbpf_err(-ENOENT); in libbpf_strerror()
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()
541 return libbpf_err(-EINVAL); in bpf_map_batch_common()
633 return libbpf_err(-EINVAL); in bpf_prog_attach_xattr()
682 return libbpf_err(-EINVAL); in bpf_link_create()
690 return libbpf_err(-EINVAL); in bpf_link_create()
692 return libbpf_err(-EINVAL); in bpf_link_create()
714 return libbpf_err(-EINVAL); in bpf_link_create()
718 return libbpf_err(-EINVAL); in bpf_link_create()
[all …]
Dbtf_dump.c266 return libbpf_err(-EINVAL); in btf_dump__dump_type()
270 return libbpf_err(err); in btf_dump__dump_type()
275 return libbpf_err(err); in btf_dump__dump_type()
1106 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1110 return libbpf_err(err); in btf_dump__emit_type_decl()
2279 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2283 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2304 return libbpf_err(ret); in btf_dump__dump_type_data()
Dlinker.c447 return libbpf_err(-EINVAL); in bpf_linker__add_file()
450 return libbpf_err(-EINVAL); in bpf_linker__add_file()
470 return libbpf_err(err); in bpf_linker__add_file()
2557 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2561 return libbpf_err(err); in bpf_linker__finalize()
2593 return libbpf_err(err); in bpf_linker__finalize()
2600 return libbpf_err(err); in bpf_linker__finalize()
Dlibbpf_internal.h393 static inline int libbpf_err(int ret) in libbpf_err() function