Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dnetlink.c327 return libbpf_err(-EINVAL); in bpf_xdp_attach()
336 return libbpf_err(err); in bpf_xdp_attach()
447 return libbpf_err(-EINVAL); in bpf_xdp_query()
450 return libbpf_err(-EINVAL); in bpf_xdp_query()
455 return libbpf_err(-EINVAL); in bpf_xdp_query()
463 return libbpf_err(err); in bpf_xdp_query()
480 return libbpf_err(err); in bpf_xdp_query()
492 return libbpf_err(err); in bpf_xdp_query()
497 return libbpf_err(err); in bpf_xdp_query()
513 return libbpf_err(ret); in bpf_xdp_query_id()
[all …]
Dbtf.c555 return libbpf_err(-EINVAL); in btf__set_pointer_size()
582 return libbpf_err(-EINVAL); in btf__set_endianness()
639 return libbpf_err(-E2BIG); in btf__resolve_size()
644 return libbpf_err(-EINVAL); in btf__resolve_size()
652 return libbpf_err(-EINVAL); in btf__resolve_size()
654 return libbpf_err(-E2BIG); in btf__resolve_size()
689 return libbpf_err(align); in btf__align_of()
729 return libbpf_err(-EINVAL); in btf__resolve_type()
749 return libbpf_err(-ENOENT); in btf__find_by_name()
771 return libbpf_err(-ENOENT); in btf_find_by_name_kind()
[all …]
Dbpf.c138 return libbpf_err(-EBUSY); in libbpf_set_memlock_rlim()
181 return libbpf_err(-EINVAL); in bpf_map_create()
247 return libbpf_err(-EINVAL); in bpf_prog_load()
251 return libbpf_err(-EINVAL); in bpf_prog_load()
270 return libbpf_err(-E2BIG); in bpf_prog_load()
279 return libbpf_err(-EINVAL); in bpf_prog_load()
292 return libbpf_err(-EINVAL); in bpf_prog_load()
526 return libbpf_err(-EINVAL); in bpf_map_batch_common()
582 return libbpf_err(-EINVAL); in bpf_obj_pin_opts()
611 return libbpf_err(-EINVAL); in bpf_obj_get_opts()
[all …]
Dlibbpf_errno.c45 return libbpf_err(-EINVAL); in libbpf_strerror()
66 return libbpf_err(-ERANGE); in libbpf_strerror()
73 return libbpf_err(-ERANGE); in libbpf_strerror()
74 return libbpf_err(-ENOENT); in libbpf_strerror()
Dringbuf.c91 return libbpf_err(err); in ring_buffer__add()
97 return libbpf_err(-EINVAL); in ring_buffer__add()
102 return libbpf_err(-ENOMEM); in ring_buffer__add()
107 return libbpf_err(-ENOMEM); in ring_buffer__add()
124 return libbpf_err(err); in ring_buffer__add()
135 return libbpf_err(-E2BIG); in ring_buffer__add()
143 return libbpf_err(err); in ring_buffer__add()
158 return libbpf_err(err); in ring_buffer__add()
285 return libbpf_err(err); in ring_buffer__consume()
304 return libbpf_err(-errno); in ring_buffer__poll()
[all …]
Dlibbpf_probes.c215 return libbpf_err(-EINVAL); in libbpf_probe_bpf_prog_type()
218 return libbpf_err(ret); in libbpf_probe_bpf_prog_type()
397 return libbpf_err(-EINVAL); in libbpf_probe_bpf_map_type()
400 return libbpf_err(ret); in libbpf_probe_bpf_map_type()
415 return libbpf_err(-EINVAL); in libbpf_probe_bpf_helper()
433 return libbpf_err(ret); in libbpf_probe_bpf_helper()
Dlibbpf.c4408 return libbpf_err(-EBUSY); in bpf_map__set_autocreate()
4426 return libbpf_err(err); in bpf_map__reuse_fd()
4435 return libbpf_err(-errno); in bpf_map__reuse_fd()
4473 return libbpf_err(err); in bpf_map__reuse_fd()
4492 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
7492 return libbpf_err(-EINVAL); in bpf_object_unload()
7920 return libbpf_err(-EINVAL); in bpf_object_load()
7924 return libbpf_err(-EINVAL); in bpf_object_load()
7981 return libbpf_err(err); in bpf_object_load()
8048 return libbpf_err(-EINVAL); in bpf_program__pin()
[all …]
Dbtf_dump.c282 return libbpf_err(-EINVAL); in btf_dump__dump_type()
286 return libbpf_err(err); in btf_dump__dump_type()
291 return libbpf_err(err); in btf_dump__dump_type()
1273 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1277 return libbpf_err(err); in btf_dump__emit_type_decl()
2516 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2520 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2541 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()
2562 return libbpf_err(-EINVAL); in bpf_linker__finalize()
2566 return libbpf_err(err); in bpf_linker__finalize()
2598 return libbpf_err(err); in bpf_linker__finalize()
2605 return libbpf_err(err); in bpf_linker__finalize()
Dlibbpf_internal.h491 static inline int libbpf_err(int ret) in libbpf_err() function