Home
last modified time | relevance | path

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

/Linux-v6.1/tools/lib/bpf/
Dnetlink.c282 return libbpf_err(-EINVAL); in bpf_xdp_attach()
291 return libbpf_err(err); in bpf_xdp_attach()
372 return libbpf_err(-EINVAL); in bpf_xdp_query()
375 return libbpf_err(-EINVAL); in bpf_xdp_query()
380 return libbpf_err(-EINVAL); in bpf_xdp_query()
388 return libbpf_err(err); in bpf_xdp_query()
406 return libbpf_err(ret); in bpf_xdp_query_id()
515 return libbpf_err(-EINVAL); in bpf_tc_hook_create()
518 return libbpf_err(ret); in bpf_tc_hook_create()
529 return libbpf_err(-EINVAL); in bpf_tc_hook_destroy()
[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()
716 return libbpf_err(-EINVAL); in btf__resolve_type()
736 return libbpf_err(-ENOENT); in btf__find_by_name()
758 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()
294 return libbpf_err(-EINVAL); in bpf_prog_load()
296 return libbpf_err(-EINVAL); in bpf_prog_load()
527 return libbpf_err(-EINVAL); in bpf_map_batch_common()
[all …]
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.c129 return libbpf_err(-EINVAL); in libbpf_probe_bpf_prog_type()
132 return libbpf_err(ret); in libbpf_probe_bpf_prog_type()
310 return libbpf_err(-EINVAL); in libbpf_probe_bpf_map_type()
313 return libbpf_err(ret); in libbpf_probe_bpf_map_type()
328 return libbpf_err(-EINVAL); in libbpf_probe_bpf_helper()
346 return libbpf_err(ret); in libbpf_probe_bpf_helper()
Dlibbpf.c2927 return libbpf_err(err); in btf_finalize_data()
4300 return libbpf_err(-EBUSY); in bpf_map__set_autocreate()
4318 return libbpf_err(err); in bpf_map__reuse_fd()
4327 return libbpf_err(-errno); in bpf_map__reuse_fd()
4366 return libbpf_err(err); in bpf_map__reuse_fd()
4385 return libbpf_err(-EBUSY); in bpf_map__set_max_entries()
7270 return libbpf_err(-EINVAL); in bpf_object_unload()
7656 return libbpf_err(-EINVAL); in bpf_object_load()
7660 return libbpf_err(-EINVAL); in bpf_object_load()
7716 return libbpf_err(err); in bpf_object_load()
[all …]
Dlibbpf_errno.c43 return libbpf_err(-EINVAL); in libbpf_strerror()
66 return libbpf_err(-ENOENT); in libbpf_strerror()
Dbtf_dump.c270 return libbpf_err(-EINVAL); in btf_dump__dump_type()
274 return libbpf_err(err); in btf_dump__dump_type()
279 return libbpf_err(err); in btf_dump__dump_type()
1161 return libbpf_err(-EINVAL); in btf_dump__emit_type_decl()
1165 return libbpf_err(err); in btf_dump__emit_type_decl()
2377 return libbpf_err(-EINVAL); in btf_dump__dump_type_data()
2381 return libbpf_err(-ENOENT); in btf_dump__dump_type_data()
2402 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.h488 static inline int libbpf_err(int ret) in libbpf_err() function